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

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(expand doc, add cat)
imported>Tholme
(→‎Usage: lintfix)
 
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 ==
<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.
+
<code><nowiki>{{Geological category see also}}</nowiki></code> 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:

Latest revision as of 18:49, 19 December 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: