Template:Date-mf: Difference between revisions
-iso8601 substitution
No edit summary |
(-iso8601 substitution) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{test| }}}| ||{{{up-date}}}}}{{#if:{{{2|}}}|{{{2}}}|{{{1| }}}{{#ifeq:{{{BCE| }}}| ||BCE}}}}<!-- BELOW FOR hCalendar/vevent | {{#ifeq:{{{test| }}}| ||{{{up-date}}}}}{{#if:{{{2|}}}|{{{2}}}|{{{1| }}}{{#ifeq:{{{BCE| }}}| ||BCE}}}}<!-- BELOW FOR hCalendar/vevent | ||
--><span style="display:none"> (<span class="{{{class|dtstart}}} {{{class-extra|}}}"> | --><span style="display:none"> (<span class="{{{class|dtstart}}} {{{class-extra|}}}">{{#ifeq:{{{BCE| }}}| ||-}}{{Four digit|{{#expr:{{#time:Y|{{#ifeq:{{{class|dtend}}}|dtend|{{#titleparts:{{{up-date|/-m-d TH/+1 hour ,}}}|1|3}}}}{{#titleparts:{{{up-date|/-m-d TH/+1 hour ,}}}|1|1}}}}-3000 }}}}{{#time:{{#titleparts:{{{up-date|/-m-d TH/+1 hour ,}}}|1|2}}|{{#ifeq:{{{class|dtend}}}|dtend|{{#titleparts:{{{up-date|/-m-d TH/+1 hour ,}}}|1|3}}}}{{#titleparts:{{{up-date|/-m-d TH}}}|1|1}}}}Z</span>)</span><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Templates generating hCalendars]]</noinclude> | [[Category:Templates generating hCalendars]]</noinclude> |