Difference between revisions of "Template:JanuaryCalendar"

From PoliceWiki
Line 1: Line 1:
 
<includeonly>{{Template:Calendar/Sun1stMonthStart{{#time:D|{{CURRENTYEAR}}0101}}
 
<includeonly>{{Template:Calendar/Sun1stMonthStart{{#time:D|{{CURRENTYEAR}}0101}}
 
|float={{{float|none}}}
 
|float={{{float|none}}}
|cur_month=[[January {{CURRENTYEAR}}]]
+
|cur_month=[[January]]
|prev_month=[[December {{#expr:{{CURRENTYEAR}}-1}}|<<]]
+
|prev_month=[[December|<<]]
|next_month=[[February {{CURRENTYEAR}}|>>]]
+
|next_month=[[February|>>]]
 
|01=[[January 1|1]]
 
|01=[[January 1|1]]
 
|02=[[January 2|2]]
 
|02=[[January 2|2]]

Revision as of 19:26, 28 January 2010


Description

This template displays the January calendar for the current year. Calls Template:Calendar/Sun1stMonthStartMon.
This template is self-maintaining and the starting day for the calendar (Mon above) is calculated using #time.

Usage

{{JanuaryCalendar}}: Displays the January calendar for the current year.

Parameters: The following parameters can be used to adjust the display of this calendar.

  • float=right/left (float the calendar left or right, e.g. {{JanuaryCalendar|float=left}}) - default = none

<< January >>
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
MMXXIV