Vorlage:Spielwiese: Unterschied zwischen den Versionen

aus Chaos FreewarWiki, der Referenz für Freewar
Zur Navigation springen Zur Suche springen
(mh noincludes killen die funktionen)
(schaun wir mal was rauskommt^^)
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|{{#expr: 26 + 7 - {{#time:N|{{{6|{{LOCALYEAR}}}}}-11-26}}}}}}{{#vardefine:ly|{{#time:L|{{{6|{{LOCALYEAR}}}}}}}}}<!--
-->{{<includeonly>subst:</includeonly>#vardefine:of|{{Benutzer:Zabuza/Vorlage/Osterformel|{{{6|{{LOCALYEAR}}}}}}}}}{{<includeonly>subst:</includeonly>#vardefine:ad|{{<includeonly>subst:</includeonly>#expr: 26 + 7 - {{#time:N|{{{6|{{LOCALYEAR}}}}}-11-26}}}}}}{{<includeonly>subst:</includeonly>#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
-->{{#switch: {{{5|{{LOCALMONTH}}}}}
-->{{<includeonly>subst:</includeonly>#switch: {{{5|{{LOCALMONTH}}}}}
  |01 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |01 = {{<includeonly>subst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}}
   |01 = {{{2|}}}Neujahr
   |01 = {{{2|}}}Neujahr
   |06 = {{{3|}}}Heilige Drei Könige
   |06 = {{{3|}}}Heilige Drei Könige
   |{{#expr:{{#var:of}} - 52 + 28 + {{#var:ly}} + 31}} = {{{3|}}}Weiberfastnacht
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 52 + 28 + {{#var:ly}} + 31}} = {{{3|}}}Weiberfastnacht
   |#default = {{{1|}}}Januar
   |#default = {{{1|}}}Januar
  }}
  }}
  |02 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |02 = {{<includeonly>subst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}}
   |14 = {{{1|}}}Valentinstag
   |14 = {{{1|}}}Valentinstag
   |{{#expr:{{#var:of}} - 52 + 28 + {{#var:ly}}}} = {{{3|}}}Weiberfastnacht
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 52 + 28 + {{#var:ly}}}} = {{{3|}}}Weiberfastnacht
   |{{#expr:{{#var:of}} - 48 + 28 + {{#var:ly}}}} = {{{1|}}}Rosenmontag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 48 + 28 + {{#var:ly}}}} = {{{1|}}}Rosenmontag
   |{{#expr:{{#var:of}} - 47 + 28 + {{#var:ly}}}} = {{{3|}}}Fastnacht
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 47 + 28 + {{#var:ly}}}} = {{{3|}}}Fastnacht
   |{{#expr:{{#var:of}} - 46 + 28 + {{#var:ly}}}} = {{{1|}}}Aschermittwoch
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 46 + 28 + {{#var:ly}}}} = {{{1|}}}Aschermittwoch
   |#default = {{{1|}}}Februar
   |#default = {{{1|}}}Februar
  }}
  }}
  |03 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |03 = {{<includeonly>subst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}}
   |20 = {{{1|}}}Frühlingsbeginn
   |20 = {{{1|}}}Frühlingsbeginn
   |{{#expr:{{#var:of}} - 52}} = {{{3|}}}Weiberfastnacht
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 52}} = {{{3|}}}Weiberfastnacht
   |{{#expr:{{#var:of}} - 48}} = {{{1|}}}Rosenmontag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 48}} = {{{1|}}}Rosenmontag
   |{{#expr:{{#var:of}} - 47}} = {{{3|}}}Fastnacht
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 47}} = {{{3|}}}Fastnacht
   |{{#expr:{{#var:of}} - 46}} = {{{1|}}}Aschermittwoch
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 46}} = {{{1|}}}Aschermittwoch
   |{{#expr:{{#var:of}} - 7}} = {{{1|}}}Palmsonntag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 7}} = {{{1|}}}Palmsonntag
   |{{#expr:{{#var:of}} - 3}} = {{{1|}}}Gründonnerstag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 3}} = {{{1|}}}Gründonnerstag
   |{{#expr:{{#var:of}} - 2}} = {{{1|}}}Karsfreitag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 2}} = {{{1|}}}Karsfreitag
   |{{#expr:{{#var:of}} - 1}} = {{{1|}}}Karsamstag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 1}} = {{{1|}}}Karsamstag
   |{{#var:of}} = {{{3|}}}Ostern
   |{{#var:of}} = {{{3|}}}Ostern
   |{{#expr:{{#var:of}} + 1}} = {{{1|}}}Ostermontag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} + 1}} = {{{1|}}}Ostermontag
   |#default = {{{1|}}}März
   |#default = {{{1|}}}März
  }}
  }}
  |04 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |04 = {{<includeonly>subst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}}
   |30 = {{{3|}}}Walpurgisnacht
   |30 = {{{3|}}}Walpurgisnacht
   |{{#expr:{{#var:of}} - 7 - 31}} = {{{1|}}}Palmsonntag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 7 - 31}} = {{{1|}}}Palmsonntag
   |{{#expr:{{#var:of}} - 3 - 31}} = {{{1|}}}Gründonnerstag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 3 - 31}} = {{{1|}}}Gründonnerstag
   |{{#expr:{{#var:of}} - 2 - 31}} = {{{1|}}}Karfreitag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 2 - 31}} = {{{1|}}}Karfreitag
   |{{#expr:{{#var:of}} - 1 - 31}} = {{{1|}}}Karsamstag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 1 - 31}} = {{{1|}}}Karsamstag
   |{{#expr:{{#var:of}} - 31}} = {{{3|}}}Ostern
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} - 31}} = {{{3|}}}Ostern
   |{{#expr:{{#var:of}} + 1 - 31}} = {{{1|}}}Ostermontag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} + 1 - 31}} = {{{1|}}}Ostermontag
   |{{#expr:{{#var:of}} + 39 - 31}} = {{{3|}}}Christi Himmelfahrt
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} + 39 - 31}} = {{{3|}}}Christi Himmelfahrt
   |#default = {{{1|}}}April
   |#default = {{{1|}}}April
  }}
  }}
  |05 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |05 = {{<includeonly>subst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}}
   |01 = {{{1|}}}Maifeiertag
   |01 = {{{1|}}}Maifeiertag
   |{{#expr: 1 + 14 - {{#time:N|{{LOCALYEAR}}-05-01}}}} = {{{1|}}}Muttertag
   |{{<includeonly>subst:</includeonly>#expr: 1 + 14 - {{#time:N|{{LOCALYEAR}}-05-01}}}} = {{{1|}}}Muttertag
   |{{#expr:{{#var:of}} + 39 - 31 - 30}} = {{{3|}}}Christi Himmelfahrt
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} + 39 - 31 - 30}} = {{{3|}}}Christi Himmelfahrt
   |{{#expr:{{#var:of}} + 49 - 31 - 30}} = {{{1|}}}Pfingstsonntag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} + 49 - 31 - 30}} = {{{1|}}}Pfingstsonntag
   |{{#expr:{{#var:of}} + 50 - 31 - 30}} = {{{1|}}}Pfingstmontag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} + 50 - 31 - 30}} = {{{1|}}}Pfingstmontag
   |{{#expr:{{#var:of}} + 60 - 31 - 30}} = {{{1|}}}Fronleichnam
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} + 60 - 31 - 30}} = {{{1|}}}Fronleichnam
   |#default = {{{1|}}}Mai
   |#default = {{{1|}}}Mai
  }}
  }}
  |06 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |06 = {{<includeonly>subst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}}
   |17 = {{{1|}}}Volksaufstand
   |17 = {{{1|}}}Volksaufstand
   |21 = {{{1|}}}Sommerbeginn
   |21 = {{{1|}}}Sommerbeginn
   |{{#expr:{{#var:of}} + 39 - 31 - 30 - 31}} = {{{3|}}}Christi Himmelfahrt
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} + 39 - 31 - 30 - 31}} = {{{3|}}}Christi Himmelfahrt
   |{{#expr:{{#var:of}} + 49 - 31 - 30 - 31}} = {{{1|}}}Pfingstsonntag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} + 49 - 31 - 30 - 31}} = {{{1|}}}Pfingstsonntag
   |{{#expr:{{#var:of}} + 50 - 31 - 30 - 31}} = {{{1|}}}Pfingstmontag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} + 50 - 31 - 30 - 31}} = {{{1|}}}Pfingstmontag
   |{{#expr:{{#var:of}} + 60 - 31 - 30 - 31}} = {{{1|}}}Fronleichnam
   |{{<includeonly>subst:</includeonly>#expr:{{#var:of}} + 60 - 31 - 30 - 31}} = {{{1|}}}Fronleichnam
   |#default = {{{1|}}}Juni
   |#default = {{{1|}}}Juni
  }}
  }}
  |07 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |07 = {{<includeonly>subst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}}
   |#default = {{{1|}}}Juli
   |#default = {{{1|}}}Juli
  }}
  }}
  |08 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |08 = {{<includeonly>subst:</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 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |09 = {{<includeonly>subst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}}
   |22 = {{{1|}}}Herbstbeginn
   |22 = {{{1|}}}Herbstbeginn
   |{{#expr: 29 + 7 - {{#time:N|{{LOCALYEAR}}-09-29}}}} = {{{2|}}}Erntedankfest
   |{{<includeonly>subst:</includeonly>#expr: 29 + 7 - {{#time:N|{{LOCALYEAR}}-09-29}}}} = {{{2|}}}Erntedankfest
   |#default = {{{1|}}}September
   |#default = {{{1|}}}September
  }}
  }}
  |10 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |10 = {{<includeonly>subst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}}
   |03 = {{{1|}}}Tag der deutschen Einheit
   |03 = {{{1|}}}Tag der deutschen Einheit
   |31 = {{{1|}}}Reformationstag
   |31 = {{{1|}}}Reformationstag
   |{{#expr: 29 + 7 - 30 - {{#time:N|{{LOCALYEAR}}-09-29}}}} = {{{2|}}}Erntedankfest
   |{{<includeonly>subst:</includeonly>#expr: 29 + 7 - 30 - {{#time:N|{{LOCALYEAR}}-09-29}}}} = {{{2|}}}Erntedankfest
   |#default = {{{1|}}}Oktober
   |#default = {{{1|}}}Oktober
  }}
  }}
  |11 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |11 = {{<includeonly>subst:</includeonly>#switch: {{{4|{{LOCALDAY}}}}}
   |01 = {{{3|}}}Allerheiligen
   |01 = {{{3|}}}Allerheiligen
   |02 = {{{3|}}}Allerseelen
   |02 = {{{3|}}}Allerseelen
   |11 = {{{1|}}}Martinstag
   |11 = {{{1|}}}Martinstag
   |{{#expr:{{#var:ad}} - 14}} = {{{1|}}}Volkstrauertag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:ad}} - 14}} = {{{1|}}}Volkstrauertag
   |{{#expr:{{#var:ad}} - 11}} = {{{1|}}}Buß- und Betttag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:ad}} - 11}} = {{{1|}}}Buß- und Betttag
   |{{#expr:{{#var:ad}} - 7}} = {{{1|}}}Totensonntag
   |{{<includeonly>subst:</includeonly>#expr:{{#var:ad}} - 7}} = {{{1|}}}Totensonntag
   |{{#var:ad}} = {{{1|}}}1. Advent
   |{{#var:ad}} = {{{1|}}}1. Advent
   |#default = {{{1|}}}November
   |#default = {{{1|}}}November
  }}
  }}
  |12 = {{#switch: {{{4|{{LOCALDAY}}}}}
  |12 = {{<includeonly>subst:</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
   |{{#expr:{{#var:ad}} - 30}} = {{{1|}}}1. Advent
   |{{<includeonly>subst:</includeonly>#expr:{{#var:ad}} - 30}} = {{{1|}}}1. Advent
   |{{#expr:{{#var:ad}} - 30 + 7}} = {{{1|}}}2. Advent
   |{{<includeonly>subst:</includeonly>#expr:{{#var:ad}} - 30 + 7}} = {{{1|}}}2. Advent
   |{{#expr:{{#var:ad}} - 30 + 14}} = {{{1|}}}3. Advent
   |{{<includeonly>subst:</includeonly>#expr:{{#var:ad}} - 30 + 14}} = {{{1|}}}3. Advent
   |{{#expr:{{#var:ad}} - 30 + 21}} = {{{1|}}}4. Advent
   |{{<includeonly>subst:</includeonly>#expr:{{#var:ad}} - 30 + 21}} = {{{1|}}}4. Advent
   |#default = {{{1|}}}Dezember
   |#default = {{{1|}}}Dezember
  }}
  }}
}}
}}

Version vom 12. März 2012, 16:02 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

Juni