Template:Infobox person: Difference between revisions

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