Template:Month3
外观
Display a month calendar. This template assembles the right parameters for use by Template:Month3/2. This makes Template:Month3 easier to use than Month3/2. The separate templates (Month3 and Month3/2) saves calculations.
参数
[编辑]- 1
- 月份数:如果2月有29天,使用数字0。
- 2
- 起始日:如果以星期一开始使用0,星期二开始使用1,依此类推。
- 3
- 0为平年,1为闰年。
- weekcolour
- Colour of the week column, default is green.
nonewill to suppress this column. - satcolour
- Colour of the Sunday and Saturday columns.
- suncolour
- Colour of the Sunday, default is blue.
nonewill use the default link color. - style
- An optional Cascading Style Sheets value used by the table.
例子
[编辑]| 4月 | ||||||
|---|---|---|---|---|---|---|
| 一 | 二 | 三 | 四 | 五 | 六 | 日 |
| 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 | |||
{{Month3|4|2|0|weekcolour=none
|suncolour=DarkGray}}
| 5月 | |||||||
|---|---|---|---|---|---|---|---|
| 周 | 一 | 二 | 三 | 四 | 五 | 六 | 日 |
| 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 | |
{{Month3|5|3|1|weekcolour=blue}}
参见
[编辑]- {{Calendar}} - Full year calendar
- {{CalendarCustom}} - Uses the #time: parser function to automatically compute dates for calendar starting 1 Jan 1970.