Kategorien
Vorlage:Spielwiese: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cembon (Diskussion | Beiträge) (mal n test obs so geht..bin mir nicht mehr sicher) |
Zabuza (Diskussion | Beiträge) K (savesubst->safesubst) |
||
Zeile 4: | Zeile 4: | ||
--><!-- Änderungen erst unterhalb dieser Zeile! --><!-- | --><!-- Änderungen erst unterhalb dieser Zeile! --><!-- | ||
//Variablen für die Osterformel, Adventszeit und das Schaltjahr | //Variablen für die Osterformel, Adventszeit und das Schaltjahr | ||
-->{{#vardefine:of|{{Benutzer:Zabuza/Vorlage/Osterformel|{{{6|{{LOCALYEAR}}}}}}}}}{{#vardefine:ad|{{<includeonly> | -->{{#vardefine:of|{{Benutzer:Zabuza/Vorlage/Osterformel|{{{6|{{LOCALYEAR}}}}}}}}}{{#vardefine:ad|{{<includeonly>safesubst:</includeonly>#expr: 26 + 7 - {{#time:N|{{{6|{{LOCALYEAR}}}}}-11-26}}}}}}{{#vardefine:ly|{{#time:L|{{{6|{{LOCALYEAR}}}}}}}}}<!-- | ||
//Bestimmung des Feiertages über Switchs, feste Feiertage stehen über beweglichen, auserdem wird ein fester Feiertag im Falle einer Überschneidung den beweglichen bevorzugt | //Bestimmung des Feiertages über Switchs, feste Feiertage stehen über beweglichen, auserdem wird ein fester Feiertag im Falle einer Überschneidung den beweglichen bevorzugt | ||
-->{{<includeonly> | -->{{<includeonly>safesubst:</includeonly>#switch: {{{5|{{LOCALMONTH}}}}} | ||
|01 = {{<includeonly> | |01 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|01 = {{{2|}}}Neujahr | |01 = {{{2|}}}Neujahr | ||
|06 = {{{3|}}}Heilige Drei Könige | |06 = {{{3|}}}Heilige Drei Könige | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 52 + 28 + {{#var:ly}} + 31}} = {{{3|}}}Weiberfastnacht | ||
|#default = {{{1|}}}Januar | |#default = {{{1|}}}Januar | ||
}} | }} | ||
|02 = {{<includeonly> | |02 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|14 = {{{1|}}}Valentinstag | |14 = {{{1|}}}Valentinstag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 52 + 28 + {{#var:ly}}}} = {{{3|}}}Weiberfastnacht | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 48 + 28 + {{#var:ly}}}} = {{{1|}}}Rosenmontag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 47 + 28 + {{#var:ly}}}} = {{{3|}}}Fastnacht | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 46 + 28 + {{#var:ly}}}} = {{{1|}}}Aschermittwoch | ||
|#default = {{{1|}}}Februar | |#default = {{{1|}}}Februar | ||
}} | }} | ||
|03 = {{<includeonly> | |03 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|20 = {{{1|}}}Frühlingsbeginn | |20 = {{{1|}}}Frühlingsbeginn | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 52}} = {{{3|}}}Weiberfastnacht | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 48}} = {{{1|}}}Rosenmontag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 47}} = {{{3|}}}Fastnacht | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 46}} = {{{1|}}}Aschermittwoch | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 7}} = {{{1|}}}Palmsonntag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 3}} = {{{1|}}}Gründonnerstag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 2}} = {{{1|}}}Karsfreitag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 1}} = {{{1|}}}Karsamstag | ||
|{{#var:of}} = {{{3|}}}Ostern | |{{#var:of}} = {{{3|}}}Ostern | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} + 1}} = {{{1|}}}Ostermontag | ||
|#default = {{{1|}}}März | |#default = {{{1|}}}März | ||
}} | }} | ||
|04 = {{<includeonly> | |04 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|30 = {{{3|}}}Walpurgisnacht | |30 = {{{3|}}}Walpurgisnacht | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 7 - 31}} = {{{1|}}}Palmsonntag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 3 - 31}} = {{{1|}}}Gründonnerstag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 2 - 31}} = {{{1|}}}Karfreitag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 1 - 31}} = {{{1|}}}Karsamstag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} - 31}} = {{{3|}}}Ostern | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} + 1 - 31}} = {{{1|}}}Ostermontag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} + 39 - 31}} = {{{3|}}}Christi Himmelfahrt | ||
|#default = {{{1|}}}April | |#default = {{{1|}}}April | ||
}} | }} | ||
|05 = {{<includeonly> | |05 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|01 = {{{1|}}}Maifeiertag | |01 = {{{1|}}}Maifeiertag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr: 1 + 14 - {{#time:N|{{LOCALYEAR}}-05-01}}}} = {{{1|}}}Muttertag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} + 39 - 31 - 30}} = {{{3|}}}Christi Himmelfahrt | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} + 49 - 31 - 30}} = {{{1|}}}Pfingstsonntag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} + 50 - 31 - 30}} = {{{1|}}}Pfingstmontag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} + 60 - 31 - 30}} = {{{1|}}}Fronleichnam | ||
|#default = {{{1|}}}Mai | |#default = {{{1|}}}Mai | ||
}} | }} | ||
|06 = {{<includeonly> | |06 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|17 = {{{1|}}}Volksaufstand | |17 = {{{1|}}}Volksaufstand | ||
|21 = {{{1|}}}Sommerbeginn | |21 = {{{1|}}}Sommerbeginn | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} + 39 - 31 - 30 - 31}} = {{{3|}}}Christi Himmelfahrt | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} + 49 - 31 - 30 - 31}} = {{{1|}}}Pfingstsonntag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} + 50 - 31 - 30 - 31}} = {{{1|}}}Pfingstmontag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:of}} + 60 - 31 - 30 - 31}} = {{{1|}}}Fronleichnam | ||
|#default = {{{1|}}}Juni | |#default = {{{1|}}}Juni | ||
}} | }} | ||
|07 = {{<includeonly> | |07 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|#default = {{{1|}}}Juli | |#default = {{{1|}}}Juli | ||
}} | }} | ||
|08 = {{<includeonly> | |08 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|08 = {{{2|}}}Friedensfest | |08 = {{{2|}}}Friedensfest | ||
|15 = {{{3|}}}Mariä Himmelfahrt | |15 = {{{3|}}}Mariä Himmelfahrt | ||
|#default = {{{1|}}}August | |#default = {{{1|}}}August | ||
}} | }} | ||
|09 = {{<includeonly> | |09 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|22 = {{{1|}}}Herbstbeginn | |22 = {{{1|}}}Herbstbeginn | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr: 29 + 7 - {{#time:N|{{LOCALYEAR}}-09-29}}}} = {{{2|}}}Erntedankfest | ||
|#default = {{{1|}}}September | |#default = {{{1|}}}September | ||
}} | }} | ||
|10 = {{<includeonly> | |10 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|03 = {{{1|}}}Tag der deutschen Einheit | |03 = {{{1|}}}Tag der deutschen Einheit | ||
|31 = {{{1|}}}Reformationstag | |31 = {{{1|}}}Reformationstag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr: 29 + 7 - 30 - {{#time:N|{{LOCALYEAR}}-09-29}}}} = {{{2|}}}Erntedankfest | ||
|#default = {{{1|}}}Oktober | |#default = {{{1|}}}Oktober | ||
}} | }} | ||
|11 = {{<includeonly> | |11 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|01 = {{{3|}}}Allerheiligen | |01 = {{{3|}}}Allerheiligen | ||
|02 = {{{3|}}}Allerseelen | |02 = {{{3|}}}Allerseelen | ||
|11 = {{{1|}}}Martinstag | |11 = {{{1|}}}Martinstag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:ad}} - 14}} = {{{1|}}}Volkstrauertag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:ad}} - 11}} = {{{1|}}}Buß- und Betttag | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:ad}} - 7}} = {{{1|}}}Totensonntag | ||
|{{#var:ad}} = {{{1|}}}1. Advent | |{{#var:ad}} = {{{1|}}}1. Advent | ||
|#default = {{{1|}}}November | |#default = {{{1|}}}November | ||
}} | }} | ||
|12 = {{<includeonly> | |12 = {{<includeonly>safesubst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}} | ||
|04 = {{{1|}}}Barbaratag | |04 = {{{1|}}}Barbaratag | ||
|06 = {{{1|}}}Nikolaus | |06 = {{{1|}}}Nikolaus | ||
Zeile 102: | Zeile 102: | ||
|26 = {{{1|}}}2. Weihnachtsfeiertag | |26 = {{{1|}}}2. Weihnachtsfeiertag | ||
|31 = {{{2|}}}Silvester | |31 = {{{2|}}}Silvester | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:ad}} - 30}} = {{{1|}}}1. Advent | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:ad}} - 30 + 7}} = {{{1|}}}2. Advent | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:ad}} - 30 + 14}} = {{{1|}}}3. Advent | ||
|{{<includeonly> | |{{<includeonly>safesubst:</includeonly>#expr:{{#var:ad}} - 30 + 21}} = {{{1|}}}4. Advent | ||
|#default = {{{1|}}}Dezember | |#default = {{{1|}}}Dezember | ||
}} | }} | ||
}} | }} |
Version vom 12. März 2012, 16:20 Uhr
[Bearbeiten] Dokumentation
Diese Vorlage ist für Testzwecke jeglicher Vorlagenarten aller Benutzer gedacht. Nachdem die Tests abgeschlossen sind, sollte wieder alles hinter "<noinclude>" entfernt werden.
Verwendung
Diese Vorlage wird mit {{Spielwiese}} eingebunden.
Parameter
- abhängig vom derzeitigen Nutzer
September