Difference between revisions of "Template:Calendar/Month"

From Geohashing
imported>Tjtrumpet2323
m
imported>Tjtrumpet2323
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{ #ifexpr: {{{archive|0}}} = 1
{{Calendar/MonthSelected|year={{{year|{{CURRENTYEAR}} }}}|month={{{month|{{CURRENTMONTH}} }}} }}</includeonly><noinclude>
+
| {{Calendar/MonthArchiveMode|year={{{year|{{CURRENTYEAR}} }}}|month={{{month|{{CURRENTMONTH}} }}} }}
 +
| {{Calendar/MonthSelected|year={{{year|{{CURRENTYEAR}} }}}|month={{{month|{{CURRENTMONTH}} }}} }} }}</includeonly><noinclude>
 
== Description ==
 
== Description ==
 +
{{intricate}}
 
This template allows the display of any monthly calendar (from 1970-2037).
 
This template allows the display of any monthly calendar (from 1970-2037).
  
Line 10: Line 12:
 
*<code>year=''year''</code> (four digit year, e.g. year=2008, valid years are 1970-2037) - default = <code><nowiki>{{CURRENTYEAR}}</nowiki></code>
 
*<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>
 
*<code>month=''month''</code> (Full month name or number, e.g. month=March or month=03) - default = <code><nowiki>{{CURRENTMONTH}}</nowiki></code>
 +
*<code>archive=1</code> Uses archive mode template which links to section anchor tags on a page, rather than individual date pages, as well as other superficial differences.</code>
  
 
== See also ==
 
== See also ==
 
[[wikipedia:Template:CalendarCustom|A similar template on Wikipedia]]
 
[[wikipedia:Template:CalendarCustom|A similar template on Wikipedia]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:39, 19 June 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}}
  • archive=1 Uses archive mode template which links to section anchor tags on a page, rather than individual date pages, as well as other superficial differences.

See also

A similar template on Wikipedia