[go: nahoru, domu]

Template:End date: Difference between revisions

Content deleted Content added
m 32
Adding "itvend" as a class, which is needed for Infobox television date validation
 
(11 intermediate revisions by 10 users not shown)
Line 1:
<onlyincludeincludeonly>{{#if: {{{4|}}}
|{{#if: {{{5|}}}
|{{padleft:{{{4}}}|2|0}}:{{padleft:{{{5}}}|2|0}}{{#if: {{{6|}}}<!--
-->|&#58;{{padleft:{{{6}}}|2|0}} }},&#32;}} }}<!--ABOVE FOR TIME; BELOW FOR DATE
-->{{#if: {{{1|}}}
|{{#if: {{{2|}}}
|{{#if: {{{3|}}}
|{{#ifeqif: {{{df|}}}|yes|[[{{#expr:{{{3}}}}} &nbsp;{{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} &nbsp;{{#expr:{{{3}}}}}]],}} [[&nbsp;{{{1}}}]]|{{MONTHNAME|{{{2}}}}} &nbsp;{{{1}}}}}|{{{1}}}}}}}{{#if: {{{7|}}}
|&#32;({{#ifeq: {{{7}}}|Z|UTC|{{{7}}}}})}}<!-- BELOW FOR hCalendar
--><span style="display:none"> &#160;(<span class="dtend itvend">{{#if: {{{41|}}}
| {{#if: {{{1|}}}
| {{{1}}}{{#if: {{{2|}}}
| -{{padleft:{{{2}}}|2|0}}{{#if: {{{3|}}}
| -{{padleft:{{{3}}}|2|0}} }} }}<!--
-->{{#if: {{{4|}}}
| T{{padleft:{{{4}}}|2|0}}{{#if: {{{5|}}}<!--
--> | &#58;{{padleft:{{{5}}}|2|0}}{{#if: {{{6|}}}<!--
--> | &#58;{{padleft:{{{6}}}|2|0}} | &#58;00 }} }} }} }}{{{7|}}}</span>)</span></includeonly><noinclude>
|{{#time: Y-m-d|{{{1}}}-{{{2|1}}}-{{{3|1}}} +1 day}}
}}{{{7|}}}</span>)</span></onlyinclude>
{{pp-semi-template|small=yes}}
{{documentation}}
</noinclude>