Example

August 2009

Su

Mo

Tu

We

Th

Fr

Sa

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

31

Code used above:

[[include inc:month2
|year=2009
|leap-year=FALSE
|month=august
|first=saturday
]]

October 2009

Su

Mo

Tu

We

Th

Fr

Sa

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

31

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
A
N

F
E
B

M
A
R

A
P
R

M
A
Y

J
U
N

J
U
L

A
U
G

S
E
P

O
C
T

N
O
V

D
E
C

2009

Su

Mo

Tu

We

Th

Fr

Sa

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

31

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

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

31

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

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

[[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

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

[[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

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

[[include inc:month2
|width=400px
|year=2009
|leap-year=TRUE
|month=september
|first=tuesday
]]

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License