வார்ப்புரு:DecemberCalendar/doc
{{Documentation subpage}}{{esoteric}}
 &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;
 __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=&quot;wikitable&quot;
 ! style=&quot;text-align: left&quot; | Parameter
 ! style=&quot;text-align: left&quot; | Explanation
 |- 
 |'''year'''
 | The four digit year of the specified year to be displayed (e.g.&amp;nbsp;&lt;code&gt;year=2008&lt;/code&gt;). Valid years are 1970-2037 (due to technical restrictions regarding Unix time) . The template currently defaults to &lt;nowiki&gt;{{CURRENTYEAR}}&lt;/nowiki&gt;.
 |}
 
 ===Layout===
 The following parameters can be used to change the layout of the calendar:
 {| class=&quot;wikitable&quot;
 ! style=&quot;text-align: left&quot; | Parameter
 ! style=&quot;text-align: left&quot; | Explanation
 |- 
 | '''float'''
 | Use to float the calendar left or right (e.g.&amp;nbsp;&lt;code&gt;float=left&lt;/code&gt; or &lt;code&gt;float=right&lt;/code&gt;). It defaults to &lt;code&gt;float=none&lt;/code&gt;.
 |-
 | '''color'''
 | Use to change the the default background color of the title bar with name of the month, and the bottom bar (e.g.&amp;nbsp;&lt;code&gt;color=#2e8b57&lt;/code&gt;).
 |-
 | '''color2'''
 | Use to change the the default background color of the bar listing the days of the week (e.g.&amp;nbsp;&lt;code&gt;color2=#2e8b57&lt;/code&gt;).
 |}
 
 ===Parameters to change the displayed links===
 The template contains the following default links:
 *The Month links to the specified month's respective article.
 *The left arrows link to the previous month's respective article.
 *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 [[:en:Help:Piped link|piped link]] that points to the specified month's respective article, but displays roman numerals without looking redundant with the&lt;br /&gt;Arabic-numeral expression of the year at the top.
 
 The following parameters can be used to change the links on the calendar:&lt;br&gt;
 &lt;small&gt;(they are backward compatible with the ones used on the old &lt;nowiki&gt;{{&lt;/nowiki&gt;JanuaryCalendar2008Source}}, etc. templates that were used before #time and the other parserfunctions were implemented)&lt;/small&gt;
 {| class=&quot;wikitable&quot;
 ! style=&quot;text-align: left&quot; | Parameter
 ! style=&quot;text-align: left&quot; | 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 previous month.
 |-
 | '''4'''
 | Adds a suffix to the days links.
 |-
 | '''5'''
 | Adds a suffix to the link to the next month.
 |-
 | '''EndNote'''
 | Changes the text in the bottom bar.
 |}
 
 ==Examples==
 &lt;code&gt;&lt;nowiki&gt;{{DecemberCalendar}}&lt;/nowiki&gt;&lt;/code&gt;
 {{DecemberCalendar}}
 ----
 &lt;code&gt;&lt;nowiki&gt;{{DecemberCalendar|year=2006|float=right|color=#ffcccc|color2=#cccccc}}&lt;/nowiki&gt;&lt;/code&gt;
 {{DecemberCalendar|year=2007|float=right|color=#ffcccc|color2=#cccccc}}
 ----
 &lt;code&gt;&lt;nowiki&gt;{{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=&lt;small&gt;An archive of [[Wikipedia:Featured articles|Wikipedia's featured articles]] that appeared on the Main Page.&lt;/small&gt;}}&lt;/nowiki&gt;&lt;/code&gt;
 {{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=&lt;small&gt;An archive of [[Wikipedia:Featured articles|Wikipedia's featured articles]] that appeared on the Main Page.&lt;/small&gt;}}
 
 &lt;includeonly&gt;
 &lt;!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE --&gt;
 [[Category:டிசம்பர் வார்ப்புருக்கள்|{{PAGENAME}}]]
 [[Category:நாட்காட்டி வார்ப்புருக்கள்|{{PAGENAME}}]]
 
 [[en:Template:DecemberCalendar]]