Difference between revisions of "Template:Calendar/month"

From Geohashing
imported>Tjtrumpet2323
(New page: <includeonly> {{Calendar/Sun1stMonthStart{{#time:D|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01 +1 second}} |cur_month=[[{{#time:Y-m|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CUR...)
 
imported>Tjtrumpet2323
m (Redirecting to Template:Calendar/Month)
 
Line 1: Line 1:
<includeonly>
+
#REDIRECT [[Template:Calendar/Month]]
{{Calendar/Sun1stMonthStart{{#time:D|{{{year|{{CURRENTYEAR}}}}}-{{{month|{{CURRENTMONTH}}}}}-01 +1 second}}
 
|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 ==
 
This template allows the display of any monthly calendar (from 1970-2037).
 
 
 
== Usage ==
 
<nowiki>{{Calendar/Month}}</nowiki>: Displays the current month's calendar.<br>
 
Parameters:
 
The following parameters can be used to display any calendar
 
*<code>year=''year''</code> (four digit year, e.g. year=2008, valid years are 1970-2037) - default = <code><nowiki>{{CURRENTYEAR}}</nowiki></code>
 
*<code>month=''month''</code> (Full month name or number, e.g. month=March or month=03) - default = <code><nowiki>{{CURRENTMONTH}}</nowiki></code>
 
 
 
== Sample ==
 
{{Calendar/Month}}
 
 
 
== See also ==
 
[[wikipedia:Template:CalendarCustom|This template on Wikipedia]]
 
</noinclude>
 

Latest revision as of 01:20, 25 May 2008