Difference between revisions of "Template:Calendar/Month"

From Geohashing
imported>Tjtrumpet2323
m
imported>Tjtrumpet2323
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{Calendar/Sun1stMonthStart{{#time:D|{{CURRENTYEAR}}-{{CURRENTMONTH}}-01 +1 second}}
+
{{Calendar/Sun1stMonthStart{{#time:D|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01 +1 second}}
|cur_month=[[{{#time:Y-m|{{CURRENTYEAR}}-{{CURRENTMONTH}}-01}}|{{#time:F Y|{{CURRENTYEAR}}-{{CURRENTMONTH}}-01}}]]
+
|cur_month=[[{{#time:Y-m|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}}|{{#time:F Y|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}}]]
|prev_month=[[{{#time:Y-m|{{CURRENTYEAR}}-{{CURRENTMONTH}}-01 last month}}|<<]]
+
|prev_month=[[{{#time:Y-m|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01 last month}}|<<]]
|next_month=[[{{#time:Y-m|{{CURRENTYEAR}}-{{CURRENTMONTH}}-01 next month}}|>>]]
+
|next_month=[[{{#time:Y-m|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01 next month}}|>>]]
|01=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-01}}|1]]
+
|01=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}}|1]]
|02=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-02}}|2]]
+
|02=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-02}}|2]]
|03=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-03}}|3]]
+
|03=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-03}}|3]]
|04=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-04}}|4]]
+
|04=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-04}}|4]]
|05=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-05}}|5]]
+
|05=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-05}}|5]]
|06=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-06}}|6]]
+
|06=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-06}}|6]]
|07=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-07}}|7]]
+
|07=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-07}}|7]]
|08=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-08}}|8]]
+
|08=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-08}}|8]]
|09=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-09}}|9]]
+
|09=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-09}}|9]]
|10=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-10}}|10]]
+
|10=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-10}}|10]]
|11=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-11}}|11]]
+
|11=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-11}}|11]]
|12=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-12}}|12]]
+
|12=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-12}}|12]]
|13=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-13}}|13]]
+
|13=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-13}}|13]]
|14=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-14}}|14]]
+
|14=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-14}}|14]]
|15=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-15}}|15]]
+
|15=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-15}}|15]]
|16=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-16}}|16]]
+
|16=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-16}}|16]]
|17=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-17}}|17]]
+
|17=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-17}}|17]]
|18=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-18}}|18]]
+
|18=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-18}}|18]]
|19=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-19}}|19]]
+
|19=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-19}}|19]]
|20=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-20}}|20]]
+
|20=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-20}}|20]]
|21=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-21}}|21]]
+
|21=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-21}}|21]]
|22=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-22}}|22]]
+
|22=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-22}}|22]]
|23=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-23}}|23]]
+
|23=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-23}}|23]]
|24=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-24}}|24]]
+
|24=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-24}}|24]]
|25=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-25}}|25]]
+
|25=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-25}}|25]]
|26=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-26}}|26]]
+
|26=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-26}}|26]]
|27=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-27}}|27]]
+
|27=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-27}}|27]]
|28=[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-28}}|28]]
+
|28=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-28}}|28]]
|29={{#ifexpr:{{#time:t|{{CURRENTYEAR}}-{{CURRENTMONTH}}-01}} >= 29|[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-29}}|29]]}} <!-- Suppress if does not exist -->
+
|29={{#ifexpr:{{#time:t|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} >= 29|[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-29}}|29]]}} <!-- Suppress if does not exist -->
|30={{#ifexpr:{{#time:t|{{CURRENTYEAR}}-{{CURRENTMONTH}}-01}} >= 30|[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-30}}|30]]}} <!-- Suppress if does not exist -->
+
|30={{#ifexpr:{{#time:t|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} >= 30|[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-30}}|30]]}} <!-- Suppress if does not exist -->
|31={{#ifexpr:{{#time:t|{{CURRENTYEAR}}-{{CURRENTMONTH}}-01}} >= 31|[[{{#time:Y-m-d|{{CURRENTYEAR}}-{{CURRENTMONTH}}-31}}|31]]}} <!-- Suppress if does not exist -->
+
|31={{#ifexpr:{{#time:t|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} >= 31|[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-31}}|31]]}} <!-- Suppress if does not exist -->
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
== Description ==
 
== Description ==

Revision as of 14:34, 30 May 2008

Description

This template allows the display of any monthly calendar (from 1970-2037).

Usage

{{Calendar/Month}} Displays the current month's calendar.

Parameters: The following parameters can be used to display any calendar:

  • year=year (four digit year, e.g. year=2008, valid years are 1970-2037) - default = {{CURRENTYEAR}}
  • month=month (Full month name or number, e.g. month=March or month=03) - default = {{CURRENTMONTH}}

See also

A similar template on Wikipedia