Difference between revisions of "Template:Date"
From Timelines
(Defaults to not wikilinked. Needs to give the parameter 2 as y to get it wikilinked. Per MOS dates should not be wikilinked in most cases) |
(Change the order, Wikilinked will normaly not be used so it should be the last parameter) |
||
Line 4: | Line 4: | ||
|{{ #ifeq:{{#time:U|{{{1}}} }}|0 | |{{ #ifeq:{{#time:U|{{{1}}} }}|0 | ||
|{{{1|}}} | |{{{1|}}} | ||
− | |{{ #ifeq:{{{ | + | |{{ #ifeq:{{{3| }}}|y |
− | |{{#switch: {{{ | + | |{{#switch: {{{2| }}} |
| mdy = [[{{ #time:F j|{{{1}}} }}]], [[{{ #time:Y|{{{1}}} }}]] | | mdy = [[{{ #time:F j|{{{1}}} }}]], [[{{ #time:Y|{{{1}}} }}]] | ||
| dmy = [[{{ #time:j F|{{{1}}} }}]] [[{{ #time:Y|{{{1}}} }}]] | | dmy = [[{{ #time:j F|{{{1}}} }}]] [[{{ #time:Y|{{{1}}} }}]] | ||
Line 12: | Line 12: | ||
| [[{{ #time:j F|{{{1}}} }}]] [[{{ #time:Y|{{{1}}} }}]] | | [[{{ #time:j F|{{{1}}} }}]] [[{{ #time:Y|{{{1}}} }}]] | ||
}} | }} | ||
− | |{{#switch: {{{ | + | |{{#switch: {{{2| }}} |
| mdy = {{ #time:F j, Y|{{{1}}} }} | | mdy = {{ #time:F j, Y|{{{1}}} }} | ||
| dmy = {{ #time:j F Y|{{{1}}} }} | | dmy = {{ #time:j F Y|{{{1}}} }} |
Revision as of 01:30, 11 November 2008
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. |