Template:Date navbox/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Navbox for subcategories of Category:Days by day

The template automatically sets the following categories:  

[[Category:Month Year]]
[[Category:Day Month]]
[[Category:Days by day]]

Usage

{{Date navbox}}

The parameters are optional if the name of the category page that the template is placed on is a date of the format YYYY-MM-DD. For example, when placed on Category:2024-10-08, the template will automatically detect that the year is "2024", the month "10", and the day "08".

Template parameters

ParameterDescriptionDefaultStatus
1year4-digit yearemptyoptional
2month2-digit monthemptyoptional
3day2-digit dayemptyoptional

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

{{Date navbox|2024|10|08}}

renders as:

Previous week · Previous day 2024-10-08 Next day · Next week
1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 13 · 14 · 15

Media or events (in subcategories) on October 8, 2024.