Difference between revisions of "Template:GetDate"
From Theatrum Paracelsicum
(4 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
{{GetDate|1562- | {{GetDate|1562-07-02}} | ||
{{GetDate|1562-07}} | |||
{{GetDate|1562}} | |||
{{GetDate|15xx-07-02}} | |||
{{GetDate|0}} | |||
</pre> | </pre> | ||
</noinclude><includeonly>{{#ifeq:{{# | {{GetDate|1562-07-02}} | ||
|{{#time: | |||
|{{{1|}}}}}</includeonly> | {{GetDate|1562-07}} | ||
{{GetDate|1562}} | |||
{{GetDate|15xx-07-02}} | |||
{{GetDate|0}} | |||
</noinclude><includeonly>{{#ifeq:{{{1|}}}|0|''no date''|{{ | |||
#if:{{#explode:{{{1|}}}|-|2}} | |||
| <!-- day -->{{#time:j|1500-01-{{#explode:{{{1|}}}|-|2}}|en}}  | |||
}}{{ | |||
#if:{{#explode:{{{1|}}}|-|1}} | |||
| <!-- month --> {{#time:F|1500-{{#explode:{{{1|}}}|-|1}}|en}}  | |||
}}{{ | |||
#if:{{#explode:{{{1|}}}|-|0}} | |||
| <!-- year -->{{#explode:{{{1|}}}|-|0}} | |||
}} | |||
}}</includeonly> |
Latest revision as of 10:58, 7 August 2023
{{GetDate|1562-07-02}} {{GetDate|1562-07}} {{GetDate|1562}} {{GetDate|15xx-07-02}} {{GetDate|0}}
2 July 1562
July 1562
1562
2 July 15xx
no date