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|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01 +1 second}}
+
{{Calendar/MonthSelected|year={{{year|{{CURRENTYEAR}} }}}|month={{{month|{{CURRENTMONTH}} }}} }}</includeonly><noinclude>
|cur_month=[[{{#time:Y-m|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}}|{{#time:F Y|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}}]]
 
|prev_month=[[{{#time:Y-m|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01 last month}}|<<]]
 
|next_month=[[{{#time:Y-m|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01 next month}}|>>]]
 
|01=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}}|1]]
 
|02=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-02}}|2]]
 
|03=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-03}}|3]]
 
|04=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-04}}|4]]
 
|05=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-05}}|5]]
 
|06=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-06}}|6]]
 
|07=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-07}}|7]]
 
|08=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-08}}|8]]
 
|09=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-09}}|9]]
 
|10=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-10}}|10]]
 
|11=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-11}}|11]]
 
|12=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-12}}|12]]
 
|13=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-13}}|13]]
 
|14=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-14}}|14]]
 
|15=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-15}}|15]]
 
|16=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-16}}|16]]
 
|17=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-17}}|17]]
 
|18=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-18}}|18]]
 
|19=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-19}}|19]]
 
|20=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-20}}|20]]
 
|21=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-21}}|21]]
 
|22=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-22}}|22]]
 
|23=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-23}}|23]]
 
|24=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-24}}|24]]
 
|25=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-25}}|25]]
 
|26=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-26}}|26]]
 
|27=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-27}}|27]]
 
|28=[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-28}}|28]]
 
|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|{{{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|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01}} >= 31|[[{{#time:Y-m-d|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-31}}|31]]}} <!-- Suppress if does not exist -->
 
}}</includeonly><noinclude>
 
 
== Description ==
 
== Description ==
 
This template allows the display of any monthly calendar (from 1970-2037).
 
This template allows the display of any monthly calendar (from 1970-2037).

Revision as of 14:39, 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