Difference between revisions of "Template:Infobox"

From Orbis Wiki
Jump to navigation Jump to search
m (Add death year, hopefully with correct math)
m (Remove cause of death)
 
(2 intermediate revisions by the same user not shown)
Line 18: Line 18:
 
<tr>
 
<tr>
 
<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}}} {{#if:{{{death_year|}}}||({{Age|year={{{born_year}}} }})}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 24: Line 24:
 
<tr>
 
<tr>
 
<th>Died</th>
 
<th>Died</th>
<td>{{#if:{{{death_date|}}}|{{{death_date}}} |}}{{{death_year}}} {{#if:{{{born_year|}}}|({{#expr: {{{death_year}}}-{{{born_year}}}}} years old)}}</td>
+
<td>{{#if:{{{death_date|}}}|{{{death_date}}} |}}{{{death_year}}} {{#if:{{{born_year|}}}|(age {{#expr: {{{death_year}}}-{{{born_year}}}}})}}</td>
 
</tr>
 
</tr>
 
}}
 
}}

Latest revision as of 21:48, 28 April 2020

Infobox