Difference between revisions of "Template:Date"

From Timelines
Jump to: navigation, search
(how bizzarre)
(restore rest of corruption check)
Line 2: Line 2:
  
 
< -- TEST IF DATE IS CORRUPT OR A FRAGMENT -- >
 
< -- TEST IF DATE IS CORRUPT OR A FRAGMENT -- >
-->{{#ifeq:{{#time:Y_M_d|{{{1|}}} 2037}}|{{#time:Y_M_d|{{{1|}}} }}
+
-->{{#ifeq:{{#time:Y_M_d|{{{1|}}} 2037}} | {{#iferror: {{#time:Y_M_d|{{{1|}}} }} | *ERROR* }}
 
  |{{#ifeq: {{{3|}}}|y
 
  |{{#ifeq: {{{3|}}}|y
 
   |{{#switch: {{{2|}}}
 
   |{{#switch: {{{2|}}}
Line 15: Line 15:
 
   }}
 
   }}
 
   }}   
 
   }}   
  |{{{1|}}}foo
+
  |{{{1|}}}
 
}}</onlyinclude>
 
}}</onlyinclude>
 
{{documentation}}
 
{{documentation}}

Revision as of 09:46, 12 November 2008

Template documentation[create]