Difference between revisions of "Template:Date"

From Timelines
Jump to: navigation, search
(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:{{{2| }}}|y
+
   |{{ #ifeq:{{{3| }}}|y
     |{{#switch: {{{3| }}}
+
     |{{#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: {{{3| }}}
+
     |{{#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]