Module:Geological time/doc: Difference between revisions
Appearance
Content deleted Content added
m typo |
→Usage: +more entry points |
||
Line 14: | Line 14: | ||
<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: |
|||
<code><nowiki>{{</nowiki>#invoke:Geological time|before|Jurassic<nowiki>}}</nowiki></code> → {{#invoke:Geological time|before|Jurassic}} |
|||
<code><nowiki>{{</nowiki>#invoke:Geological time|after|Triassic<nowiki>}}</nowiki></code> → {{#invoke:Geological time|after|Triassic}} |
|||
<includeonly>{{Sandbox other|| |
<includeonly>{{Sandbox other|| |
Revision as of 10:15, 11 June 2024
![]() | This Lua module is used on approximately 3,900 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
![]() | This module depends on the following other modules: |
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 specialize entry points for finding time spans before and after the argument:
{{#invoke:Geological time|before|Jurassic}}
→ Triassic
{{#invoke:Geological time|after|Triassic}}
→ Jurassic