Benutzer:Der Flammifer/Auenland-Datum: Unterschied zwischen den Versionen

Aus Ardapedia
K (Fehler korrigiert)
(Kommentare eingefügt)
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{{#ifeq: {{#timel:z}} | 172 | |
{{#ifeq: {{#timel:L}} | 0 |
{{#switch:{{#expr:({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +10 | {{#ifexpr: {{#timel:z}} < 356 | +9 | -355 }} | }})-{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +10 | {{#ifexpr: {{#timel:z}} < 356 | +9 | -355 }} | }})/7)}}*7}}
<!-- Code für Säkularjahre -->
| 0 = Stertag
{{#ifeq: {{#timel:z}} | 172 | <!-- Wenn Mittjahrstag: kein Wochentag --> |
| 1 = Sonntag
{{#switch:{{#expr:({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +10 | {{#ifexpr: {{#timel:z}} <= 355 | +9 | -355 }} | }})-{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +10 | {{#ifexpr: {{#timel:z}} <= 355 | +9 | -355 }} | }})/7)}}*7+1}}
| 2 = Montag
| 1 = Stertag
| 3 = Trewstag
| 2 = Sonntag
| 4 = Hevenstag
| 3 = Montag
| 5 = Merstag
| 4 = Trewstag
| 6 = Hochtag
| 5 = Hevenstag
| 6 = Merstag
| 7 = Hochtag
}}, der }}
}}, der }}
{{#switch: {{#timel:z}}
{{#switch: {{#timel:z}}
| 355 = 2. Jul
| 171 = 1.&nbsp;Lithe
| 171 = 1. Lithe
| 172 = Mittjahrstag
| 172 = Mittjahrstag
| 173 = 2. Lithe
| 173 = 2.&nbsp;Lithe
| 354 = 1. Jul
| 354 = 1.&nbsp;Jul
| #default = {{#expr:({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +10 | {{#ifexpr: {{#timel:z}} < 356 | +7 | -355 }} | }})-{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +9 | {{#ifexpr: {{#timel:z}} < 356 | +6 | -356 }} | }})/30)}}*30}}. {{#switch:{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +8 | {{#ifexpr: {{#timel:z}} < 356 | +6 | -356 }} | }})/30)}}
| 355 = 2.&nbsp;Jul
| 0 = Nachjul
| #default = <!-- Tag des Monats -->{{#expr:({{#timel:z}}+1{{#ifexpr: {{#timel:z}} < 172 | +9 | {{#ifexpr: {{#timel:z}} <= 356 | +6 | -356 }} | }})-{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +9 | {{#ifexpr: {{#timel:z}} <= 356 | +6 | -356 }} | }})/30)}}*30}}.&nbsp;<!-- Monatsname -->{{#switch:{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +8 | {{#ifexpr: {{#timel:z}} <= 356 | +6 | -356 }} | }})/30)+1}}
| 1  = Solmath
| 1 = Nachjul
| 2  = Rethe
| 2  = Solmath
| 3  = Astron
| 3  = Rethe
| 4  = Thrimidge
| 4  = Astron
| 5  = Vorlithe
| 5  = Thrimidge
| 6  = Nachlithe
| 6  = Vorlithe
| 7  = Wedmath
| 7  = Nachlithe
| 8  = Halimath
| 8  = Wedmath
| 9  = Winterfilth
| 9  = Halimath
| 10 = Blotmath
| 10 = Winterfilth
| 11 = Vorjul }} }}
| 11 = Blotmath
| 12 = Vorjul }} }}
<!-- Code für Schaltjahre -->
| {{#ifexpr: (172 <= {{#timel:z}}) and ({{#timel:z}} <= 173) | <!-- Wenn Mittjahrstag: kein Wochentag --> |
{{#switch:{{#expr:({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +10 | {{#ifexpr: {{#timel:z}} <= 356 | +8 | -356 }} | }})-{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +10 | {{#ifexpr: {{#timel:z}} <= 356 | +8 | -356 }} | }})/7)}}*7+1}}
| 1  = Stertag
| 2  = Sonntag
| 3  = Montag
| 4  = Trewstag
| 5  = Hevenstag
| 6  = Merstag
| 7  = Hochtag
}}, der }}
{{#switch: {{#timel:z}}
| 171 = 1.&nbsp;Lithe
| 172 = Mittjahrstag
| 173 = Überlithe
| 174 = 2.&nbsp;Lithe
| 355 = 1.&nbsp;Jul
| 356 = 2.&nbsp;Jul
| #default = <!-- Tag des Monats -->{{#expr:({{#timel:z}}+1{{#ifexpr: {{#timel:z}} < 172 | +9 | {{#ifexpr: {{#timel:z}} <= 357 | +5 | -357 }} | }})-{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +9 | {{#ifexpr: {{#timel:z}} <= 357 | +5 | -357 }} | }})/30)}}*30}}.&nbsp;<!-- Monatsname -->{{#switch:{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +9 | {{#ifexpr: {{#timel:z}} <= 357 | +5 | -357 }} | }})/30)+1}}
| 1  = Nachjul
| 2  = Solmath
| 3  = Rethe
| 4  = Astron
| 5  = Thrimidge
| 6  = Vorlithe
| 7  = Nachlithe
| 8  = Wedmath
| 9  = Halimath
| 10 = Winterfilth
| 11 = Blotmath
| 12 = Vorjul }} }}
}}

Aktuelle Version vom 27. November 2012, 00:39 Uhr

Sonntag, der 14. Thrimidge