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-05-23, the template will automatically detect that the year is "2024", the month "05", and the day "23".

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|05|23}}

renders as:

Previous week · Previous day 2024-05-23 Next day · Next week
16 · 17 · 18 · 19 · 20 · 21 · 22 · 23 · 24 · 25 · 26 · 27 · 28 · 29 · 30

Media or events (in subcategories) on May 23, 2024.