Template:Start date: Difference between revisions
Jump to navigation
Jump to search
imported>TheDJ m (use a comma in american style dates) |
imported>Edene (all parameters are optional now; adds time) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{df}}}|yes|[[{{{3}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{{3}}}]],}} [[{{{1}}}]]<span style="display:none"> (<span class="dtstart">{{{1}}} | <onlyinclude>{{#if: {{{4|}}} | ||
|{{#if: {{{5|}}} | |||
|{{Pad2digit|{{{4}}}}}:{{Pad2digit|{{{5}}}}}{{#if: {{{6|}}} | |||
|:{{Pad2digit|{{{6}}}}} }}, }} }}<!--ABOVE FOR TIME; BELOW FOR DATE | |||
-->{{#if: {{{1|}}} | |||
|{{#if: {{{2|}}} | |||
|{{#if: {{{3|}}} | |||
|{{#ifeq: {{{df|}}}|yes|[[{{{3}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{{3}}}]]}}|[[{{MONTHNAME|{{{2}}}}}]],}}}} [[{{{1}}}]]}}<!-- | |||
--><span style="display:none">(<span class="dtstart">{{#if: {{{1|}}} | |||
| {{{1}}}{{#if: {{{2|}}} | |||
| -{{Pad2digit|{{{2}}}}}{{#if: {{{3|}}} | |||
| -{{Pad2digit|{{{3}}}}} }} }}<!--BELOW FOR hCalendar | |||
-->{{#if: {{{4|}}} | |||
| T{{Pad2digit|{{{4}}}}}{{#if: {{{5|}}} | |||
| :{{Pad2digit|{{{5}}}}}{{#if: {{{6|}}} | |||
| :{{Pad2digit|{{{6}}}}} }} }} }} }}</span>)</span> | |||
</onlyinclude> | |||
{{Template doc}} | {{Template doc}} | ||
[[Category:Date mathematics templates|{{PAGENAME}}]] | [[Category:Date mathematics templates|{{PAGENAME}}]] | ||