Difference between revisions of "Template:Date/doc"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:


<pre>[[Infosphere:Anniversaries/1 January|January 1]]</pre>
<pre>[[Infosphere:Anniversaries/1 January|January 1]]</pre>
; Piped link
Example 1
: Input:
: <pre>{{date|1 January|text=the next day}}</pre>
: Output:
: <pre>[[Infosphere:Anniversaries/1 January|the next day]]</pre>
Example 2
: Input:
: <pre>{{date|January|1|text=the next day}}</pre>
: Output:
: <pre>[[Infosphere:Anniversaries/1 January|the next day]]</pre>


; If the page does not exist
; If the page does not exist
Line 47: Line 69:
: <pre>January 1</pre>
: <pre>January 1</pre>


=== See also ===
Piped link
 
: Input:
 
: <pre>{{date|1 January|text=the next day}}</pre>
 
: Output:


* [[Template:Cat]]
: <pre>the next day</pre>
* [[Template:Countdown to Futurama]]
* [[Template:Head]]
* [[Template:Planet Express]]
* [[Infosphere:Templates for avoiding redirects]]

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