Difference between revisions of "Template:Date"

From Timelines
Jump to: navigation, search
(add option lnone to link years, decades, centuries & days of the week see Wikipedia talk:Manual of Style/Dates and numbers#Delinking dates)
({{{|safesubst:}}})
Line 14: Line 14:
 
  |{{{{{|safesubst:}}}#ifexpr:  {{{{{|safesubst:}}}#time:Y|{{{1|}}} }} < 1000 | none }}
 
  |{{{{{|safesubst:}}}#ifexpr:  {{{{{|safesubst:}}}#time:Y|{{{1|}}} }} < 1000 | none }}
 
  |{{{{{|safesubst:}}}#switch:  {{{{{|safesubst:}}}#time:Ynj|{{{1|}}} }}|100031|110031|130031|140031|150031=none}}
 
  |{{{{{|safesubst:}}}#switch:  {{{{{|safesubst:}}}#time:Ynj|{{{1|}}} }}|100031|110031|130031|140031|150031=none}}
  |= {{#if:{{{1|}}}
+
  |= {{{{{|safesubst:}}}#if:{{{1|}}}
       |{{#switch:{{{2}}}
+
       |{{{{{|safesubst:}}}#switch:{{{2}}}
 
         |lnone|l=[[{{{1}}}]]
 
         |lnone|l=[[{{{1}}}]]
 
         |{{{1}}}
 
         |{{{1}}}

Revision as of 23:06, 28 June 2012

18 December 2024

Template documentation[create]