Template:Person: Difference between revisions

From Empire of Dragons
Jump to navigation Jump to search
(Created page with "{|class=wikitable |+ {{PAGENAME}} {{#if: {{{description|}}} | ({{#genealogy:description={{{description|}}}}}) }} |- ! Birth: | {{{birth_date|}}} {{{birth_place|}}} |- ! Death: | {{{death_date|}}} {{{death_place|}}} |- ! Parents: | {{#if: {{{parent1|}}} | * {{#genealogy:parent | {{{parent1}}} }} }} {{#if: {{{parent2|}}} | * {{#genealogy:parent | {{{parent2}}} }} }} {{#if: {{{parent3|}}} | * {{#genealogy:parent | {{{parent3}}} }} }} |- ! Siblings: | {{#genealogy:siblings}}...")
 
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|class=wikitable
<includeonly><table class="wikitable">
|+ {{PAGENAME}} {{#if: {{{description|}}} | ({{#genealogy:description={{{description|}}}}}) }}
<tr>
|-
<th colspan="2">{{PAGENAME}} {{#if: {{{description|}}} | ({{#genealogy:description={{{description|}}}}}) }}</th>
! Birth:
</tr><tr>
| {{{birth_date|}}} {{{birth_place|}}}
{{#if: {{{image|}}} |<td align="center" colspan="2"> [[file:{{{image}}}|190px|link=|{{{caption}}}]]</td> }}
|-
</tr>
! Death:
 
| {{{death_date|}}} {{{death_place|}}}
{{#if: {{{image|}}} |<tr><td style="text-align:center;" colspan="2">{{{caption}}}</td></tr> }}
|-
 
! Parents:
<tr>
|
<th> Birth:</th>
<td> {{{birth_date|}}} {{{birth_place|}}}</td>
</tr><tr>
<th>Death:</th>
<td>{{{death_date|}}} {{{death_place|}}}</td>
</tr><tr>
<th>Parents:</th>
<td>
{{#if: {{{parent1|}}} | * {{#genealogy:parent | {{{parent1}}} }} }}
{{#if: {{{parent1|}}} | * {{#genealogy:parent | {{{parent1}}} }} }}
{{#if: {{{parent2|}}} | * {{#genealogy:parent | {{{parent2}}} }} }}
{{#if: {{{parent2|}}} | * {{#genealogy:parent | {{{parent2}}} }} }}
{{#if: {{{parent3|}}} | * {{#genealogy:parent | {{{parent3}}} }} }}
{{#if: {{{parent3|}}} | * {{#genealogy:parent | {{{parent3}}} }} }}
|-
</td>
! Siblings:
</tr><tr>
| {{#genealogy:siblings}}
<th> Siblings:
|-
<td> {{#genealogy:siblings}}</td>
! Partners:
</tr><tr>
| {{#genealogy:partners}}
<th> Partners:</th>
<td> {{#genealogy:partners}}  
{{#if: {{{partner1|}}} | {{#genealogy:partner | {{{partner1}}} }} }}
{{#if: {{{partner1|}}} | {{#genealogy:partner | {{{partner1}}} }} }}
{{#if: {{{partner2|}}} | {{#genealogy:partner | {{{partner2}}} }} }}
{{#if: {{{partner2|}}} | {{#genealogy:partner | {{{partner2}}} }} }}
{{#if: {{{partner3|}}} | {{#genealogy:partner | {{{partner3}}} }} }}
{{#if: {{{partner3|}}} | {{#genealogy:partner | {{{partner3}}} }} }}
|-
</td></tr><tr>
! Children:
<th> Children:</th>
| {{#genealogy:children}}
<td>{{#genealogy:children}}</td></tr>
|}[[Category:People]]<noinclude>
</table>[[Category:People]]<noinclude>
This template is used to define and display a summary table on a biography article.
This template is used to define and display a summary table on a biography article.


Line 43: Line 51:
}}
}}
</nowiki></pre>
</nowiki></pre>
</includeonly>

Latest revision as of 08:29, 3 February 2024