Difference between revisions 458533871 and 458534863 on enwiki

{{Documentation subpage}}

{{esoteric}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
== Usage ==
This template displays a {{{month|January}}} calendar for a specified year from 1970 to 2037 (it defaults to the current year).
Calls [[Template:Calendar/Sun1stMonthStart{{#time:D|{{CURRENTYEAR}}0101}}]] or one of its sister templates, with the starting day for the calendar calculated using #time.

==Optional parameters==
===Year===
{| class="wikitable"
! style="text-align: left" | Parameter
! style="text-align: left" | Explanation
(contracted; show full)
*The right arrows link to the next month's respective article.
*The days link to each ''day’s'' respective article.
*The bottom bar shows a [[Help:Piped link|piped link]] that points to the specified month's respective article, but displays roman numerals without looking redundant with the<br />Arabic-numeral expression of the year at the top.

The following parameters can be used to change the links on the calendar:
<br>
<small>(they are backward compatible with the ones used on the old <nowiki>{{</nowiki>JanuaryCalendar2008Source}}, etc. templates that were used before #time and the other parserfunctions were implemented)</small>
{| class="wikitable"
! style="text-align: left" | Parameter
! style="text-align: left" | Explanation
|-
| '''1'''
| Adds a prefix to the days links.
|-
| '''1a'''
| Adds a prefix to the links to the current month, previous month and the next month.
|-
| '''2'''
| Adds a prefix to the link label in the piped link displaying the current month.
|-
| '''3'''
| Adds a suffix to the links to the current month and the next month.
|-
| '''4'''
| Adds a suffix to the days links.
|-
| '''5'''
| Adds a suffix to the link to the previous month.
|-
| '''EndNote'''
| Changes the text in the bottom bar.
|}

===Headings===
{| class="wikitable"
! style="text-align: left" | Parameter
! style="text-align: left" | Explanation
|-
| '''curr_month'''
| Will change the current month link to the text specified
|-
| '''prev_month'''
| Will change the previous month link to the text specified
|-
| '''next_month'''
| Will change the next month link to the text specified
|}

==Examples==
<code><nowiki>{{</nowiki>{{{month|JanuaryC}}} calendar<nowiki>}}</nowiki></code>
{{{{{month|JanuaryC}}} calendar}}
----
<code><nowiki>{{</nowiki>{{{month|JanuaryC}}} calendar|year=2001|float=right|color=#ffcccc|color2=#cccccc}}</nowiki></code>
{{{{{month|JanuaryC}}} calendar|year=2001|float=right|color=#ffcccc|color2=#cccccc}}
----
<code><nowiki>{{</nowiki>{{{month|JanuaryC}}} calendar|year=2008|1=Wikipedia:Today's featured article/|1a=Wikipedia:Today's featured article/|2=Featured articles for |3= 2008|4=, 2008|5=2007|EndNote=<small>An archive of [[Wikipedia:Featured articles|Wikipedia's featured articles]] that appeared on the Main Page.</small><nowiki>}}</nowiki></code>
{{{{{month|JanuaryC}}} calendar|year=2008|1=Wikipedia:Today's featured article/|1a=Wikipedia:Today's featured article/|2=Featured articles for |3= 2008|4=, 2008|5=2007|EndNote=<small>An archive of [[Wikipedia:Featured articles|Wikipedia's featured articles]] that appeared on the Main Page.</small>}}

<includeonly>
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
[[Category:Calendar templates|{{PAGENAME}}]]
[[Category:January templates|{{PAGENAME}}]]

[[be-x-old:Шаблён:КаляндарСтудзень]]
[[ca:Plantilla:Gener]]
[[el:Πρότυπο:ΗμερολόγιοΙανουαρίου]]
[[es:Plantilla:Enero]]
[[eu:Txantiloi:Urtarril]]
[[he:תבנית:לוח ינואר]]
[[hi:साँचा:जनवरी कैलिन्डर]]
[[sr:Шаблон:МесецЈануар]]
[[pt:Predefinição:Calendário de janeiro]]
</includeonly>== See also ==
* {{tl|January calendar}}
* {{tl|February calendar}}
* {{tl|March calendar}}
* {{tl|April calendar}}
* {{tl|June calendar}}
* {{tl|July calendar}}
* {{tl|August calendar}}
* {{tl|September calendar}}
* {{tl|October calendar}}
* {{tl|November calendar}}
* {{tl|December calendar}}