Template:Months

From Wikimedia Commons, the free media repository
Jump to: navigation, search

[edit]

Documentation


This template is a navigation template for all days of any month.

Contents

Usage

{{Months|boxclass=}}

This template takes one optional parameter, boxclass. By default boxclass is "navbox". The caller may specify any string of class names, for example {{Months|boxclass=infobox}}.

Parameters

Parameter name Description Default value required or optional?
boxclass text string listing classes to use. By default boxclass is navbox. For example {{Months|boxclass=infobox}} will make the browser render the template as an infobox (typically right aligned), while {{Months|boxclass=navbox}} will make the browser render the template as a navbox (typically centred). navbox optional

Additional information

The template is intended to be used in the following namespaces: the main or gallery namespace (unprefixed)

The template is intended to be used by the following user groups: all users

Placement: At the bottom of the page

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx=Your translation" (xx being the code of your language)

Only the header "Months and days of the year" and the text "Related dates" need to be translated, date formats are handled with {{Date}} and the month names get localized with {{I18n month}}.