Difference between revisions of "Template:Infobox"

From Orbis Wiki
Jump to navigation Jump to search
m
m (Remove cause of death)
 
(6 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
}}
 
}}
 
<table class="infobox-table">
 
<table class="infobox-table">
{{#if:{{{born|}}}|
+
{{#if:{{{born_year|}}}|
 
<tr>
 
<tr>
 
<th>Born</th>
 
<th>Born</th>
<td>{{{born}}}</td>
+
<td>{{#if:{{{born_date|}}}|{{{born_date}}} |}}{{{born_year}}} {{#if:{{{death_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|}}}|(age {{#expr: {{{death_year}}}-{{{born_year}}}}})}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 37: Line 43:
 
<th>Class</th>
 
<th>Class</th>
 
<td>{{{class}}}</td>
 
<td>{{{class}}}</td>
 +
</tr>
 +
}}
 +
{{#if:{{{last_seen|}}}|
 +
<tr>
 +
<th>Last Seen</th>
 +
<td>{{{last_seen}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
 
</table>
 
</table>
 
</div>
 
</div>

Latest revision as of 21:48, 28 April 2020

Infobox