Template:Start date: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Undid revision 1276612074 by Theknightwho (talk) can't fix what can't be seen. Any page on the list was already not working correctly, the fix is to fix the actual usage) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{4|}}} | <includeonly>{{#ifeq: {{#invoke:String2|isInteger|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|empty=yes}} | false | {{error|not a number value}} [[Category:Pages using start date with invalid values]] | {{#if: {{{4|}}} | ||
|{{#if: {{{5|}}} | |{{#if: {{{5|}}} | ||
|{{padleft:{{{4}}}|2|0}}:{{padleft:{{{5}}}|2|0}}{{#if: {{{6|}}} | |{{padleft:{{{4}}}|2|0}}:{{padleft:{{{5}}}|2|0}}{{#if: {{{6|}}} | ||
Line 6: | Line 6: | ||
|{{#if: {{{2|}}} | |{{#if: {{{2|}}} | ||
|{{#if: {{{3|}}} | |{{#if: {{{3|}}} | ||
|{{#if: {{{df|}}}|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},}} {{{1}}}|{{MONTHNAME|{{{2}}}}} {{{1}}}}}|{{{1}}}}}}}{{#if: {{{7|}}} | |{{#if: {{{df|}}}|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},}} {{{1}}}|{{MONTHNAME|{{{2}}}}} {{{1}}}}}|{{{1}}}}}}}{{#if: {{{7|}}} | ||
| ({{#ifeq: {{{7}}}|Z|UTC|{{{7}}}}})}}<!-- BELOW FOR hCalendar | | ({{#ifeq: {{{7}}}|Z|UTC|{{{7}}}}})}}<!-- BELOW FOR hCalendar | ||
--><span style="display:none"> (<span class="bday dtstart published updated">{{#if: {{{1|}}} | --><span style="display:none"> (<span class="bday dtstart published updated itvstart">{{#if: {{{1|}}} | ||
| {{{1}}}{{#if: {{{2|}}} | | {{{1}}}{{#if: {{{2|}}} | ||
| -{{padleft:{{{2}}}|2|0}}{{#if: {{{3|}}} | | -{{padleft:{{{2}}}|2|0}}{{#if: {{{3|}}} | ||
Line 15: | Line 15: | ||
| T{{padleft:{{{4}}}|2|0}}{{#if: {{{5|}}} | | T{{padleft:{{{4}}}|2|0}}{{#if: {{{5|}}} | ||
| :{{padleft:{{{5}}}|2|0}}{{#if: {{{6|}}} | | :{{padleft:{{{5}}}|2|0}}{{#if: {{{6|}}} | ||
| :{{padleft:{{{6}}}|2|0}} }} }} }} }}{{{7|}}}</span>)</span></includeonly><noinclude> | | :{{padleft:{{{6}}}|2|0}} }} }} }} }}{{{7|}}}</span>)</span>}}<!-- Tracking categories | ||
-->{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using start date with unknown parameters|_VALUE_]]|preview=Page using [[Template:Start date]] with unknown parameter "_VALUE_"|showblankpositional=1| 1 | 2 | 3 | 4 | 5 | 6 | 7 | df }}</includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |