Template:Death date no year
This template uses Lua: |
Supporting Templates |
This template is to be used when the person's year of death is unknown. Using this template rather than simply inserting the date into articles is mostly for ease and formatting.
If the year is known, please use the {{Death date and age}} template.
Usage
- Unnamed parameters for month and day
- {{Death date no year
|month of birth |day of birth |additional parameters}}
- Named parameters for month and day
- {{Death date no year
|month=month of birth |day=day of birth |additional parameters}}
- Unnamed parameters for month and day (Using the shortcut)
- {{Ddy
|month of birth |day of birth |additional parameters}}
- Named parameters for month and day (Using the shortcut)
- {{Ddy
|month=month of birth |day=day of birth |additional parameters}}
Additional parameters
The |df=
(day first) parameters indicate the intended date format to display the date before the month. The appropriate parameter should be set to "y" or "yes", e.g. |df=y
or |df=yes
.
The default output of this template is to display the month before the day. This default may not be appropriate for articles about people from parts of the world where the day precedes the month in a date. In such articles the parameter, |df=
, should be set to display the day before the month.
Examples
Unnamed parameters for month and day:
{{Death date no year|2|24}}
→ February 24{{Death date no year|2|24|df=yes}}
→ 24 February
Named parameters for month and day:
{{Death date no year|month=2|day=24}}
→ February 24{{Death date no year|month=2|day=24|df=yes}}
→ 24 February
Unnamed parameters for month and day (Using shortcut):
{{Ddy|2|24}}
→ February 24{{Ddy|2|24|df=yes}}
→ 24 February
Named parameters for month and day:
{{Ddy|month=2|day=24}}
→ February 24{{Ddy|month=2|day=24|df=yes}}
→ 24 February
With Missing Parameters:
{{Death date no year}}
→ Must include a valid month Must include a valid day{{Ddy}}
→ Must include a valid month Must include a valid day
See Also
TemplateData
This template will display a person's death month and day. Using this template rather than simply inserting the date into articles is mostly for ease and formatting.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Month of death | 1 month | The month (number) in which the person died.
| Number | required |
Day of death | 2 day | The day (number) in which the person died.
| Number | required |
Day first | df | When set to 'y' or 'yes', the date of death is output in a DMY format.
| String | optional |