Vorlage:Datum: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<includeonly>
<includeonly>
{{#ifeq:{{#pos:{{{1}}}|-}}|2|Delimited date}}
{{date|{{#explode:{{#replace:{{#replace:{{{1}}}|{{!}}|/}}|{{!}}|-}}|/|0}}|{{#explode:{{#replace:{{#replace:{{{1}}}|{{!}}|/}}|{{!}}|-}}|/|1}}|{{#explode:{{#replace:{{#replace:{{{1}}}|{{!}}|/}}|{{!}}|-}}|/|2}}|de}}
{{date|{{#explode:{{#replace:{{#replace:{{{1}}}|{{!}}|/}}|{{!}}|-}}|/|0}}|{{#explode:{{#replace:{{#replace:{{{1}}}|{{!}}|/}}|{{!}}|-}}|/|1}}|{{#explode:{{#replace:{{#replace:{{{1}}}|{{!}}|/}}|{{!}}|-}}|/|2}}|de}}
</includeonly>
</includeonly>
Zeile 6: Zeile 7:
{{Datum|2021/12/10}}
{{Datum|2021/12/10}}
{{Datum|2020-10-20}}
{{Datum|2020-10-20}}
{{#explode:{{#replace:{{#replace:2020-10-10|{{!}}|/}}|{{!}}|-}}|/|0}}|{{#explode:{{#replace:{{#replace:2020-10-10|{{!}}|/}}|{{!}}|-}}|/|1}}|{{#explode:{{#replace:{{#replace:2020-10-10|{{!}}|/}}|{{!}}|-}}|/|2}}
</noinclude>
</noinclude>