Benutzer:Der Flammifer/Auenland-Datum: Unterschied zwischen den Versionen
Aus Ardapedia
(die letzte Korrektur hatte doch noch nicht geholfen) |
(Kommentare eingefügt) |
||
Zeile 1: | Zeile 1: | ||
{{#ifeq: {{#timel:L}} | 0 | | {{#ifeq: {{#timel:L}} | 0 | | ||
{{#ifeq: {{#timel:z}} | 172 | | | <!-- Code für Säkularjahre --> | ||
{{#ifeq: {{#timel:z}} | 172 | <!-- Wenn Mittjahrstag: kein Wochentag --> | | |||
{{#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}} | {{#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}} | ||
| 1 = Stertag | | 1 = Stertag | ||
Zeile 11: | Zeile 12: | ||
}}, der }} | }}, der }} | ||
{{#switch: {{#timel:z}} | {{#switch: {{#timel:z}} | ||
| 171 = 1. Lithe | | 171 = 1. Lithe | ||
| 172 = Mittjahrstag | | 172 = Mittjahrstag | ||
| 173 = 2. Lithe | | 173 = 2. Lithe | ||
| 354 = 1. Jul | | 354 = 1. Jul | ||
| 355 = 2. Jul | | 355 = 2. Jul | ||
| #default = {{#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}}. {{#switch:{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +8 | {{#ifexpr: {{#timel:z}} <= 356 | +6 | -356 }} | }})/30)+1}} | | #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}}. <!-- Monatsname -->{{#switch:{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +8 | {{#ifexpr: {{#timel:z}} <= 356 | +6 | -356 }} | }})/30)+1}} | ||
| 1 = Nachjul | | 1 = Nachjul | ||
| 2 = Solmath | | 2 = Solmath | ||
Zeile 29: | Zeile 30: | ||
| 11 = Blotmath | | 11 = Blotmath | ||
| 12 = Vorjul }} }} | | 12 = Vorjul }} }} | ||
| {{#ifexpr: (172 <= {{#timel:z}}) and ({{#timel:z}} <= 173) | | | <!-- 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}} | {{#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 | | 1 = Stertag | ||
Zeile 40: | Zeile 42: | ||
}}, der }} | }}, der }} | ||
{{#switch: {{#timel:z}} | {{#switch: {{#timel:z}} | ||
| 171 = 1. Lithe | | 171 = 1. Lithe | ||
| 172 = Mittjahrstag | | 172 = Mittjahrstag | ||
| 173 = Überlithe | | 173 = Überlithe | ||
| 174 = 2. Lithe | | 174 = 2. Lithe | ||
| 355 = 1. Jul | | 355 = 1. Jul | ||
| 356 = 2. Jul | | 356 = 2. Jul | ||
| #default = {{#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}}. {{#switch:{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +9 | {{#ifexpr: {{#timel:z}} <= 357 | +5 | -357 }} | }})/30)+1}} | | #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}}. <!-- Monatsname -->{{#switch:{{#expr:trunc(({{#timel:z}}{{#ifexpr: {{#timel:z}} < 172 | +9 | {{#ifexpr: {{#timel:z}} <= 357 | +5 | -357 }} | }})/30)+1}} | ||
| 1 = Nachjul | | 1 = Nachjul | ||
| 2 = Solmath | | 2 = Solmath |
Aktuelle Version vom 26. November 2012, 23:39 Uhr
Hevenstag, der 1. Vorjul