Difference between revisions of "Template:Date-mf"

From FamilyTree
Jump to navigation Jump to search
 
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
--&gt;&lt;span style=&quot;display:none&quot;&gt;&amp;#160;(&lt;span class=&quot;{{{class|dtstart}}} {{{class-extra|}}}&quot;&gt;{{#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|}}}}}&lt;/span&gt;)&lt;/span&gt;&lt;noinclude&gt;
+
--><span style="display:none">&amp;#160;(<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}}
[[Category:Templates generating hCalendars]]&lt;/noinclude&gt;
+
[[Category:Templates generating hCalendars]]</noinclude>

Latest revision as of 16:04, 10 October 2010

&#160;(000-976-04-29)

[create] 50px Template documentation