Difference between revisions of "Template:CalendarSingle"

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