Template:Person: Difference between revisions

From Empire of Dragons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|class=wikitable
<includeonly><table class="wikitable">
|+ {{PAGENAME}} {{#if: {{{description|}}} | ({{#genealogy:description={{{description|}}}}}) }}
<tr>
|-
<th colspan="2">{{PAGENAME}} {{#if: {{{description|}}} | ({{#genealogy:description={{{description|}}}}}) }}</th>
{{#if: {{{image|}}} | * [[file:{{{image}}}|90px|link=|{{{caption}}}]] }}
</tr><tr>
|-
{{#if: {{{image|}}} |<td align="center" colspan="2"> [[file:{{{image}}}|190px|link=|{{{caption}}}]]</td> }}
! Birth:
</tr>
| {{{birth_date|}}} {{{birth_place|}}}
 
|-
{{#if: {{{image|}}} |<tr><td style="text-align:center;" colspan="2">{{{caption}}}</td></tr> }}
! Death:
 
| {{{death_date|}}} {{{death_place|}}}
<tr>
|-
<th> Birth:</th>
! Parents:
<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.



Latest revision as of 08:29, 3 February 2024