This is a documentation subpage for User:Amit6/m3. It may contain usage information, categories and other content that is not part of the original user template page. |
Display a month calendar. This template assembles the right parameters for use by User:Amit6/m3/2. This makes Template:User:Amit6/m3 easier to use than User:Amit6/m3/2. The separate templates (User:Amit6/m3 and User:Amit6/m3/2) saves calculations.
Parameters
edit- 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 etc.
- 3
- 0 in standard year, 1 in leap year.
- weekcolour
- Colour of the week column, default is green.
none
will to suppress this column. - satcolour
- Colour of the Sunday and Saturday columns.
- suncolour
- Colour of the Sunday, default is blue.
none
will use the default link color. - style
- An optional Cascading Style Sheets value used by the table.
Examples
editApril | ||||||
---|---|---|---|---|---|---|
Mon | Tue | Wed | Thu | Fri | Sat | Sun |
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
{{User:Amit6/m3|4|2|0|weekcolour=none |suncolour=DarkGray}}
May | |||||||
---|---|---|---|---|---|---|---|
wk | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
18 | 1 | 2 | 3 | 4 | |||
19 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
20 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
21 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
22 | 26 | 27 | 28 | 29 | 30 | 31 |
{{User:Amit6/m3|5|3|1|weekcolour=blue}}
See also
edit- {{Calendar}} - Full year calendar
- {{CalendarCustom}} - Uses the #time: parser function to automatically compute dates for calendar starting 1 January 1970.