Difference between revisions of "Template:End-date"

From FamilyTree
Jump to navigation Jump to search
(Created page with "{{#iferror:<span style="display:none">{{#time: Y|{{{1|0009-11}}}}}</span>|Not recognized as a date. Years must have 4 digits (use leading zeros for years &...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#iferror:&lt;span style=&quot;display:none&quot;&gt;{{#time: Y|{{{1|0009-11}}}}}&lt;/span&gt;|Not recognized as a date.  Years must have 4 digits (use leading zeros for years &lt; 1000).|{{#iferror:{{Date-mf|{{#ifeq:{{{1| }}}| |{{{ISO8601|{{{dt|}}}}}}|{{{1|}}}}}|{{{2|{{{display|}}}}}}|timezone={{{timezone|{{{tz|}}}}}}
+
{{#iferror:<span style="display:none">{{#time: Y|{{{1|0009-11}}}}}</span>|Not recognized as a date.  Years must have 4 digits (use leading zeros for years < 1000).|{{#iferror:{{Date-mf|{{#ifeq:{{{1| }}}| |{{{ISO8601|{{{dt|}}}}}}|{{{1|}}}}}|{{{2|{{{display|}}}}}}|timezone={{{timezone|{{{tz|}}}}}}
   |up-date={{#ifeq:&quot;{{lc:{{{1|0009-11}}}}}&quot;|&quot;{{Four digit|{{#expr:{{{1|0009-11}}}}}}}&quot;|&lt;!--Here if Test1 satisfied: see talk --&gt;{{#time:Y|{{#expr:{{{1|0009-11}}}+3000}}}}//{{#if:{{{BCE|{{{BC|}}}}}}|-1 year, |+1 year, }}|{{#iferror:{{#ifexpr:((abs({{{1|0009-11}}}))&lt; 1900) and  ({{#time:Y|{{{1|0009-11}}}}} &gt;1900)  | {{#ifexpr:({{#time:Y|{{{1|0009-11}}}}}) &lt;2000|{{#expr:{{#time:Y|{{{1|0009-11}}}}}+1100}}|{{#expr:{{#time:Y|{{{1|0009-11}}}}}+1000}} }} |{{#expr:{{#time:Y|{{{1|0009-11}}}}}+3000}}}}|{{#expr:{{#time:Y|{{{1|0009-11}}}}}+3000}}}}&lt;!--done with year --&gt;{{#ifeq:{{#time:d H:i:s|{{{1|0009-11}}} }}|{{#iferror:{{#ifexpr:{{{1|0009-11}}}|{{#time:d}}}}|01}} 00:00:00|{{#time:-m|{{{1|0009-11}}}}}/-m/+1 month, |{{#ifeq:{{#time:H:i:s|{{{1|0009-11}}}}}|00:00:00|{{#time:-m-d|{{{1|0009-11}}}}}/-m-d/+1 day, |{{#ifeq:{{#time:i:s|{{{1|0009-11}}}}}|00:00|{{#time:-m-d H:00|{{{1|0009-11}}}}}/-m-dTH/+1 hour, |{{#ifeq:{{#time:s|{{{1|0009-11}}}}}|00|{{#time:-m-d H:i|{{{1|0009-11}}}}}/-m-dTH:i/+1 minute, |{{#time:-m-d H:i:s|{{{1|0009-11}}}}}/-m-dTH:i:s/+1 second, }}}}}}}}}}
+
   |up-date={{#ifeq:"{{lc:{{{1|0009-11}}}}}"|"{{Four digit|{{#expr:{{{1|0009-11}}}}}}}"|<!--Here if Test1 satisfied: see talk -->{{#time:Y|{{#expr:{{{1|0009-11}}} 3000}}}}//{{#if:{{{BCE|{{{BC|}}}}}}|-1 year, | 1 year, }}|{{#iferror:{{#ifexpr:((abs({{{1|0009-11}}}))< 1900) and  ({{#time:Y|{{{1|0009-11}}}}} >1900)  | {{#ifexpr:({{#time:Y|{{{1|0009-11}}}}}) <2000|{{#expr:{{#time:Y|{{{1|0009-11}}}}} 1100}}|{{#expr:{{#time:Y|{{{1|0009-11}}}}} 1000}} }} |{{#expr:{{#time:Y|{{{1|0009-11}}}}} 3000}}}}|{{#expr:{{#time:Y|{{{1|0009-11}}}}} 3000}}}}<!--done with year -->{{#ifeq:{{#time:d H:i:s|{{{1|0009-11}}} }}|{{#iferror:{{#ifexpr:{{{1|0009-11}}}|{{#time:d}}}}|01}} 00:00:00|{{#time:-m|{{{1|0009-11}}}}}/-m/ 1 month, |{{#ifeq:{{#time:H:i:s|{{{1|0009-11}}}}}|00:00:00|{{#time:-m-d|{{{1|0009-11}}}}}/-m-d/ 1 day, |{{#ifeq:{{#time:i:s|{{{1|0009-11}}}}}|00:00|{{#time:-m-d H:00|{{{1|0009-11}}}}}/-m-dTH/ 1 hour, |{{#ifeq:{{#time:s|{{{1|0009-11}}}}}|00|{{#time:-m-d H:i|{{{1|0009-11}}}}}/-m-dTH:i/ 1 minute, |{{#time:-m-d H:i:s|{{{1|0009-11}}}}}/-m-dTH:i:s/ 1 second, }}}}}}}}}}
 
   |BCE={{{BCE|{{{BC|}}}}}}
 
   |BCE={{{BCE|{{{BC|}}}}}}
 
   |ISO8601={{{ISO8601|{{{dt|}}}}}}
 
   |ISO8601={{{ISO8601|{{{dt|}}}}}}
   |class-extra={{{class-extra|}}}&lt;!-- random extra classes to add eg:bday updated --&gt;
+
   |class-extra={{{class-extra|}}}<!-- random extra classes to add eg:bday updated -->
 
   |class=dtend
 
   |class=dtend
 
   |test={{{test|}}}
 
   |test={{{test|}}}
}}|Did not recognize date.  Try slightly modifying the date in the first parameter.}}}}&lt;noinclude&gt;
+
}}|Did not recognize date.  Try slightly modifying the date in the first parameter.}}}}<noinclude>
 
{{documentation|Template:Start-date/doc}}  
 
{{documentation|Template:Start-date/doc}}  
&lt;/noinclude&gt;
+
</noinclude>

Latest revision as of 16:04, 10 October 2010

Did not recognize date. Try slightly modifying the date in the first parameter.

[create] 50px Template documentation