Jump to content

User:HandigeHarry~enwiki/Month3: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
test
Line 19: Line 19:
</noinclude><includeonly>{{MonthRg|{{#switch:{{{1}}}<!--names of Months-->
</noinclude><includeonly>{{MonthRg|{{#switch:{{{1}}}<!--names of Months-->
|0=February
|0=February
|1=January
|2=February
|3=March
|4=April
|5=May
|6=June
|7=July
|8=August
|9=September
|10=October
|11=November
|12=December
}}|{{{2}}}|{{#switch:{{{1}}}<!--length of Months-->
}}|{{{2}}}|{{#switch:{{{1}}}<!--length of Months-->
|0=29
|0=29

Revision as of 23:02, 27 November 2007

Display a month calendar. This template assembles the right parameters for use by Template:MonthRg. This makes Template:Month3 easier to use than MonthRg. The separate templates (Month3 and MonthRg) prevent that MonthRg performs the same calculation many times.

parameters:
1: number of Month: if February has 29 days, use number 0.
2: initial day: 0 if the month starts on Monday, 1 if the month starts on Tuesday etx.
3: 0 in standard year, 1 in leap year
weekcolour: colour of the week column. Default is green. Use "none" to suppress this column.
suncolour and satcolour: colour of the Sunday and Saturday columns. Default is red. Use "none" to use no particular colour.
Note that "none" does noet mean the same in 'weekcolour' and 'sun/satcolour'.

Template:Month3 Template:Month3