Template:Infobox person: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary |
||
(12 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<table class="infobox" style="width:22em; font-size:90%; line-height:1.4em;"> | <table class="infobox" style="width:22em; font-size:90%; line-height:1.4em;"> | ||
<!-- Name --> | |||
{{#if: {{{name|}}} | | |||
<tr> | <tr> | ||
<th colspan="2" style="text-align:center; font-size: 120%; background-color:#f5f5f5;">''{{{name|}}}''</th> | <th colspan="2" style="text-align:center; font-size: 120%; background-color:#f5f5f5;">''{{{name|}}}''</th> | ||
</tr> | </tr> | ||
}} | |||
<!-- Image --> | |||
{{#if: {{{image|}}} | | |||
<tr> | <tr> | ||
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|200px|alt={{{name}}}]]<br><small>{{{caption}}}</small></td> | <td colspan="2" style="text-align:center;">[[File:{{{image}}}|200px|alt={{{name}}}]]{{#if:{{{caption}}} |<br><small>{{{caption}}}</small>}}</td> | ||
</tr> | </tr> | ||
}} | |||
<!-- Birth Date --> | |||
{{#if: {{{birth_date|}}} | | |||
<tr> | <tr> | ||
<th>Birth date</th> | <th>Birth date</th> | ||
<td>{{{birth_date}}}</td> | <td>{{{birth_date}}}</td> | ||
</tr> | </tr> | ||
}} | |||
<!-- known for --> | |||
{{#if: {{{known_for|}}} | | |||
<tr> | <tr> | ||
<th>known for</th> | <th>known for</th> | ||
<td>{{{known_for}}}</td> | <td>{{{known_for}}}</td> | ||
</tr> | </tr> | ||
}} | |||
<!-- Nationality --> | |||
{{#if: {{{nationality|}}} | | |||
<tr> | <tr> | ||
<th>Nationality</th> | <th>Nationality</th> | ||
<td>{{{nationality}}}</td> | <td>{{{nationality}}}</td> | ||
</tr> | </tr> | ||
}} | |||
<!-- Occupation --> | |||
{{#if: {{{occupation|}}} | | |||
<tr> | <tr> | ||
<th>Occupation</th> | <th>Occupation</th> | ||
<td>{{{occupation}}}</td> | <td>{{{occupation}}}</td> | ||
</tr> | </tr> | ||
}} | |||
<!-- Years active --> | |||
{{#if: {{{years_active|}}} | | |||
<tr> | <tr> | ||
<th>Years active</th> | <th>Years active</th> | ||
<td>{{{years_active}}}</td> | <td>{{{years_active}}}</td> | ||
</tr> | </tr> | ||
}} | |||
<!-- Notable Works --> | |||
{{#if: {{{notable_works|}}} | | |||
<tr> | <tr> | ||
<th>Notable work(s)</th> | <th>Notable work(s)</th> | ||
<td>{{{notable_works}}}</td> | <td>{{{notable_works}}}</td> | ||
</tr> | </tr> | ||
}} | |||
<!-- Home Town --> | |||
{{#if: {{{home_town|}}} | | |||
<tr> | <tr> | ||
<th>Home town</th> | <th>Home town</th> | ||
<td>{{{home_town}}}</td> | <td>{{{home_town}}}</td> | ||
</tr> | </tr> | ||
}} | |||
<!-- Website --> | |||
{{#if: {{{website|}}} | | |||
<tr> | <tr> | ||
<th>Website</th> | <th>Website</th> | ||
<td>[{{{website}}} {{{website}}}]</td> | <td>[{{{website}}} {{{website}}}]</td> | ||
</tr> | </tr> | ||
{{#if:{{{height|}}}| | }} | ||
<!-- Height --> | |||
{{#if: {{{height|}}} | | |||
</tr> | <tr> | ||
<th>Height</th> | |||
<td>{{{height}}}</td> | |||
</tr> | |||
}} | |||
<!-- Education --> | |||
{{#if: {{{education|}}} | | |||
<tr> | |||
<th>Education</th> | |||
<td>{{{education}}}</td> | |||
</tr> | |||
}} | }} | ||
</table> | </table> |