Jump to content

Template:Death age: Difference between revisions

New template: age calculation
 
Add a leading space so the age never sticks to the date
Line 1: Line 1:
<includeonly>(aged {{Age|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4}}}|{{{5|12}}}|{{{6|31}}}}})</includeonly><noinclude>
<includeonly>&#32;(aged {{Age|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4}}}|{{{5|12}}}|{{{6|31}}}}})</includeonly><noinclude>
Shows the age at death, for the <code>death_date</code> field of [[Template:Infobox Person]].
Shows the age at death, for the <code>death_date</code> field of [[Template:Infobox Person]].



Revision as of 14:28, 20 November 2026

Shows the age at death, for the death_date field of Template:Infobox Person.

Usage: {{Death age|birth year|birth month|birth day|death year|death month|death day}} (Gregorian dates). Example: {{Death age|1889|11|24|1974|10|5}} → (aged 84)