Template:Person: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><table class="wikitable"> | ||
<tr> | |||
|- | <th colspan="2">{{PAGENAME}} {{#if: {{{description|}}} | ({{#genealogy:description={{{description|}}}}}) }}</th> | ||
</tr><tr> | |||
{{#if: {{{image|}}} |<td align="center" colspan="2"> [[file:{{{image}}}|190px|link=|{{{caption}}}]]</td> }} | |||
</tr> | |||
{{#if: {{{image|}}} |<tr><td style="text-align:center;" colspan="2">{{{caption}}}</td></tr> }} | |||
<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> | |||
</tr><tr> | |||
<th> Siblings: | |||
<td> {{#genealogy:siblings}}</td> | |||
</tr><tr> | |||
<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> | |||
<th> Children:</th> | |||
<td>{{#genealogy:children}}</td></tr> | |||
</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. | ||