Template:Date-mf: Difference between revisions
(separate pp-template not needed) |
(per tper) |
||
Line 1: | Line 1: | ||
{{#dateformat:{{#ifeq:{{{test| }}}| ||{{{up-date}}}}}{{#if:{{{2|}}}|{{{2}}}|{{{1|}}}{{#ifeq:{{{BCE| }}}| ||BCE}}}} }}<!-- BELOW FOR hCalendar/vevent | {{#dateformat:{{#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|}}}">{{#ifeq:{{{ISO8601| }}}| |{{#ifeq:{{{BCE| }}}| ||-}}{{Four digit|{{#expr:{{#time:Y|{{#ifeq:{{{class|dtend}}}|dtend|{{#titleparts:{{{up-date|/-m-d/+1 hour ,}}}|1|3}}}}{{#titleparts:{{{up-date|/-m-d/+1 hour ,}}}|1|1}}}}-3000 }}}}{{#time:{{#titleparts:{{{up-date|/-m-d/+1 hour ,}}}|1|2}}|{{#ifeq:{{{class|dtend}}}|dtend|{{#titleparts:{{{up-date|/-m-d/+1 hour ,}}}|1|3}}}}{{#titleparts:{{{up-date|/-m-d}}}|1|1}}}}{{#ifeq:{{{timezone| }}}| ||Z}}|{{{ISO8601|}}}}}</span>)</span><noinclude> | --><span style="display:none"> (<span class="{{{class|dtstart}}} {{{class-extra|}}}">{{#ifeq:{{{ISO8601| }}}| |{{#ifeq:{{{BCE| }}}| ||-}}{{Four digit|{{#expr:{{#time:Y|{{#ifeq:{{{class|dtend}}}|dtend|{{#titleparts:{{{up-date|/-m-d/+1 hour ,}}}|1|3}}}}{{#titleparts:{{{up-date|/-m-d/+1 hour ,}}}|1|1}}}}-3000 }}}}{{#time:{{#titleparts:{{{up-date|/-m-d/+1 hour ,}}}|1|2}}|{{#ifeq:{{{class|dtend}}}|dtend|{{#titleparts:{{{up-date|/-m-d/+1 hour ,}}}|1|3}}}}{{#titleparts:{{{up-date|/-m-d}}}|1|1}}}}{{#ifeq:{{{timezone| }}}| ||Z}}|{{{ISO8601|}}}}}</span>)</span><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> |
Revision as of 23:19, 23 April 2019
Template documentation[create]