Template:One page calendar/doc
Appearance
![]() | This is a documentation subpage for Template:One page calendar. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]A calendar for any Gregorian year including leap years.
Examples
[edit]{{One page calendar|year=1963}}
1963 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Date | Sep | Apr | Jan | May | Aug | Feb | Jun | ||||
Dec | Jul | Oct | Mar | ||||||||
Nov | |||||||||||
1 | 8 | 15 | 22 | 29 | Sun | Mon | Tue | Wed | Thu | Fri | Sat |
2 | 9 | 16 | 23 | 30 | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
3 | 10 | 17 | 24 | 31 | Tue | Wed | Thu | Fri | Sat | Sun | Mon |
4 | 11 | 18 | 25 | Wed | Thu | Fri | Sat | Sun | Mon | Tue | |
5 | 12 | 19 | 26 | Thu | Fri | Sat | Sun | Mon | Tue | Wed | |
6 | 13 | 20 | 27 | Fri | Sat | Sun | Mon | Tue | Wed | Thu | |
7 | 14 | 21 | 28 | Sat | Sun | Mon | Tue | Wed | Thu | Fri |
{{One page calendar|year=2024|caption=Leap year}}
2024 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Date | Sep | Jan | Oct | May | Feb | Mar | Jun | ||||
Dec | Apr | Aug | Nov | ||||||||
Jul | |||||||||||
1 | 8 | 15 | 22 | 29 | Sun | Mon | Tue | Wed | Thu | Fri | Sat |
2 | 9 | 16 | 23 | 30 | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
3 | 10 | 17 | 24 | 31 | Tue | Wed | Thu | Fri | Sat | Sun | Mon |
4 | 11 | 18 | 25 | Wed | Thu | Fri | Sat | Sun | Mon | Tue | |
5 | 12 | 19 | 26 | Thu | Fri | Sat | Sun | Mon | Tue | Wed | |
6 | 13 | 20 | 27 | Fri | Sat | Sun | Mon | Tue | Wed | Thu | |
7 | 14 | 21 | 28 | Sat | Sun | Mon | Tue | Wed | Thu | Fri |
{{One page calendar|table-style=float:right}}
2024 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Date | Sep | Jan | Oct | May | Feb | Mar | Jun | ||||
Dec | Apr | Aug | Nov | ||||||||
Jul | |||||||||||
1 | 8 | 15 | 22 | 29 | Sun | Mon | Tue | Wed | Thu | Fri | Sat |
2 | 9 | 16 | 23 | 30 | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
3 | 10 | 17 | 24 | 31 | Tue | Wed | Thu | Fri | Sat | Sun | Mon |
4 | 11 | 18 | 25 | Wed | Thu | Fri | Sat | Sun | Mon | Tue | |
5 | 12 | 19 | 26 | Thu | Fri | Sat | Sun | Mon | Tue | Wed | |
6 | 13 | 20 | 27 | Fri | Sat | Sun | Mon | Tue | Wed | Thu | |
7 | 14 | 21 | 28 | Sat | Sun | Mon | Tue | Wed | Thu | Fri |
Parameters
[edit]|year=
– the year for which this calendar is to be rendered; defaults to current year|table-style=
– css style string suitable for use in an html style="" attribute; applies to the whole table; do not use quotes; defaults to empty string|caption=
– a caption that replaces the default caption; default caption automatically inserts day name on which 1 January occurs; this is not possible for custom captions|lang-tag=
– mostly useful for debugging; takes a MediaWiki-supported language tag in which this calendar is to be rendered; defaults to wiki's own language; caveat lector: mw:Help:Extension:ParserFunctions##time indicates that day names are 'rarely internationalized.' To use this module on wikis that do not have internationalized day names, will likely require some sort of custom code.