Template:YMDcat
Error: Invalid time.
This documentation is transcluded from Template:YMDcat/doc.
This template is created for YYYY-MM-DD categories (ex. "Category:2014-01-01") to add appropriate categories.
Usage
{{YMDcat |year (except last digit)= |year (last digit)= |month= |day= }}
Examples:
- {{YMDcat|201|4|7|2}} ... used in Category:2014-07-02
- {{YMDcat|45|1|6|20}} ... used in Category:451-06-20
- {{YMDcat|2|9|11|24}} ... used in Category:29-11-24
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
year (except last digit) 1 | year | Year number (except last digit); 1-3 digit(s) | empty | required |
year (last digit) 2 | year | Year number (last digit); 1 digit | empty | required |
month 3 | month | Month number; 1 or 2 digit(s). {{YMDcat|201|4|07|2}} ... Not recommended, but this also will function. | empty | required |
day 4 | day | Day number; 1 or 2 digit(s). {{YMDcat|201|4|7|02}} ... Not recommended, but this also will function. | empty | required |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users