Difference between revisions of "Template:Date/doc"
Jump to navigation
Jump to search
(→Usage) |
|||
Line 78: | Line 78: | ||
: <pre>the next day</pre> | : <pre>the next day</pre> | ||
Latest revision as of 01:00, 26 February 2014
Use
For linking to date pages.
Usage
- Example 1
Input:
{{date|1 January}}
Output:
[[Infosphere:Anniversaries/1 January|1 January]]
- Example 2
Input:
{{date|January|1}}
Output:
[[Infosphere:Anniversaries/1 January|January 1]]
- Piped link
Example 1
- Input:
{{date|1 January|text=the next day}}
- Output:
[[Infosphere:Anniversaries/1 January|the next day]]
Example 2
- Input:
{{date|January|1|text=the next day}}
- Output:
[[Infosphere:Anniversaries/1 January|the next day]]
- If the page does not exist
Example 1
- Input:
{{date|1 January}}
- Output:
1 January
Example 2
- Input:
{{date|January|1}}
- Output:
January 1
Piped link
- Input:
{{date|1 January|text=the next day}}
- Output:
the next day