Difference between revisions of "Template:Date"
From Timelines
m (Protected Template:Date: restore protection ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
(add option lnone to link years, decades, centuries & days of the week see Wikipedia talk:Manual of Style/Dates and numbers#Delinking dates) |
||
Line 11: | Line 11: | ||
}} | }} | ||
}} | }} | ||
− | |{{{{{|safesubst:}}}#switch: {{lc:{{{2|}}}}} | none | asis=none }} | + | |{{{{{|safesubst:}}}#switch: {{lc:{{{2|}}}}} | none | asis | lnone =none }} |
|{{{{{|safesubst:}}}#ifexpr: {{{{{|safesubst:}}}#time:Y|{{{1|}}} }} < 1000 | none }} | |{{{{{|safesubst:}}}#ifexpr: {{{{{|safesubst:}}}#time:Y|{{{1|}}} }} < 1000 | none }} | ||
|{{{{{|safesubst:}}}#switch: {{{{{|safesubst:}}}#time:Ynj|{{{1|}}} }}|100031|110031|130031|140031|150031=none}} | |{{{{{|safesubst:}}}#switch: {{{{{|safesubst:}}}#time:Ynj|{{{1|}}} }}|100031|110031|130031|140031|150031=none}} | ||
− | |= {{{1|}}}<noinclude><!-- error or "none", so no formatting --></noinclude> | + | |= {{#if:{{{1|}}} |
+ | |{{#switch:{{{2}}} | ||
+ | |lnone|l=[[{{{1}}}]] | ||
+ | |{{{1}}} | ||
+ | }} | ||
+ | }}<noinclude><!-- error or "none", so no formatting --></noinclude> | ||
|<noinclude><!-- continue with formatting --></noinclude> | |<noinclude><!-- continue with formatting --></noinclude> | ||
{{{{{|safesubst:}}}#ifeq:<noinclude><!-- | {{{{{|safesubst:}}}#ifeq:<noinclude><!-- |
Revision as of 22:54, 28 June 2012
18 December 2024
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |