Template:Person: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="infobox" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9; word-wrap: break-word; overflow-wrap: break-word;"> | <div class="infobox" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9; word-wrap: break-word; overflow-wrap: break-word;"> | ||
<table style="width: 100%; border: none;table-layout: fixed;"> | |||
<tr> | |||
<th colspan="2" style="background: #e9e9e9; text-align: center;">{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}}}</th> | |||
</tr> | |||
<tr> | |||
{{#if: {{{ | <td colspan="2" style="text-align: center;"> {{#if: {{{image|}}} | [[File:{{{image}}}|thumb|200px|center]] }} </td> </tr> {{#if: {{{caption|}}} | <tr> <td colspan="2" style="align: center; text-align: center; font-style: italic;">{{{caption}}}</td> </tr> }} | ||
{{#if: {{{birth_date|}}} | |||
| <tr> | |||
<th style="text-align: left;">Birth Date</th> | |||
<td>{{{birth_date}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{birth_place|}}} | |||
| <tr> | |||
<th style="text-align: left;">Birth Place</th> | |||
<td>{{{birth_place}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{nationality|}}} | |||
| <tr> | |||
<th style="text-align: left;">Nationality</th> | |||
<td>{{{nationality}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{citizenship|}}} | |||
| <tr> | |||
<th style="text-align: left;">Citizenship</th> | |||
<td>{{{citizenship}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{residence|}}} | |||
| <tr> | | <tr> | ||
<th style="text-align: left;"> | <th style="text-align: left;">Residence</th> | ||
<td>{{{ | <td>{{{residence}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{occupation|}}} | ||
| <tr> | | <tr> | ||
<th style="text-align: left;"> | <th style="text-align: left;">Occupation</th> | ||
<td>{{{ | <td>{{{occupation}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{height|}}} | ||
| <tr> | | <tr> | ||
<th style="text-align: left;"> | <th style="text-align: left;">Height</th> | ||
<td>{{{ | <td>{{{height}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{parents|}}} | ||
| <tr> | | <tr> | ||
<th style="text-align: left;"> | <th style="text-align: left;">Parents</th> | ||
<td>{{{ | <td>{{{parents}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{spouse|}}} | ||
| <tr> | | <tr> | ||
<th style="text-align: left;"> | <th style="text-align: left;">Spouse</th> | ||
<td>{{{ | <td>{{{spouse}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if: {{{ | {{#if: {{{childern|}}} | ||
| <tr> | | <tr> | ||
<th style="text-align: left;"> | <th style="text-align: left;">Childern (s)</th> | ||
<td>{{{ | <td>{{{childern}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
Line 51: | Line 70: | ||
<th style="text-align: left;">Known For</th> | <th style="text-align: left;">Known For</th> | ||
<td>{{{known_for}}}</td> | <td>{{{known_for}}}</td> | ||
</tr> | |||
}} | |||
{{#if: {{{education|}}} | |||
| <tr> | |||
<th style="text-align: left;">Education</th> | |||
<td>{{{education}}}</td> | |||
</tr> | </tr> | ||
}} | }} |