Difference between revisions of "Template:Infobox"

From Orbis Wiki
Jump to navigation Jump to search
m (1 revision imported)
m (Add death year, hopefully with correct math)
Line 19: Line 19:
 
<th>Born</th>
 
<th>Born</th>
 
<td>{{#if:{{{born_date|}}}|{{{born_date}}} |}}{{{born_year}}} ({{Age|year={{{born_year}}} }})</td>
 
<td>{{#if:{{{born_date|}}}|{{{born_date}}} |}}{{{born_year}}} ({{Age|year={{{born_year}}} }})</td>
 +
</tr>
 +
}}
 +
{{#if:{{{death_year|}}}|
 +
<tr>
 +
<th>Died</th>
 +
<td>{{#if:{{{death_date|}}}|{{{death_date}}} |}}{{{death_year}}} {{#if:{{{born_year|}}}|({{#expr: {{{death_year}}}-{{{born_year}}}}} years old)}}</td>
 
</tr>
 
</tr>
 
}}
 
}}

Revision as of 19:14, 27 April 2020

Infobox