Difference between revisions of "Template:CalendarSingle"

From FollowTheScore
Jump to: navigation, search
m
 
(58 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
+
{| class="toccolours" style="float:{{{float|none}}}; margin-left: 1em; text-align:center;" border=1 cellpadding=2 cellspacing=0
{{Calendar/MonthStart{{#time:D|{{{year}}}-{{{month}}}-01 +1 second}}
+
|- style="background-color: LightSteelBlue;"
|cur_month=[[{{#time:F|{{{year}}}-{{{month}}}-03}}]]
+
|[[Special:Call/:{{{basepage}}},year={{#time:Y|{{{year}}}-{{{month}}}-03 -1 month}},month={{#time:m|{{{year}}}-{{{month}}}-03 -1 month}},basepage={{{basepage}}},eventList={{{eventList|}}},purpose={{#var:purpose}},nolink={{#var:nolink}},noadd={{#var:noadd}},show={{#var:show}},namespace={{#var:namespace}},width={{#var:width}}|<<]]
|prev_month=[[{{#time:F|{{{year}}}-{{{month}}}-03 last month}}|<<]]
+
|colspan="5" style="text-align: center;"|
|next_month=[[{{#time:F|{{{year}}}-{{{month}}}-03 next month}}|>>]]
+
'''{{#time:F|{{{year}}}-{{{month}}}-03}}'''
|01={{#if: {{#dpl:debug=0|category=Events|titlematch={{{year}}}/{{{month}}}/01%}}|{{Cal anchor|year={{{year}}}|month={{{month}}}|day=01}}|01}}
+
{{#if:{{#var:purpose}}|<br>{{#replace:{{#replace:{{#replace:²²:Category:{{#var:purpose}}³³|¦|³³, ²²:Category:}}|²|[}}|³|]}}}}
|02={{#if: {{#dpl:debug=0|category=Events|titlematch={{{year}}}/{{{month}}}/02%}}|'''[[02]]'''|02}}
+
|[[Special:Call/:{{{basepage}}},year={{#time:Y|{{{year}}}-{{{month}}}-03 +1 month}},month={{#time:m|{{{year}}}-{{{month}}}-03 +1 month}},basepage={{{basepage}}},eventList={{{eventList|}}},purpose={{#var:purpose}},nolink={{#var:nolink}},noadd={{#var:noadd}},show={{#var:show}},namespace={{#var:namespace}},width={{#var:width}}|>>]]
|03=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 3|3]]
+
|- style="background-color: LightSteelBlue; border: none;"
|04=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 4|4]]
+
|width=14%|Mo
|05=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 5|5]]
+
|width=14%|Tu
|06=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 6|6]]
+
|width=14%|We
|07=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 7|7]]
+
|width=14%|Th
|08=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 8|8]]
+
|width=14%|Fr
|09=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 9|9]]
+
|width=14%|Sa
|10=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 10|10]]
+
|width=14%|Su
|11=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 11|11]]
+
|-
|12=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 12|12]]
+
{{Calendar/MonthStart{{#time:D|{{{year}}}-{{{month}}}-16}}<!-- change to '15' if months start at the wrong day -->
|13=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 13|13]]
+
|01={{Calendar link|year={{{year}}}|month={{{month}}}|day=01}}
|14=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 14|14]]
+
|02={{Calendar link|year={{{year}}}|month={{{month}}}|day=02}}
|15=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 15|15]]
+
|03={{Calendar link|year={{{year}}}|month={{{month}}}|day=03}}
|16=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 16|16]]
+
|04={{Calendar link|year={{{year}}}|month={{{month}}}|day=04}}
|17=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 17|17]]
+
|05={{Calendar link|year={{{year}}}|month={{{month}}}|day=05}}
|18=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 18|18]]
+
|06={{Calendar link|year={{{year}}}|month={{{month}}}|day=06}}
|19=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 19|19]]
+
|07={{Calendar link|year={{{year}}}|month={{{month}}}|day=07}}
|20=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 20|20]]
+
|08={{Calendar link|year={{{year}}}|month={{{month}}}|day=08}}
|21=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 21|21]]
+
|09={{Calendar link|year={{{year}}}|month={{{month}}}|day=09}}
|22=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 22|22]]
+
|10={{Calendar link|year={{{year}}}|month={{{month}}}|day=10}}
|23=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 23|23]]
+
|11={{Calendar link|year={{{year}}}|month={{{month}}}|day=11}}
|24=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 24|24]]
+
|12={{Calendar link|year={{{year}}}|month={{{month}}}|day=12}}
|25=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 25|25]]
+
|13={{Calendar link|year={{{year}}}|month={{{month}}}|day=13}}
|26=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 26|26]]
+
|14={{Calendar link|year={{{year}}}|month={{{month}}}|day=14}}
|27=[[{{#time:F|{{{year}}}-{{{month}}}-01}} 27|27]]
+
|15={{Calendar link|year={{{year}}}|month={{{month}}}|day=15}}
|28={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 28|[[{{#time:F|{{{year}}}-{{{month}}}-01}} 28|28]]}}<!-- May not exist -->
+
|16={{Calendar link|year={{{year}}}|month={{{month}}}|day=16}}
|29={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 29|[[{{#time:F|{{{year}}}-{{{month}}}-01}} 29|29]]}}<!-- May not exist -->
+
|17={{Calendar link|year={{{year}}}|month={{{month}}}|day=17}}
|30={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 30|[[{{#time:F|{{{year}}}-{{{month}}}-01}} 30|30]]}}<!-- May not exist -->
+
|18={{Calendar link|year={{{year}}}|month={{{month}}}|day=18}}
|31={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 31|[[{{#time:F|{{{year}}}-{{{month}}}-01}} 31|31]]}}<!-- May not exist -->
+
|19={{Calendar link|year={{{year}}}|month={{{month}}}|day=19}}
 +
|20={{Calendar link|year={{{year}}}|month={{{month}}}|day=20}}
 +
|21={{Calendar link|year={{{year}}}|month={{{month}}}|day=21}}
 +
|22={{Calendar link|year={{{year}}}|month={{{month}}}|day=22}}
 +
|23={{Calendar link|year={{{year}}}|month={{{month}}}|day=23}}
 +
|24={{Calendar link|year={{{year}}}|month={{{month}}}|day=24}}
 +
|25={{Calendar link|year={{{year}}}|month={{{month}}}|day=25}}
 +
|26={{Calendar link|year={{{year}}}|month={{{month}}}|day=26}}
 +
|27={{Calendar link|year={{{year}}}|month={{{month}}}|day=27}}
 +
|28={{Calendar link|year={{{year}}}|month={{{month}}}|day=28}}
 +
|29={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-15}} >= 29|{{Calendar link|year={{{year}}}|month={{{month}}}|day=29}}|&nbsp;}}<!-- May not exist -->
 +
|30={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-15}} >= 30|{{Calendar link|year={{{year}}}|month={{{month}}}|day=30}}|&nbsp;}}<!-- May not exist -->
 +
|31={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-15}} >= 31|{{Calendar link|year={{{year}}}|month={{{month}}}|day=31}}|&nbsp;}}<!-- May not exist -->
 
|year={{#if:{{{show_year|}}}|{{{year}}}}}
 
|year={{#if:{{{show_year|}}}|{{{year}}}}}
 
}}
 
}}
</includeonly>
+
|- style="background-color: LightSteelBlue;"
 +
{{#if:{{{year|}}}|
 +
{{!}}colspan="7" align=center{{!}}'''{{{year}}}'''
 +
}}
 +
|- style="background-color: LightSteelBlue;"
 +
|colspan=2|&nbsp;
 +
|colspan=3|&nbsp;
 +
|colspan=2|
 +
{{#switch:{{{eventList|}}}
 +
|all=[[Special:Call/Calendar month,eventList=current,basepage=Current events,year={{{year|}}},month={{{month|}}},purpose={{#var:purpose}}|current events]]
 +
|no=[[Special:Call/Calendar month,eventList=current,basepage=Current events,year={{{year|}}},month={{{month|}}},purpose={{#var:purpose}}|current events]]
 +
|current=[[Special:Call/Calendar month,eventList=all,basepage=Current events,year={{{year|}}},month={{{month|}}},purpose={{#var:purpose}}|all events]]
 +
}}
 +
|}
 +
</includeonly><noinclude>[[Category:Calendar Templates]]</noinclude>

Latest revision as of 09:42, 26 December 2007