Difference between revisions of "Template:Date/doc"
Jump to navigation
Jump to search
(→Usage) |
|||
Line 24: | Line 24: | ||
<pre>[[Infosphere:Anniversaries/1 January|January 1]]</pre> | <pre>[[Infosphere:Anniversaries/1 January|January 1]]</pre> | ||
; If the page does not exist | |||
Example 1 | |||
: Input: | |||
: <pre>{{date|1 January}}</pre> | |||
: Output: | |||
: <pre>1 January</pre> | |||
Example 2 | |||
: Input: | |||
: <pre>{{date|January|1}}</pre> | |||
: Output: | |||
: <pre>January 1</pre> | |||
=== See also === | === See also === |
Revision as of 00:12, 30 September 2013
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]]
- If the page does not exist
Example 1
- Input:
{{date|1 January}}
- Output:
1 January
Example 2
- Input:
{{date|January|1}}
- Output:
January 1