Vorlage:Datum: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<includeonly>
<includeonly>
<span class="date">
<span class="date">{{#ifeq:{{#len:{{{1}}}}}|4|{{date|{{{1}}}}}|{{#ifeq:{{#pos:{{{1}}}|-}}|4|{{date|{{#explode:{{#replace:{{{1}}}|{{!}}|-}}|-|0}}|{{#explode:{{#replace:{{{1}}}|{{!}}|-}}|-|1}}|{{#sub:{{#explode:{{#replace:{{{1}}}|{{!}}|-}}|-|2}}|0|2}}|de}}|{{#ifeq:{{#pos:{{{1}}}|T}}|10|&nbsp;{{time|{{#sub:{{{1}}}|11|2}}|{{#sub:{{{1}}}|14|2}}|{{#sub:{{{1}}}|17|2}}|lang=de}} Uhr|{{#ifeq:{{#pos:{{{1}}}|/}}|4|{{date|{{#explode:{{#replace:{{{1}}}|{{!}}|/}}|/|0}}|{{#explode:{{#replace:{{{1}}}|{{!}}|/}}|/|1}}|{{#explode:{{#replace:{{{1}}}|{{!}}|/}}|/|2}}|de}}|{{{1}}}}}}}}}}}</span></includeonly>
{{#ifeq:{{#len:{{{1}}}}}|4|{{date|{{{1}}}}}|{{#ifeq:{{#pos:{{{1}}}|-}}|4|{{date|{{#explode:{{#replace:{{{1}}}|{{!}}|-}}|-|0}}|{{#explode:{{#replace:{{{1}}}|{{!}}|-}}|-|1}}|{{#sub:{{#explode:{{#replace:{{{1}}}|{{!}}|-}}|-|2}}|0|2}}|de}}|{{#ifeq:{{#pos:{{{1}}}|T}}|10|&nbsp;{{time|{{#sub:{{{1}}}|11|2}}|{{#sub:{{{1}}}|14|2}}|{{#sub:{{{1}}}|17|2}}|lang=de}} Uhr|{{#ifeq:{{#pos:{{{1}}}|/}}|4|{{date|{{#explode:{{#replace:{{{1}}}|{{!}}|/}}|/|0}}|{{#explode:{{#replace:{{{1}}}|{{!}}|/}}|/|1}}|{{#explode:{{#replace:{{{1}}}|{{!}}|/}}|/|2}}|de}}|{{{1}}}}}}}}}}}
</span>
</includeonly>
<noinclude>
<noinclude>
{{Datum|2021}}
{{Datum|2021}}
Zeile 15: Zeile 12:
<td>Wertname</td>
<td>Wertname</td>
<td>{{Datum|Ungültige Daten}}</td>
<td>{{Datum|Ungültige Daten}}</td>
</table>
</table>
</noinclude>
</noinclude>