Difference between revisions of "Template:Date"

From Timelines
Jump to: navigation, search
(gotcha!)
(option for no formatting)
Line 5: Line 5:
 
  |{{#ifeq: {{{3|}}}|y
 
  |{{#ifeq: {{{3|}}}|y
 
   |{{#switch: {{{2|}}}
 
   |{{#switch: {{{2|}}}
 +
    | asis | none    = {{{1|}}}
 
     | mdy            = [[{{ #time:F j|{{{1}}} }}]], [[{{ #time:Y|{{{1}}} }}]]
 
     | mdy            = [[{{ #time:F j|{{{1}}} }}]], [[{{ #time:Y|{{{1}}} }}]]
 
     | iso | ymd      = [[{{ #time:Y|{{{1}}} }}]] [[{{ #time:F j|{{{1}}} }}|{{ #time:m-d|{{{1}}} }}]]
 
     | iso | ymd      = [[{{ #time:Y|{{{1}}} }}]] [[{{ #time:F j|{{{1}}} }}|{{ #time:m-d|{{{1}}} }}]]
Line 10: Line 11:
 
   }}
 
   }}
 
   |{{#switch: {{{2|}}}
 
   |{{#switch: {{{2|}}}
 +
    | asis | none    = {{{1|}}}
 
     | mdy            = {{ #time:F j, Y|{{{1}}} }}  
 
     | mdy            = {{ #time:F j, Y|{{{1}}} }}  
 
     | iso | ymd      = {{ #time:Y-m-d|{{{1}}} }}
 
     | iso | ymd      = {{ #time:Y-m-d|{{{1}}} }}

Revision as of 14:23, 16 November 2008

Template documentation[create]