Template:This date in recent years/doc
Appearance
(Redirected from Template:ThisDateInRecentYears/doc)
This is a documentation subpage for Template:This date in recent years. It may contain usage information, categories and other content that is not part of the original template page. |
November 18 in recent years |
2024 (Monday) |
2023 (Saturday) |
2022 (Friday) |
2021 (Thursday) |
2020 (Wednesday) |
2019 (Monday) |
2018 (Sunday) |
2017 (Saturday) |
2016 (Friday) |
2015 (Wednesday) |
This template uses TemplateStyles: |
Description
[edit]This template is used to display a box on all of the date articles (January 1 ... December 31) listing the date in recent years. It also shows what day of the week the date was in previous years.
Usage
[edit]- No parameter
- This template can be used on without any parameter.
- {{
This date in recent years
}}
- On date articles the template defaults to the page name.
- On other articles the template defaults to the current date.
- {{
- Specifying a date
- A specific date can be input as an unnamed parameter in either day-month or month-day format.
- {{
This date in recent years|January 1
}} - {{
This date in recent years|1 January
}}
- {{
- Float left
- The default of the template is to float right. The template can be placed on the left using the
float
parameter.- {{
This date in recent years|float=left
}} - {{
This date in recent years|January 1|float=left
}} - {{
This date in recent years|1 January|float=left
}}
- {{
Technical details
[edit]This template uses a series of subtemplates. These are listed below.
- next step
- Template:This date in recent years/validate (edit | talk | history | links | watch | logs)
- then
- Template:This date in recent years/title (edit | talk | history | links | watch | logs)
- 29 February split
-
- Template:This date in recent years/table (edit | talk | history | links | watch | logs) (for ordinary dates)
- or
- Template:This date in recent years/prevleap (edit | talk | history | links | watch | logs) (for 29 February)
- Template:This date in recent years/1stleap (edit | talk | history | links | watch | logs) (for 29 February),
- Template:This date in recent years/2ndleap (edit | talk | history | links | watch | logs) (for 29 February),
- Template:This date in recent years/3rdleap (edit | talk | history | links | watch | logs) (for 29 February),
- Template:This date in recent years/4thleap (edit | talk | history | links | watch | logs) (for 29 February),
- Template:This date in recent years/5thleap (edit | talk | history | links | watch | logs) (for 29 February),
- Template:This date in recent years/6thleap (edit | talk | history | links | watch | logs) (for 29 February)
and