Difference between revisions of "Template:Dates/Documentation"

From EncyclopAtys

Jump to: navigation, search
(Example)
(Example)
 
Line 44: Line 44:
  
 
<noinclude>
 
<noinclude>
[[Catégorie:Modèles]]
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:32, 4 July 2019

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