Difference between revisions of "Template:Date"
Jump to navigation
Jump to search
(Created page with "[[Infosphere:Anniversaries/{{{1}}}|{{{1}}}]]") |
|||
Line 1: | Line 1: | ||
[[Infosphere:Anniversaries/{{{1}}}|{{{1}}}]] | <includeonly>[[Infosphere:Anniversaries/{{#if:{{{2|}}}|{{{2}}} {{{1}}}|{{{1}}}}}|{{#if:{{{2|}}}|{{{1}}} {{{2}}}|{{{1}}}}}]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 19:13, 18 September 2013
Documentation for {{date}}
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