Template:Monthbyyear
From Wikimedia Commons, the free media repository
[edit]
DocumentationEnglish: 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
Contents |
Usage
{{Monthbyyear|1=|2=|3=}}
Example: {{monthbyyear|194|1|7}}
Result:
| July 1941 | |
| July by year: | ← 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 → |
| 1941 by month: | ← 01 02 03 04 05 06 07 08 09 10 11 12 → |
Parameters
| Parameter name | Description | Default value | required or optional? |
|---|---|---|---|
| parameter #1 (1) | The first three digits of the number of the year (indicating the decade) | empty | required |
| parameter #2 (2) | The fourth digit of the number of the year (indicating the precise year) | empty | required |
| parameter #3 (3) | The number of month in the year | empty | required |
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
{{MagazinesYear}}
{{Milhistyearcat}}