Template:Monthbyyeargermany/doc
The template automatically sets the following categories: YEAR in Germany by month (or YEAR in Germany), MONTH YEAR by country, MONTH YEAR in Europe, MONTH in Germany
Usage
{{Monthbyyear |1= |2= |3= }}
Example: {{Monthbyyeargermany|2012||10}}
gives the sample shown above this documentation; however on this template page, the autocategorization is not applied, but displayed visibly below the rendered navigation box. This notably allows checking immediately the syntax in the preview, if ever this template is modified (all parameter values in this example are coded inside the of the template, but not included when using the template in any other pages), so changes can be checked immediately before saving and looking at results elsewhere, where pages using the template may be broken.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | the year (or just first three digits of the number of the year indicating the decade) | empty | required | |
2 | deprecated: the last digit of the number of the year indicating the precise year, if parameter 1 just passes the decade) | empty | optional | |
3 | the number of month in the year (from 1 to 12, initial padding of zeroes is supported but no longer needed) | 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:
{{Decade years months navbox}}, {{Date}}
See also
- {{Monthbyyear}} - initial version on which this template was based.