Difference between revisions of "Template:CalendarSingle zh-tw"
From FollowTheScore
Roc michael (talk | contribs) |
m (Reverted edits by Gero (Talk); changed back to last version by Roc michael) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
|colspan="5" style="text-align: center;"| | |colspan="5" style="text-align: center;"| | ||
'''{{#time:F|{{{year}}}-{{{month}}}-03}} ({{#time:n|{{{year}}}-{{{month}}}-03}}月)''' | '''{{#time:F|{{{year}}}-{{{month}}}-03}} ({{#time:n|{{{year}}}-{{{month}}}-03}}月)''' | ||
− | {{#if:{{#var:purpose}}|<br>{{#replace:{{#replace:{{#replace:²²:Category:{{#var:purpose}}³³|¦|³³, ²²:Category:}}|²|[}}|³|]}}}} | + | {{#if:{{#var:purpose}} |
+ | |<br>{{#replace: | ||
+ | {{#replace: | ||
+ | {{#replace:²²:Category:{{#var:purpose}}³³ | ||
+ | |¦ | ||
+ | |³³, ²²:Category: | ||
+ | }} | ||
+ | |² | ||
+ | |[ | ||
+ | }} | ||
+ | |³ | ||
+ | |] | ||
+ | }} | ||
+ | }} | ||
|[[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}}|>>]] | |[[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}}|>>]] | ||
|- style="background-color: LightSteelBlue; border: none;" | |- style="background-color: LightSteelBlue; border: none;" | ||
Line 17: | Line 30: | ||
|- | |- | ||
{{Calendar/MonthStart{{#time:D|{{{year}}}-{{{month}}}-01 +1 second}} | {{Calendar/MonthStart{{#time:D|{{{year}}}-{{{month}}}-01 +1 second}} | ||
− | |01={{Calendar link | + | |01={{Calendar link|year={{{year}}}|month={{{month}}}|day=01}} |
− | |02={{Calendar link | + | |02={{Calendar link|year={{{year}}}|month={{{month}}}|day=02}} |
− | |03={{Calendar link | + | |03={{Calendar link|year={{{year}}}|month={{{month}}}|day=03}} |
− | |04={{Calendar link | + | |04={{Calendar link|year={{{year}}}|month={{{month}}}|day=04}} |
− | |05={{Calendar link | + | |05={{Calendar link|year={{{year}}}|month={{{month}}}|day=05}} |
− | |06={{Calendar link | + | |06={{Calendar link|year={{{year}}}|month={{{month}}}|day=06}} |
− | |07={{Calendar link | + | |07={{Calendar link|year={{{year}}}|month={{{month}}}|day=07}} |
− | |08={{Calendar link | + | |08={{Calendar link|year={{{year}}}|month={{{month}}}|day=08}} |
− | |09={{Calendar link | + | |09={{Calendar link|year={{{year}}}|month={{{month}}}|day=09}} |
− | |10={{Calendar link | + | |10={{Calendar link|year={{{year}}}|month={{{month}}}|day=10}} |
− | |11={{Calendar link | + | |11={{Calendar link|year={{{year}}}|month={{{month}}}|day=11}} |
− | |12={{Calendar link | + | |12={{Calendar link|year={{{year}}}|month={{{month}}}|day=12}} |
− | |13={{Calendar link | + | |13={{Calendar link|year={{{year}}}|month={{{month}}}|day=13}} |
− | |14={{Calendar link | + | |14={{Calendar link|year={{{year}}}|month={{{month}}}|day=14}} |
− | |15={{Calendar link | + | |15={{Calendar link|year={{{year}}}|month={{{month}}}|day=15}} |
− | |16={{Calendar link | + | |16={{Calendar link|year={{{year}}}|month={{{month}}}|day=16}} |
− | |17={{Calendar link | + | |17={{Calendar link|year={{{year}}}|month={{{month}}}|day=17}} |
− | |18={{Calendar link | + | |18={{Calendar link|year={{{year}}}|month={{{month}}}|day=18}} |
− | |19={{Calendar link | + | |19={{Calendar link|year={{{year}}}|month={{{month}}}|day=19}} |
− | |20={{Calendar link | + | |20={{Calendar link|year={{{year}}}|month={{{month}}}|day=20}} |
− | |21={{Calendar link | + | |21={{Calendar link|year={{{year}}}|month={{{month}}}|day=21}} |
− | |22={{Calendar link | + | |22={{Calendar link|year={{{year}}}|month={{{month}}}|day=22}} |
− | |23={{Calendar link | + | |23={{Calendar link|year={{{year}}}|month={{{month}}}|day=23}} |
− | |24={{Calendar link | + | |24={{Calendar link|year={{{year}}}|month={{{month}}}|day=24}} |
− | |25={{Calendar link | + | |25={{Calendar link|year={{{year}}}|month={{{month}}}|day=25}} |
− | |26={{Calendar link | + | |26={{Calendar link|year={{{year}}}|month={{{month}}}|day=26}} |
− | |27={{Calendar link | + | |27={{Calendar link|year={{{year}}}|month={{{month}}}|day=27}} |
|28={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 28 | |28={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 28 | ||
− | |{{Calendar link | + | |{{Calendar link|year={{{year}}}|month={{{month}}}|day=28}}}}<!-- May not exist --> |
− | |||
− | |||
− | |||
|29={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 29 | |29={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 29 | ||
− | |{{Calendar link | + | |{{Calendar link|year={{{year}}}|month={{{month}}}|day=29}}}}<!-- May not exist --> |
− | |||
− | |||
− | |||
− | |||
|30={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 30 | |30={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 30 | ||
− | |{{Calendar link | + | |{{Calendar link|year={{{year}}}|month={{{month}}}|day=30}}}}<!-- May not exist --> |
− | |||
− | |||
− | |||
− | |||
|31={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 31 | |31={{#ifexpr:{{#time:t|{{{year}}}-{{{month}}}-01}} >= 31 | ||
− | |{{Calendar link | + | |{{Calendar link|year={{{year}}}|month={{{month}}}|day=31}}}}<!-- May not exist --> |
− | |||
− | |||
− | |||
− | |||
|year={{#if:{{{show_year|}}}|{{{year}}}}} | |year={{#if:{{{show_year|}}}|{{{year}}}}} | ||
}} | }} | ||
Line 78: | Line 76: | ||
|colspan=2| | |colspan=2| | ||
{{#switch:{{{eventList|}}} | {{#switch:{{{eventList|}}} | ||
− | |all=[[Special:Call/Calendar month | + | |all=[[Special:Call/Calendar month,eventList=current,basepage=Current events,year={{{year|}}},month={{{month|}}},purpose={{#var:purpose}}|current events]] |
− | |no=[[Special:Call/Calendar month | + | |no=[[Special:Call/Calendar month,eventList=current,basepage=Current events,year={{{year|}}},month={{{month|}}},purpose={{#var:purpose}}|current events]] |
− | |current=[[Special:Call/Calendar month | + | |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> | </includeonly><noinclude>[[Category:Calendar Templates]]</noinclude> |