Template:Monthbyyear

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
January by year:
2010 by month:

[‎[Category:2010 by month| 01]][‎[Category:January by year|=12010]][‎[Category:January starting on Friday|=12010]][‎[Category:January ending on Sunday|=12010]]

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Monthbyyear/doc.

English: This template creates a navigation box for categories in the [[Category:MONTH YEAR]] format under the parent categories Category:Months by year and Category:Years by month. For example, in Category:February 1934

The template automatically sets the following categories: YEAR by month, MONTH by year

Usage

{{Monthbyyear |1= |2= |3= }}

Example: {{monthbyyear|194|1|7}}

Result:

July by year:
1941 by month:

Template parameters

ParameterDescriptionDefaultStatus
1The first three digits of the number of the year (indicating the decade)emptyrequired
2The fourth digit of the number of the year (indicating the precise year)emptyrequired
3The number of month in the yearemptyrequired

Additional information

The template is intended to be used in the following namespaces: the Category namespace

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

Placement: At the top of the page

Relies on:
{{Date}}

See also

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)

Notes

This template was based on {{MagazinesYear}}.