Template:Date: Difference between revisions

From All Skies Encyclopaedia
imported>Fullstop
m (m)
imported>Fullstop
(something fell of something between yesterday and today)
Line 1: Line 1:
<includeonly>{{#ifeq:{{</includeonly><includeonly>subst:</includeonly><includeonly>void}}|{</includeonly><includeonly>{void}}|</includeonly><includeonly><span style="font-size: large; color: red">'''<nowiki>{{</nowiki>date<nowiki>}}</nowiki> must not be [[Wikipedia:Template substitution|substituted]]. Use <span style="color:green"><nowiki>{{subst:</nowiki>today<nowiki>}}</nowiki></span> instead.'''</span>}}
{{ {{#ifeq:{{<includeonly>subst:</includeonly>void}}|{{void}}|{{#ifeq:{{NAMESPACE}}|Template|void|Error:must not be substituted}}|void}}|{{lc:{{PAGENAME}}}}<includeonly><span class="wpAutoDate">{{#iferror:{{#time: Y|{{{1|einval}}} }}
<span class="wpAutoDate">{{#iferror:{{#time: Y|{{{1|einval}}} }}
|{{{1|{{ #time:j F Y| }}}}}
|{{{1|{{ #time:j F Y| }}}}}
|{{#time:{{#ifeq:{{#time:Y|{{{1|einval}}} 2000}}|{{#time:Y|{{{1|einval}}} 2001}}|j F Y|j F}}| {{{1|einval}}}}}
|{{#time:{{#ifeq:{{#time:Y|{{{1|einval}}} 2000}}|{{#time:Y|{{{1|einval}}} 2001}}|j F Y|j F}}|{{{1|einval}}} }}<!-- -->}}</span></includeonly><noinclude>
}}</span></includeonly><noinclude>
<!--
<!--
** The reformatting stuff is temporary and pending resolution of bug #4582.
** The reformatting stuff is temporary and pending resolution of bug #4582.
** It would not have been necessary at the moment either if someone didn't
** It would not have been necessary at the moment either if someone didn't
** "urgently" need to have dates (emitted by {{citation}}) reformatted.
** "urgently" need to have dates reformatted.
** A handler for wpAutoDate is in the works. PLEASE BE PATIENT.
** A handler for wpAutoDate is in the works. PLEASE BE PATIENT.
-->
-->

Revision as of 00:16, 26 January 2008

{{ void|date Template:Template doc