Difference between revisions of "Template:Dates/Documentation"
From EncyclopAtys
m (→Usage) |
(→Example) |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
= Example = | = Example = | ||
− | If the page name is [[2481 | + | If the page name is [[2481]] |
<nowiki>{{Dates}}</nowiki> | <nowiki>{{Dates}}</nowiki> | ||
::should result in: | ::should result in: | ||
Line 44: | Line 44: | ||
<noinclude> | <noinclude> | ||
− | [[ | + | [[Category:Templates]] |
</noinclude> | </noinclude> |
Latest revision as of 16:32, 4 July 2019
Contents
Description
The template Dates, with no parameters, is used only in pages whose name is a date, it allows you to display (normally at the beginning of the page) a chronological navigation palette.
Usage
{{Dates}}
Parameters
- "None
Example
If the page name is 2481
{{Dates}}
- should result in:
2473 | 2473 | 2474 | 2475 | 2476 | 2477 | 2478 | 2479 | 2480 | 2481 | 2482 | 2483 | 2484 | 2485 | 2486 | 2487 | 2488 | 2489 | 2490 |
If the page name is not a number we get:
Error: the pagename is not a number