Difference between revisions 458526423 and 458526503 on enwiki

{{Documentation subpage}}{{esoteric}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
== Usage ==
This template displays a December calendar for a specified year from 1970 to 2037 (it defaults to the current year).
Calls [[Template:Calendar/Sun1stMonthStart{{#time:D|{{CURRENTYEAR}}1201}}]] 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
|- 
|'''year'''
| The four digit year of the specified year to be displayed (e.g.&nbsp;<code>year=2008</code>). Valid years are 1970–2037 (due to technical restrictions regarding [[Unix time]]) . The template currently defaults to <nowiki>{{CURRENTYEAR}}</nowiki>.
|}

===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
|}

===Layout===
The following parameters can be used to change the layout of the calendar:
{| class="wikitable"
! style="text-align: left" | Parameter
! style="text-align: left" | Explanation
|- 
| '''float'''
| Use to float the calendar left or right (e.g.&nbsp;<code>float=left</code> or <code>float=right</code>). It defaults to <code>float=none</code>.
(contracted; show full)| '''5'''
| Adds a suffix to the link to the next 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>{{DecemberCalendar}}</nowiki></code>
{{DecemberCalendar}}
----
<code><nowiki>{{DecemberCalendar|year=2001|float=right|color=#ffcccc|color2=#cccccc}}</nowiki></code>
{{DecemberCalendar|year=2001|float=right|color=#ffcccc|color2=#cccccc}}
----
<code><nowiki>{{DecemberCalendar|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></code>
{{DecemberCalendar|year=2008|1=Wikipedia:Today's featured article/|1a=Wikipedia:Today's featured article/|2=Featured articles for |3= 2008|4=, 2008|5=2009|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:December templates|{{PAGENAME}}]]
[[Category:Calendar templates|{{PAGENAME}}]]

[[af:Sjabloon:DesemberKalender]]
[[ca:Plantilla:Desembre]]
[[el:Πρότυπο:ΗμερολόγιοΔεκεμβρίου]]
[[es:Plantilla:Diciembre]]
[[hi:साँचा:दिसम्बर कैलिन्डर]]
[[it:Template:Dicembre]]
[[lv:Veidne:Decembra kalendārs]]
[[pt:Predefinição:Calendário de dezembro]]
[[ss:Template:ÍNgongóni]]
</includeonly>