Template:Death date and age/doc
Jump to navigation
Jump to search
Template:Death date and age calculates the age at which a person died, based on the birth and death dates.
The template takes six unnamed parameters, in order:
- Death year,
- Death month, and
- Death day of month;
- Birth year,
- Birth month, and
- Birth day of month.
Usage example:
{{death date and age|2008|2|8|1926|10|21}} displays "aged 81".
Often used with officeholder templates in the date_of_death parameter, as in:
| date_of_death = {{death date and age|2008|2|8|1926|10|21}}
See also: Template:Age