Template:Death date and age

From LPedia
Jump to navigation Jump to search
Template documentation (for the above template, sometimes hidden or invisible)

Usage

Use in the "death-date" parameter of Template:Infobox Person on people pages to calculate age of death.

{{Death date and age|<DEATH-Y>|<DEATH-M>|<DEATH-D|<BIRTH-Y>|<BIRTH-M>|<BIRTH-D>}}

Example

Example, with Murray Rothbard, where the death date is January 7, 1995 and the birth date is March 2, 1926.

Code

{{Death date and age|1995|1|7|1926|3|2}}

Result

January 7, 1995(1995-01-07) (aged 68)

See also