Template:ISOCALENDAR/doc

From Encyclopedia Thelemica
Jump to navigationJump to search

Usage

See examples below

Parametre

Example 1

(for comparison "{{CURRENTWEEKDATE}}" gives "2021-W09-4" [1])

{{ISOCALENDAR|{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}|y={{CURRENTYEAR}}|m={{CURRENTMONTH}}|cw={{CURRENTISOWEEK}}|cdow={{CURRENTISOWEEKDAY}}}} gives:

4 March 2021
Wk Mo Tu We Th Fr Sa Su
(9) 1 2 3 4 5 6 7
(10) 8 9 10 11 12 13 14
(11) 15 16 17 18 19 20 21
(12) 22 23 24 25 26 27 28
(13) 29 30 31 1 2 3 4



Example 2

(for comparison "{{ISOWEEKDATE|2006|06|10}}" gives "2006-W23-6" [2])

{{ISOCALENDAR|{{monthname|6}} 2006 |y=2006|m=6|s=10|cw=23|cdow=6}} gives:

Template:Monthname 2006
Wk Mo Tu We Th Fr Sa Su
(22) 29 30 31 1 2 3 4
(23) 5 6 7 8 9 10 11
(24) 12 13 14 15 16 17 18
(25) 19 20 21 22 23 24 25
(26) 26 27 28 29 30 1 2



Example 3

{{ISOCALENDAR|{{monthname|1}} 2007|y=2007|m=1|s=10}}

Template:Monthname 2007
Wk Mo Tu We Th Fr Sa Su
(1) 1 2 3 4 5 6 7
(2) 8 9 10 11 12 13 14
(3) 15 16 17 18 19 20 21
(4) 22 23 24 25 26 27 28
(5) 29 30 31 1 2 3 4



Example 4

{{ISOCALENDAR|{{monthname|12}} 2008|y=2008|m=12|s=10|cw=01|cdow=3}}

Template:Monthname 2008
Wk Mo Tu We Th Fr Sa Su
(49) 1 2 3 4 5 6 7
(50) 8 9 10 11 12 13 14
(51) 15 16 17 18 19 20 21
(52) 22 23 24 25 26 27 28
(1) 29 30 31 1 2 3 4
(1) 29 30 31 1 2 3 4




See also