Template:Death age: Difference between revisions
Add a leading space so the age never sticks to the date |
Treat blank death month/day like omitted (avoid expression error) |
||
| Line 1: | Line 1: | ||
<includeonly> (aged {{Age|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4}}}|{{{5|12}}}|{{{6|31 | <includeonly> (aged {{Age|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4}}}|{{#if:{{{5|}}}|{{{5}}}|12}}|{{#if:{{{6|}}}|{{{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]]. | ||