Difference between revisions of "Template:Dates/Documentation"

From EncyclopAtys

Jump to: navigation, search
m (Usage)
(Example)
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:

Revision as of 16:31, 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




Catégorie:Modèles