|
|
Line 1: |
Line 1: |
| <includeonly>{{#if:{{{1|}}} | | <includeonly> |
| |{{calendar/{{{1}}}
| | {{Calendar/{{{format|Sun1st}}}MonthStart{{#time:D|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01 +1 second}} |
| |year={{{year|{{#time:Y}}}}}
| | |float={{{float|none}}} |
| |base={{{base|{{#titleparts:{{PAGENAME}}|2}}}}}
| | |clear={{{clear|none}}} |
| |sub={{#titleparts:{{PAGENAME}}/XXX|1|3}}
| | |cur_month=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}}]] |
| |titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
| | |prev_month={{#ifeq:{{{prevnext}}}|off||[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01 last month}}|<<]]}} |
| |background-color:{{{title_colour|{{{colour}}}}}};
| | |next_month={{#ifeq:{{{prevnext}}}|off||[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01 next month}}|>>]]}} |
| }}
| | |01=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 1|1]] |
| |weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
| | |02=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 2|2]] |
| |background-color:{{{week_colour|{{{colour}}}}}};
| | |03=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 3|3]] |
| }}
| | |04=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 4|4]] |
| }}
| | |05=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 5|5]] |
| |{{#ifeq:{{NAMESPACE}}|Portal
| | |06=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 6|6]] |
| |{{calendar/portal
| | |07=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 7|7]] |
| |base={{{base|{{#titleparts:{{PAGENAME}}|2}}}}}
| | |08=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 8|8]] |
| |sub={{#titleparts:{{PAGENAME}}/XXX|1|3}}
| | |09=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 9|9]] |
| |title={{{title|}}}
| | |10=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 10|10]] |
| |col={{{col|4}}}
| | |11=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 11|11]] |
| |tm={{{txt_pref_m|}}}
| | |12=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 12|12]] |
| |mt={{{txt_suff_m|}}}
| | |13=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 13|13]] |
| |lm={{{lk_pref_m|{{{lk_pref|}}}}}}
| | |14=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 14|14]] |
| |ml={{{lk_suff_m|{{{lk_suff|}}}}}}
| | |15=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 15|15]] |
| |lm>={{{lk_pref_mnext|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
| | |16=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 16|16]] |
| |lm<={{{lk_pref_mprev|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
| | |17=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 17|17]] |
| |ml>={{{lk_suff_mnext|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
| | |18=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 18|18]] |
| |ml<={{{lk_suff_mprev|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
| | |19=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 19|19]] |
| |ld={{{lk_pref_d|{{{lk_pref|}}}}}}
| | |20=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 20|20]] |
| |dl={{{lk_suff_d|{{{lk_suff|}}}}}}
| | |21=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 21|21]] |
| |month={{{month|}}}
| | |22=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 22|22]] |
| |year={{{year|{{#time:Y}}}}}
| | |23=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 23|23]] |
| |show_year={{{show_year|off}}}
| | |24=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 24|24]] |
| |F={{#ifeq:{{{show_year|on}}}|with month|F Y|F}}
| | |25=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 25|25]] |
| |format={{{format|Sun1st}}}
| | |26=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 26|26]] |
| |float={{{float|right}}}
| | |27=[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 27|27]] |
| |clear={{{clear|none}}}
| | |28={{#ifexpr:{{#time:t|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} >= 28|[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 28|28]]}}<!-- May not exist --> |
| |EndNote={{{EndNote|}}}
| | |29={{#ifexpr:{{#time:t|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} >= 29|[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 29|29]]}}<!-- May not exist --> |
| |prevnext={{{prevnext|on}}}
| | |30={{#ifexpr:{{#time:t|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} >= 30|[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 30|30]]}}<!-- May not exist --> |
| |titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
| | |31={{#ifexpr:{{#time:t|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} >= 31|[[{{#time:F|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} 31|31]]}}<!-- May not exist --> |
| |background-color:{{{title_colour|{{{colour}}}}}};
| | |year={{#if:{{{show_year|}}}|{{{year|{{CURRENTYEAR}}}}}}} |
| }}
| |
| |weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
| |
| |background-color:{{{week_colour|{{{colour}}}}}};
| |
| }}
| |
| }}
| |
| |{{#iferror:{{#time:|{{PAGENAME}}}}
| |
| |{{#if:{{{month|}}}
| |
| |{{calendar/month/link {{#if:{{{lk_pref|}}}{{{lk_pref_d|}}}{{{lk_pref_m|}}}<!--
| |
| -->{{{lk_suff|}}}{{{lk_suff_d|}}}{{{lk_suff_m|}}}<!--
| |
| -->{{{lk_suff_mprev|}}}{{{lk_suff_mnext|}}}
| |
| |{{#if:{{{lk_pref_d|{{{lk_pref|}}}}}}{{{lk_suff_d|{{{lk_suff|}}}}}}
| |
| |d
| |
| }}{{#if:{{{lk_pref_m|{{{lk_pref|}}}}}}{{{lk_suff_m|{{{lk_suff|}}}}}}<!--
| |
| -->{{{lk_suff_mprev|}}}{{{lk_suff_mnext|}}}
| |
| |m
| |
| }}
| |
| |{{{lk|off}}}
| |
| }}
| |
| |tm={{{txt_pref_m|}}}
| |
| |mt={{{txt_suff_m|}}}
| |
| |lm={{{lk_pref_m|{{{lk_pref|}}}}}}
| |
| |ml={{{lk_suff_m|{{{lk_suff|}}}}}}
| |
| |lm>={{{lk_pref_mnext|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
| |
| |lm<={{{lk_pref_mprev|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
| |
| |ml>={{{lk_suff_mnext|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
| |
| |ml<={{{lk_suff_mprev|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
| |
| |ld={{{lk_pref_d|{{{lk_pref|}}}}}}
| |
| |dl={{{lk_suff_d|{{{lk_suff|}}}}}}
| |
| |month={{#switch:{{{month}}}
| |
| |current={{#time:F}}
| |
| |next={{#time:F|next month}}
| |
| |last={{#time:F|last month}}
| |
| |{{{month}}}
| |
| }}
| |
| |year={{{year|{{#time:Y}}}}}
| |
| |show_year={{#ifeq:{{{show_year|on}}}|on|on|off}}
| |
| |F={{#ifeq:{{{show_year|on}}}|with month|F Y|F}}
| |
| |format={{{format|Sun1st}}}
| |
| |float={{{float|none}}}
| |
| |clear={{{clear|none}}}
| |
| |EndNote={{{EndNote|}}}
| |
| |prevnext={{#if:{{{lk_pref_m|{{{lk_pref|}}}}}}{{{lk_suff_m|{{{lk_suff|}}}}}}<!--
| |
| -->{{{lk_suff_mprev|}}}{{{lk_suff_mnext|}}}
| |
| |{{{prevnext|on}}}
| |
| |{{{prevnext|off}}}
| |
| }}
| |
| |titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
| |
| |background-color:{{{title_colour|{{{colour}}}}}};
| |
| }}
| |
| |weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
| |
| |background-color:{{{week_colour|{{{colour}}}}}};
| |
| }}
| |
| }}
| |
| |{{calendar/{{{col|4}}}-column
| |
| |title={{{title|}}}
| |
| |year={{{year|{{#time:Y}}}}}
| |
| |show_year={{#ifeq:{{{show_year|on}}}|on|on|off}}
| |
| |F={{#ifeq:{{{show_year|on}}}|with month|F Y|F}}
| |
| |format={{{format|Sun1st}}}
| |
| |lk={{#if:{{{lk_pref|}}}{{{lk_pref_d|}}}{{{lk_pref_m|}}}<!--
| |
| -->{{{lk_suff|}}}{{{lk_suff_d|}}}{{{lk_suff_m|}}}<!--
| |
| -->{{{lk_suff_mprev|}}}{{{lk_suff_mnext|}}}
| |
| |{{#if:{{{lk_pref_d|{{{lk_pref|}}}}}}{{{lk_suff_d|{{{lk_suff|}}}}}}
| |
| |d
| |
| }}{{#if:{{{lk_pref_m|{{{lk_pref|}}}}}}{{{lk_suff_m|{{{lk_suff|}}}}}}<!--
| |
| -->{{{lk_suff_mprev|}}}{{{lk_suff_mnext|}}}
| |
| |m
| |
| }}
| |
| |{{{lk|off}}}
| |
| }}
| |
| |lk0={{{lk|off}}}
| |
| |tm={{{txt_pref_m|}}}
| |
| |mt={{{txt_suff_m|}}}
| |
| |lm={{{lk_pref_m|{{{lk_pref|}}}}}}
| |
| |ml={{{lk_suff_m|{{{lk_suff|}}}}}}
| |
| |lm>={{{lk_pref_mnext|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
| |
| |lm<={{{lk_pref_mprev|{{{lk_pref_m|{{{lk_pref|}}}}}}}}}
| |
| |ml>={{{lk_suff_mnext|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
| |
| |ml<={{{lk_suff_mprev|{{{lk_suff_m|{{{lk_suff|}}}}}}}}}
| |
| |ld={{{lk_pref_d|{{{lk_pref|}}}}}}
| |
| |dl={{{lk_suff_d|{{{lk_suff|}}}}}}
| |
| |EndNote={{{EndNote|}}}
| |
| |style={{{yearstyle|"background:none; float:{{{float|none}}}"}}}
| |
| |titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
| |
| |background-color:{{{title_colour|{{{colour}}}}}};
| |
| }}
| |
| |weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
| |
| |background-color:{{{week_colour|{{{colour}}}}}};
| |
| }}
| |
| }}
| |
| }}
| |
| |{{calendar/{{#ifeq:{{PAGENAME}}|{{#time:Y|{{PAGENAME}}}}
| |
| |{{{col|4}}}-column
| |
| |month/link {{{lk|on}}}
| |
| }}
| |
| |title={{{title|}}}
| |
| |year={{{year|{{#time:Y|{{PAGENAME}}}}}}}
| |
| |show_year={{#ifeq:{{PAGENAME}}|{{#time:F Y|{{PAGENAME}}}}|off|on}}
| |
| |F={{#ifeq:{{PAGENAME}}|{{#time:F Y|{{PAGENAME}}}}|F Y|F}}
| |
| |float={{{float|right}}}
| |
| |month={{{month|{{#time:F|{{PAGENAME}} 1}}}}}
| |
| |lk={{{lk|on}}}
| |
| |EndNote={{{EndNote|}}}
| |
| |titlestyle={{#if:{{{title_colour|{{{colour|}}}}}}
| |
| |background-color:{{{title_colour|{{{colour}}}}}};
| |
| }}
| |
| |weekstyle={{#if:{{{week_colour|{{{colour|}}}}}}
| |
| |background-color:{{{week_colour|{{{colour}}}}}};
| |
| }}
| |
| }}
| |
| }}
| |
| }}
| |
| }} | | }} |
| </includeonly> | | </includeonly> |
| <noinclude> [[category:Calendar template]] </noinclude> | | <noinclude> [[category:Calendar template]] </noinclude> |