Vorlage:FormatDate: Unterschied zwischen den Versionen
Aus Hist. Verein Herne / Wanne-Eickel
K ({{Dokumentation}}) |
(+volle Monatsnamen (opt.); +Verlinkung (opt.); Leerz. geschützt) |
||
Zeile 1: | Zeile 1: | ||
<noinclude>{{Dokumentation}} | <noinclude>{{Dokumentation}} | ||
</noinclude><includeonly>{{#ifexpr:(0*{{{1}}}*0) | {{#ifexpr:({{{1}}})-({{{1}}}*2) | {{#expr:({{{1}}})-({{{1}}}*2)}}.& | </noinclude><includeonly><!-- | ||
-->{{ #ifexpr: (0*{{{1}}}*0) <!-- if (monat != 0): --> | |||
| 2 | | {{ #ifexpr: {{#ifeq:{{lc:{{{2}}}}}|link|1|0}} + {{#ifeq:{{lc:{{{3}}}}}|link|1|0}} <!-- if Verlinkung: --> | ||
| 3 | |<!-- | ||
| | -->[[<!-- "[[" | ||
| | -->{{ #ifexpr: ({{{1}}})-({{{1}}}*2) <!-- if (tag != 0): --> | ||
| | | {{ #expr: ({{{1}}})-({{{1}}}*2) }}.  <!-- "tag. " --> | ||
| | }}<!-- | ||
| | -->{{ Monat Name-Nummer | {{ #expr: -(0*{{{1}}}*0) }} | F }}<!-- "monat" | ||
| | -->{{ #switch: {{ #expr: 0 != ({{{1}}})-({{{1}}}*2) }}<!-- (tag != 0) | ||
| | -->{{ #expr: 0 != {{#ifeq:{{lc:{{{2}}}}}|lang|1|0}} + {{#ifeq:{{lc:{{{2}}}}}|long|1|0}} | ||
| | + {{#ifeq:{{lc:{{{3}}}}}|lang|1|0}} + {{#ifeq:{{lc:{{{3}}}}}|long|1|0}} | ||
| | }} | ||
|# | | 11 = {{!}}{{ #expr: ({{{1}}})-({{{1}}}*2) }}. <!-- "|tag. " | ||
-->{{ Monat Name-Nummer | {{ #expr: -(0*{{{1}}}*0) }} | F }} <!-- "monat" --> | |||
| 10 = {{!}}{{ #expr: ({{{1}}})-({{{1}}}*2) }}. <!-- "|tag. " | |||
-->{{ Monat Name-Nummer | {{ #expr: -(0*{{{1}}}*0) }} | }} <!-- "mon." --> | |||
| 01 = | |||
| 00 = {{!}}{{ Monat Name-Nummer | {{ #expr: -(0*{{{1}}}*0) }} | }} <!-- "|mon." --> | |||
}}<!-- | |||
-->]]<!-- "]]" --> | |||
|<!-- | |||
-->{{ #ifexpr: ({{{1}}})-({{{1}}}*2) <!-- if (tag != 0): --> | |||
| {{ #expr: ({{{1}}})-({{{1}}}*2) }}. <!-- "tag. " --> | |||
}}<!-- | |||
-->{{ #ifexpr: + {{#ifeq:{{lc:{{{2}}}}}|lang|1|0}} + {{#ifeq:{{lc:{{{2}}}}}|long|1|0}} | |||
+ {{#ifeq:{{lc:{{{3}}}}}|lang|1|0}} + {{#ifeq:{{lc:{{{3}}}}}|long|1|0}} | |||
| {{ Monat Name-Nummer | {{ #expr: -(0*{{{1}}}*0) }} | F }} <!-- "monat" --> | |||
| {{ Monat Name-Nummer | {{ #expr: -(0*{{{1}}}*0) }} | }} <!-- "mon." --> | |||
}} | |||
}}<!-- | |||
--> <!-- " " --> | |||
}}<!-- | |||
-->{{ #ifexpr: {{#ifeq:{{lc:{{{2}}}}}|link|1|0}} + {{#ifeq:{{lc:{{{3}}}}}|link|1|0}} <!-- if Verlinkung: --> | |||
| [[{{ #expr: (2*{{{1}}})-({{{1}}}) }}]] <!-- "[[jahr]]" --> | |||
| {{ #expr: (2*{{{1}}})-({{{1}}}) }} <!-- else: "jahr" --> | |||
}}<!-- | |||
--></includeonly> |