Template:Person: Difference between revisions

From Empire of Dragons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{|class=wikitable
<includeonly><table>class="wikitable">
|+ {{PAGENAME}} {{#if: {{{description|}}} | ({{#genealogy:description={{{description|}}}}}) }}
<tr>
|-
<th>{{PAGENAME}} {{#if: {{{description|}}} | ({{#genealogy:description={{{description|}}}}}) }}</th>
</tr><tr>
{{#if: {{{image|}}} | * [[file:{{{image}}}|90px|link=|{{{caption}}}]] }}
{{#if: {{{image|}}} | * [[file:{{{image}}}|90px|link=|{{{caption}}}]] }}
|-
</tr><tr>
! Birth:
<th> Birth:</th>
| {{{birth_date|}}} {{{birth_place|}}}
<td> {{{birth_date|}}} {{{birth_place|}}}</td>
|-
</tr><tr>
! Death:
<th>Death:</th>
| {{{death_date|}}} {{{death_place|}}}
<td>{{{death_date|}}} {{{death_place|}}}</td>
|-
</tr><tr>
! Parents:
<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.



Revision as of 08:22, 3 February 2024