Jump to content

Module:Geological time/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Usage: +more entry points
m Usage: typo
Line 15: Line 15:
<code><nowiki>{{</nowiki>#invoke:Geological time|seeAlso|Category:Jurassic animals<nowiki>}}</nowiki></code> → {{#invoke:Geological time|seeAlso|Category:Jurassic animals}}
<code><nowiki>{{</nowiki>#invoke:Geological time|seeAlso|Category:Jurassic animals<nowiki>}}</nowiki></code> → {{#invoke:Geological time|seeAlso|Category:Jurassic animals}}


Two specialize entry points for finding time spans before and after the argument:
Two specialized entry points for finding time spans before and after the argument:


<code><nowiki>{{</nowiki>#invoke:Geological time|before|Jurassic<nowiki>}}</nowiki></code> → {{#invoke:Geological time|before|Jurassic}}
<code><nowiki>{{</nowiki>#invoke:Geological time|before|Jurassic<nowiki>}}</nowiki></code> → {{#invoke:Geological time|before|Jurassic}}

Revision as of 10:15, 11 June 2024


Automatically produce see also hatnote for geological categories that links to categories for adjacent time spans.

For test cases, see {{Geological category see also/testcases}}

Usage

{{#invoke:Geological time|seeAlso}} is the standard usage.

{{#invoke:Geological time|seeAlso|article_title}} performs a test for any article title. For example:

{{#invoke:Geological time|seeAlso|Category:Jurassic animals}}

Two specialized entry points for finding time spans before and after the argument:

{{#invoke:Geological time|before|Jurassic}} → Triassic

{{#invoke:Geological time|after|Triassic}} → Jurassic