|
|
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| {{#if: {{{2|{{{monat|{{{Monat|{{{month|{{{Month|}}}}}}}}}}}}}}}{{#if: {{{3|{{{jahr|{{{Jahr|{{{year|{{{Year|}}}}}}}}}}}}}}}||Y}}<!--"if M or notY": Tag nur ignorieren, wenn nur Jahr--> | | <includeonly>{{#switch:{{#invoke:String|len|s={{{1}}}}} |
| | {{#if: {{{1|{{{tag|{{{Tag|{{{day|{{{Day|}}}}}}}}}}}}}}} | | |1 |2 |3 |4 |5 = {{#time:Y|{{{1}}} }} |
| | {{#switch:{{{1|{{{tag|{{{Tag|{{{day|{{{Day|}}}}}}}}}}}}}}}
| | |6 |7 |8 = {{#time:F Y|{{{1}}} }} |
| |1 |01 |1. |01. |1st =1.
| | |9 |10 = {{#time:j. F Y|{{{1}}} }} |
| |2 |02 |2. |02. |2nd =2.
| | |#default = <strong class="error">Fehler: Ungültige Zeitangabe</strong> |
| |3 |03 |3. |03. |3rd =3.
| | }}</includeonly><noinclude>== Beispiele == |
| |4 |04 |4. |04. |4th =4.
| | <pre>{{Date|999}} |
| |5 |05 |5. |05. |5th =5.
| | {{Date|2019}} |
| |6 |06 |6. |06. |6th =6.
| | {{Date|2019-}}</pre> |
| |7 |07 |7. |07. |7th =7.
| | * {{Date|999}} |
| |8 |08 |8. |08. |8th =8.
| | * {{Date|2019}} |
| |9 |09 |9. |09. |9th =9.
| | * {{Date|2019-}} |
| |10 |10. |10th =10.
| | <pre>{{Date|2019-3}} |
| |11 |11. |11th =11.
| | {{Date|2019-03}} |
| |12 |12. |12th =12.
| | {{Date|2019-03-}} |
| |13 |13. |13th =13.
| | {{Date|03-2019}}</pre> |
| |14 |14. |14th =14.
| | * {{Date|2019-3}} |
| |15 |15. |15th =15.
| | * {{Date|2019-03}} |
| |16 |16. |16th =16.
| | * {{Date|2019-03-}} |
| |17 |17. |17th =17.
| | * {{Date|03-2019}} |
| |18 |18. |18th =18.
| | <pre>{{Date|2019-12-1}} |
| |19 |19. |19th =19.
| | {{Date|2019-12-24}} |
| |20 |20. |20th =20.
| | {{Date|2019-12-999}} |
| |21 |21. |21st =21.
| | {{Date|01-03-2019}}</pre> |
| |22 |22. |22nd =22.
| | * {{Date|2019-12-1}} |
| |23 |23. |23rd =23.
| | * {{Date|2019-12-24}} |
| |24 |24. |24th =24.
| | * {{Date|2019-12-999}} |
| |25 |25. |25th =25.
| | * {{Date|01-03-2019}} |
| |26 |26. |26th =26.
| | </noinclude> |
| |27 |27. |27th =27.
| |
| |28 |28. |28th =28.
| |
| |29 |29. |29th =29.
| |
| |30 |30. |30th =30.
| |
| |31 |31. |31st =31.
| |
| |#default = {{{1|{{{tag|{{{Tag|{{{day|{{{Day|}}}}}}}}}}}}}}}
| |
| }}{{#if: {{{2|{{{monat|{{{Monat|{{{month|{{{Month|}}}}}}}}}}}}}}}{{{3|{{{jahr|{{{Jahr|{{{year|{{{Year|}}}}}}}}}}}}}}}
| |
| |
| |
| }}
| |
| }}{{#switch:{{{2|{{{monat|{{{Monat|{{{month|{{{Month|}}}}}}}}}}}}}}}
| |
| |Januar |January |Jan |Jan. |Jänner |Jän |Jän. |01|1|01.|1. |I |I. ={{#if:{{{kurz|}}}|Jan.|{{#ifeq:{{int:lang}}|de-at|Jänner|Januar}}}}
| |
| |Februar |February |Feb |Feb. |02|2|02.|2. |II |II. ={{#if:{{{kurz|}}}|Feb.|Februar}}
| |
| |März |March |Mär|Mar|Mär. |Mar. |03|3|03.|3. |III |III. ={{#if:{{{kurz|}}}|Mär.|März}}
| |
| |April |Apr |Apr. |04|4|04.|4. |IV |IV. ={{#if:{{{kurz|}}}|Apr.|April}}
| |
| |Mai |May |05|5|05.|5. |V |V. =Mai
| |
| |Juni |June |Jun |Jun. |06|6|06.|6. |VI |VI. =Juni
| |
| |Juli |July |Jul |Jul. |07|7|07.|7. |VII |VII. =Juli
| |
| |August |Aug |Aug. |08|8|08.|8. |VIII|VIII. ={{#if:{{{kurz|}}}|Aug.|August}}
| |
| |September |Sep |Sep. |09|9|09.|9. |IX |IX. ={{#if:{{{kurz|}}}|Sep.|September}}
| |
| |Oktober |October |Okt|Oct|Okt. |Oct. |10 |10. |X |X. ={{#if:{{{kurz|}}}|Okt.|Oktober}}
| |
| |November |Nov |Nov. |11 |11. |XI |XI. ={{#if:{{{kurz|}}}|Nov.|November}}
| |
| |Dezember |December |Dez|Dec|Dez. |Dec. |12 |12. |XII |XII. ={{#if:{{{kurz|}}}|Dez.|Dezember}}
| |
| |#default ={{{2|{{{monat|{{{Monat|{{{month|{{{Month|}}}}}}}}}}}}}}}
| |
| }}{{#if: {{{3|{{{jahr|{{{Jahr|{{{year|{{{Year|}}}}}}}}}}}}}}}
| |
| |  
| |
| }}
| |
| }}{{{3|{{{jahr|{{{Jahr|{{{year|{{{Year|}}}}}}}}}}}}}}}
| |
Beispiele
{{Date|999}}
{{Date|2019}}
{{Date|2019-}}
- Fehler: Ungültige Zeitangabe
- 2019
- Fehler: Ungültige Zeitangabe
{{Date|2019-3}}
{{Date|2019-03}}
{{Date|2019-03-}}
{{Date|03-2019}}
- März 2019
- März 2019
- Fehler: Ungültige Zeitangabe
- Fehler: Ungültige Zeitangabe
{{Date|2019-12-1}}
{{Date|2019-12-24}}
{{Date|2019-12-999}}
{{Date|01-03-2019}}
- 1. Dezember 2019
- 24. Dezember 2019
- Fehler
- 1. März 2019