Template:Date: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Nsaa m moved Template:ISOtoMOS to Template:DATEtoMOS: Not only ISO dates |
meta>Nsaa 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 |
||
| Line 4: | Line 4: | ||
|{{ #ifeq:{{#time:U|{{{1}}} }}|0 | |{{ #ifeq:{{#time:U|{{{1}}} }}|0 | ||
|{{{1|}}} | |{{{1|}}} | ||
|{{ #ifeq:{{{2| }}}| | |{{ #ifeq:{{{2| }}}|y | ||
|{{#switch: {{{3| }}} | |||
| mdy = [[{{ #time:F j|{{{1}}} }}]], [[{{ #time:Y|{{{1}}} }}]] | |||
| dmy = [[{{ #time:j F|{{{1}}} }}]] [[{{ #time:Y|{{{1}}} }}]] | |||
| iso = [[{{ #time:Y|{{{1}}} }}]] [[{{ #time:F j|{{{1}}} }}|{{ #time:m-d|{{{1}}} }}]] | |||
| ymd = [[{{ #time:Y|{{{1}}} }}]] [[{{ #time:F j|{{{1}}} }}|{{ #time:m-d|{{{1}}} }}]] | |||
| [[{{ #time:j F|{{{1}}} }}]] [[{{ #time:Y|{{{1}}} }}]] | |||
}} | |||
|{{#switch: {{{3| }}} | |{{#switch: {{{3| }}} | ||
| mdy = {{ #time:F j, Y|{{{1}}} }} | | mdy = {{ #time:F j, Y|{{{1}}} }} | ||
| Line 11: | Line 18: | ||
| ymd = {{ #time:Y-m-d|{{{1}}} }} | | ymd = {{ #time:Y-m-d|{{{1}}} }} | ||
| {{ #time:j F Y|{{{1}}} }} | | {{ #time:j F Y|{{{1}}} }} | ||
}} | }} | ||
}} | }} | ||