Splittermond Adventskalender 2015: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Maggus (Diskussion | Beiträge) (divers) |
Maggus (Diskussion | Beiträge) (Erweitert) |
||
Zeile 1: | Zeile 1: | ||
<!-- Allgemeine Variablen --><!-- | <!-- Allgemeine Variablen --><!-- | ||
-->{{#vardefine:Kalenderjahr|2015}}<!-- | -->{{#vardefine:Kalenderjahr|2015}}<!-- | ||
− | -->{{#vardefine:Kalendermonat| | + | -->{{#vardefine:Kalendermonat|10}}<!-- |
-->{{#arraydefine:24Tage|1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}}<!-- | -->{{#arraydefine:24Tage|1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}}<!-- | ||
-->{{#arraydefine:color|grau,blau}}<!-- | -->{{#arraydefine:color|grau,blau}}<!-- | ||
Zeile 15: | Zeile 15: | ||
-->Schwaralls_Ödnis_Layoutversion.pdf<!-- | -->Schwaralls_Ödnis_Layoutversion.pdf<!-- | ||
-->|@//@}}<!-- | -->|@//@}}<!-- | ||
− | -->{{#arraydefine: | + | -->{{#arraydefine:23|<!-- |
− | -->Blutiges Antlitz | + | -->Blutiges Antlitz 23<!-- |
-->@//@<!-- | -->@//@<!-- | ||
-->Icon Mondzeichen Blutiges Antlitz des Mondes dunkel 128.png<!-- | -->Icon Mondzeichen Blutiges Antlitz des Mondes dunkel 128.png<!-- | ||
-->|@//@}}<!-- | -->|@//@}}<!-- | ||
− | -->< | + | |
− | {{#arraymap: {{#arrayprint:24Tage|@//@}} <!-- | + | -->{{#ifexpr: {{#var:Kalenderjahr}}<{{CURRENTYEAR}}<!-- |
+ | -->|{{#vardefine:PreDefine|1}}<!-- | ||
+ | -->|{{#ifexpr: {{#var:Kalenderjahr}}>{{CURRENTYEAR}}<!-- | ||
+ | -->|{{#vardefine:PreDefine|0}}<!-- | ||
+ | -->|{{#ifexpr: {{#var:Kalendermonat}}<{{CURRENTMONTH1}}<!-- | ||
+ | -->|{{#vardefine:PreDefine|1}}<!-- | ||
+ | -->|{{#ifexpr: {{#var:Kalendermonat}}>{{CURRENTMONTH1}}<!-- | ||
+ | -->|{{#vardefine:PreDefine|0}}<!-- | ||
+ | -->|{{#vardefine:PreDefine|}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | |||
+ | -->{{#arraymap: {{#arrayprint:24Tage|@//@}} <!-- | ||
-->|@//@<!-- | -->|@//@<!-- | ||
-->|@TAG@<!-- | -->|@TAG@<!-- | ||
− | -->|{{#vardefine:Status|{{#ifexpr:@TAG@>{{CURRENTDAY}}|0|1}}}}<!-- | + | -->|{{#if:{{#var:PreDefine}}<!-- |
− | + | -->|{{#vardefine:Status|{{#var:PreDefine}}}}<!-- | |
− | + | -->|{{#vardefine:Status|{{#ifexpr:@TAG@>{{CURRENTDAY}}|0|1}}}}<!-- | |
− | + | -->}}<!-- | |
--><div <!-- | --><div <!-- | ||
-->class="textbox {{#arrayindex:color|{{#var:Status}}}}" <!-- | -->class="textbox {{#arrayindex:color|{{#var:Status}}}}" <!-- | ||
Zeile 34: | Zeile 48: | ||
-->style="font-size:9em; line-height:1em; color:lightgrey; position:absolute; top:0.1em; left:0; bottom:0; right:0; z-index:-1; overflow:hidden; " ><!-- | -->style="font-size:9em; line-height:1em; color:lightgrey; position:absolute; top:0.1em; left:0; bottom:0; right:0; z-index:-1; overflow:hidden; " ><!-- | ||
-->@TAG@<!-- | -->@TAG@<!-- | ||
− | --></div><!-- | + | --></div>{{#var:Status}}//@TAG@//{{CURRENTDAY}}//<!-- |
-->{{#ifeq:{{#var:Status}}|1<!-- | -->{{#ifeq:{{#var:Status}}|1<!-- | ||
-->|{{#if:{{#arrayindex:@TAG@|1}}<!-- | -->|{{#if:{{#arrayindex:@TAG@|1}}<!-- | ||
Zeile 42: | Zeile 56: | ||
--></div><!-- | --></div><!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
− | + | --><div style="clear:left;" ></div> | |
− | |||
− | <div style="clear:left;" ></div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |