|
August 2009 Su Mo Tu We Th Fr Sa |
Code used above:
[[include inc:month2
|year=2009
|leap-year=FALSE
|month=august
|first=saturday
]]
|
October 2009 Su Mo Tu We Th Fr Sa |
To make the calendar float left, just surround the code with a floating div block:
[[div style="float: left;"]]
[[include inc:month2
|year=2009
|leap-year=FALSE
|month=october
|first=thursday
]]
[[/div]]
|
J F M A M J J A S O N D |
2009 Su Mo Tu We Th Fr Sa |
To project the rest of the remaining year (example on the right), use the following code:
[[div style="float: right; margin-left: 1em;"]]
[[include inc:year2
|year=2009
|leap-year=FALSE
|month=august
|first=saturday
]]
[[/div]]
LEAP YEARS!
If a particular year is a leap year, you must specify |leap-year=TRUE (and the capitalisation is very important).
|
February 2000 Su Mo Tu We Th Fr Sa |
[[include inc:month2
|year=2000
|leap-year=TRUE
|month=february
|first=tuesday
]]
By default, all calendar entries are stored in the “calendar” category. You can easily change this, however, to the category of your choice. Just specify |category=NEW_NAME
|
September 2009 Su Mo Tu We Th Fr Sa |
[[include inc:month2
|category=work
|year=2009
|leap-year=TRUE
|month=september
|first=tuesday
]]
Also by default, the width of the calendar is set to 200 pixels. You can specify a width with width=x:
|
September 2009 Su Mo Tu We Th Fr Sa |
[[include inc:month2
|width=400px
|year=2009
|leap-year=TRUE
|month=september
|first=tuesday
]]





