Jump to content

Template:Living 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>(age {{Age|{{{1}}}|{{{2|}}}|{{{3|}}}}})</includeonly><noinclude>
<includeonly>&#32;(age {{Age|{{{1}}}|{{{2|}}}|{{{3|}}}}})</includeonly><noinclude>
Shows the current age of a living person, for the <code>birth_date</code> field of [[Template:Infobox Person]]. It updates automatically.
Shows the current age of a living person, for the <code>birth_date</code> field of [[Template:Infobox Person]]. It updates automatically.



Latest revision as of 14:28, 20 November 2026

Shows the current age of a living person, for the birth_date field of Template:Infobox Person. It updates automatically.

Usage: {{Living age|birth year|birth month|birth day}} (Gregorian date). Example: {{Living age|1950|3|1}} → (age 76)