Template:Photographs taken on navbox/doc
Navbox for subcategories of Category:Photographs by date
The template automatically sets the following categories:
[[Category:Year-Month-Day]] [[Category:Month Year photographs]] [[Category:Photographs by date]] [[Category:Photographs taken on Day Month]]
Usage
{{Photographs taken on navbox}}
The parameters are optional if the name of the category page that the template is placed on ends with a date of the format YYYY-MM-DD. For example, when placed on Category:Photographs taken on 2025-01-04, the template will automatically detect that the year is "2025", the month "01", and the day "04".
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | year | 4-digit year | empty | optional |
2 | month | 2-digit month | empty | optional |
3 | day | 2-digit day | empty | optional |
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:
Example
{{Photographs taken on navbox|2025|01|04}}
renders as:
Photographs of the previous week | · | Photographs of the previous day | ← | 2025-01-04 | → | Photographs of the next day | · | Photographs of the next week |
28 | · | 29 | · | 30 | · | 31 | · | 1 | · | 2 | · | 3 | · | 4 | · | 5 | · | 6 | · | 7 | · | 8 | · | 9 | · | 10 | · | 11 |
Photographs taken on January 4, 2025.
Files or subcategories can be added here using a direct categorization tag. Image files can be categorized here also automatically using {{Taken on}} template.