Difference between revisions of "Template:Date"

From Timelines
Jump to: navigation, search
(doc)
(switch)
Line 5: Line 5:
 
   |{{{1|}}}
 
   |{{{1|}}}
 
   |{{ #ifeq:{{{2| }}}|n
 
   |{{ #ifeq:{{{2| }}}|n
   |{{ #ifeq:{{{3| }}}|mdy
+
   |{{#switch: {{{3| }}}
    |{{ #time:F j, Y|{{{1}}} }}  
+
      | mdy = {{ #time:F j, Y|{{{1}}} }}  
    |{{ #time:j F Y|{{{1}}} }} }}
+
      | dmy = {{ #time:j F Y|{{{1}}} }}
   |{{ #ifeq:{{{3| }}}|mdy
+
      | {{{1}}}
    |[[{{ #time:F j|{{{1}}} }}]], [[{{ #time:Y|{{{1}}} }}]]
+
    }}
    |[[{{ #time:j F|{{{1}}} }}]] [[{{ #time:Y|{{{1}}} }}]]}} }} }} }}<span style="display:none">(<span class="bday">{{{1}}}</span>)</span>
+
   |{{#switch: {{{3| }}}
 +
      | mdy = [[{{ #time:F j|{{{1}}} }}]], [[{{ #time:Y|{{{1}}} }}]]
 +
      | dmy = {{ #time:j F Y|{{{1}}} }}
 +
      | [[{{ #time:j F|{{{1}}} }}]] [[{{ #time:Y|{{{1}}} }}]]
 +
    }}
 +
  }}  
 +
  }}  
 +
  }}<span style="display:none">(<span class="bday">{{{1}}}</span>)</span>
 
|{{{1}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
 
|{{{1}}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 09:58, 10 November 2008

Template documentation[create]