வார்ப்புரு:Date
{{{{{|safesubst:}}}#switch:none
  |{{{{{|safesubst:}}}#iferror: {{{{{|safesubst:}}}#time:Y_M_d|{{{1|}}} }} | none }} &lt;noinclude&gt;&lt;!-- #time: can't handle --&gt;&lt;/noinclude&gt;
  |{{{{{|safesubst:}}}#iferror: {{{{{|safesubst:}}}#expr: {{{1|}}}+0 }}
     |&lt;noinclude&gt;&lt;!--not a pure number--&gt;&lt;/noinclude&gt;
     |{{{{{|safesubst:}}}#ifexpr: {{{1|}}}+0 &gt; 10000000000000
        |&lt;noinclude&gt;&lt;!-- a yyyymmddhhmmss timestamp --&gt;&lt;/noinclude&gt;
        |{{{{{|safesubst:}}}#ifeq: {{{{{|safesubst:}}}#expr:{{{1|}}}+0}} | {{{1|}}}
           | none &lt;noinclude&gt;&lt;!-- pure number eg 123.456 --&gt;&lt;/noinclude&gt;
           | &lt;noinclude&gt;&lt;!-- assume yy-mm-dd --&gt;&lt;/noinclude&gt;
         }}
      }}
   }}
  |{{{{{|safesubst:}}}#switch:  {{{{{|safesubst:}}}lc:{{{2|}}}}} | none | asis | link | lnone =none }}
  |{{{{{|safesubst:}}}#ifexpr:  {{{{{|safesubst:}}}#time:Y|{{{1|}}} }} &lt; 1000 | none }}
  |{{{{{|safesubst:}}}#switch:  {{{{{|safesubst:}}}#time:Ynj|{{{1|}}} }}|100031|110031|130031|140031|150031=none}}
  |= {{{{{|safesubst:}}}#if:{{{1|}}}
       |{{{{{|safesubst:}}}#switch:{{{2}}}
          |link|lnone|l=[[{{{1}}}]]
          |{{{1}}}
        }}
     }}&lt;noinclude&gt;&lt;!-- error or &quot;none&quot;, so no formatting --&gt;&lt;/noinclude&gt;
  |&lt;noinclude&gt;&lt;!-- continue with formatting --&gt;&lt;/noinclude&gt;
   {{{{{|safesubst:}}}#ifeq:&lt;noinclude&gt;&lt;!--
     --&gt;&lt;/noinclude&gt;{{{{{|safesubst:}}}#time:Y|{{{1}}} 2008}}&lt;noinclude&gt;&lt;!--
     --&gt;&lt;/noinclude&gt;{{{{{|safesubst:}}}#iferror: {{{{{|safesubst:}}}#ifexpr: {{{1}}}&gt;10000000000000 | no }} | }}&lt;noinclude&gt;&lt;!--
     --&gt;&lt;/noinclude&gt;{{{{{|safesubst:}}}#time:Y|{{{1}}} 2004}}
   |20082004
   |&lt;noinclude&gt;&lt;!-- no year --&gt;&lt;/noinclude&gt;
     {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#time:d|{{{1}}} 2036}}|{{{{{|safesubst:}}}#time:d|{{{1}}} }}
     |&lt;noinclude&gt;&lt;!-- month+day --&gt;&lt;/noinclude&gt;{{{{{|safesubst:}}}#time:
       {{{{{|safesubst:}}}#switch: {{{{{|safesubst:}}}lc: {{{{{|safesubst:}}}#ifeq:{{{3|}}}|y|L}}{{{2|}}} }}
       | lmdy | liso | lymd      = [[:F j]]
       | mdy  | iso  | ymd       = F j
       | ldmy | l                = [[:j F]]
       | #default                = j F
       }}|{{{1}}} 2000 }}&lt;noinclude&gt;&lt;!-- default='dmy' or null or &quot;&quot; or unsupported option --&gt;&lt;/noinclude&gt;
     |&lt;noinclude&gt;&lt;!-- month only --&gt;&lt;/noinclude&gt;{{{{{|safesubst:}}}#time:
       {{{{{|safesubst:}}}#switch: {{{{{|safesubst:}}}lc: {{{{{|safesubst:}}}#ifeq:{{{3|}}}|y|L}}{{{2|}}} }}
       | lmdy | liso | lymd 
       | ldmy | l                = [[F]]
       | #default                = F
       }}|{{{1}}} 2000 }}&lt;noinclude&gt;&lt;!-- default='dmy'/'mdy'/'ymd'/'iso'/null/&quot;&quot;/unsupported opt --&gt;&lt;/noinclude&gt;
     }}
   |&lt;noinclude&gt;&lt;!-- with year--&gt;&lt;/noinclude&gt;
     {{{{{|safesubst:}}}#if: {{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#time:j|2 {{{1|}}}}}|*D*|{{{{{|safesubst:}}}#iferror:{{{{{|safesubst:}}}#time:j|2000 {{{1|}}}}}|*D*| }}}}
     |&lt;noinclude&gt;&lt;!-- day+month+year --&gt;&lt;/noinclude&gt;{{{{{|safesubst:}}}#time:
       {{{{{|safesubst:}}}#switch: {{{{{|safesubst:}}}lc: {{{{{|safesubst:}}}#ifeq:{{{3|}}}|y|L}}{{{2|}}} }}
       | lmdy                    = [[:F j]], [[Y]]
       | mdy                     = F j, Y
       | liso                    = [[Y|Y-]][[F j|m-d]]&lt;noinclude&gt;&lt;!-- i.e. [[Y-m-d]] --&gt;&lt;/noinclude&gt;
       | iso                     = Y-m-d
       | lymd                    = [[Y]] [[:F j]]
       | ymd                     = Y F j
       | ldmy | l                = [[:j F]] [[Y]]
       | #default                = j F Y
       }}|{{{1|}}} }}&lt;noinclude&gt;&lt;!-- #default='dmy' or null or &quot;&quot; or unsupported option --&gt;&lt;/noinclude&gt;
     |&lt;noinclude&gt;&lt;!-- month+year --&gt;&lt;/noinclude&gt;{{{{{|safesubst:}}}#time:
       {{{{{|safesubst:}}}#switch: {{{{{|safesubst:}}}lc: {{{{{|safesubst:}}}#ifeq:{{{3|}}}|y|L}}{{{2|}}} }}
       | lmdy | liso | lymd | ldmy | l  = [[:F Y]]
       | #default                = F Y
       }}|{{{1|}}} }}&lt;noinclude&gt;&lt;!-- default='dmy'/'iso'/'mdy'/null/&quot;&quot;/unsupported option --&gt;&lt;/noinclude&gt;
     }}
   }}    
 }}&lt;noinclude&gt;
 {{documentation}}