Difference between revisions of "Template:Geological category see also/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(brief doc)
 
imported>Hike395
(expand doc, add cat)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==
<nowiki>{{Geological category see also}}</nowiki> will automatically generate a see also list of two categories: one for the previous time span and one for the next.
+
<tt><nowiki>{{Geological category see also}}</nowiki></tt> will automatically generate a see also list of two categories: one for the previous time span and one for the next.
  
 
For example, on [[:Category:Jurassic animals]], the template will generate:
 
For example, on [[:Category:Jurassic animals]], the template will generate:
 
{{Geological category see also|Jurassic animals}}
 
{{Geological category see also|Jurassic animals}}
 +
 +
The template auto-detects whether a category exists: if a category is missing, or there is no future or past time span, it will only list one category. e.g., on [[:Category:Quaternary genera]], the template will generate:
 +
{{Geological category see also|Quaternary genera}}
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
+
[[Category:Geological time navigation templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 08:08, 16 January 2018

Usage

{{Geological category see also}} will automatically generate a see also list of two categories: one for the previous time span and one for the next.

For example, on Category:Jurassic animals, the template will generate:


The template auto-detects whether a category exists: if a category is missing, or there is no future or past time span, it will only list one category. e.g., on Category:Quaternary genera, the template will generate: