Template:Infobox personal: Difference between revisions

No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="width:300px; font-size:90%; line-height:1.5em; border:1px solid #aaa; background:#f9f9f9; float:right; margin:0 0 1em 1em;"
{| class="infobox" style="width:300px; font-size:90%; line-height:1.5em; border:1px solid #aaa; background:#f9f9f9; float:right; margin:0 0 1em 1em;"
|+ style="background:#e1f5fe; color:black; font-weight:bold; text-align:center; padding:5px;" | {{{name|{{PAGENAME}}}}}
|+ style="background:#e1f5fe; color:black; font-weight:bold; text-align:center; padding:5px;" | <!-- Name -->
|-
{{#if: {{{name|}}} |
| colspan="2" style="text-align:center;" | [[File:{{{image|No_image.svg}}}|250px|frameless]]
<tr>
|-
  <th colspan="2" style="text-align:center; font-size: 120%; background-color:#f5f5f5;">''{{{name|}}}''</th>
| colspan="2" style="text-align:center; font-size:90%;" | ''{{{image_caption|}}}''
</tr>
|-
}}
! style="background:#e0e0e0;" | Born
 
| {{{birth_date|}}}{{#if:{{{birth_place|}}}|<br/>{{{birth_place}}}
<!-- Image -->
|-
{{#if: {{{image|}}} |
! style="background:#e0e0e0;" | Nationality
<tr>
| {{{nationality|}}}
  <td colspan="2" style="text-align:center;">[[File:{{{image}}}|200px|alt={{{name}}}]]{{#if:{{{caption}}} |<br><small>{{{caption}}}</small>}}</td>
|-
</tr>
! style="background:#e0e0e0;" | Education
}}
| {{{education|}}}
 
|-
<!-- Birth Date -->
! style="background:#e0e0e0;" | Alma mater
{{#if: {{{birth_date|}}} |
| {{{alma_mater|}}}
<tr>
|-
  <th>Birth date</th>
! style="background:#e0e0e0;" | Occupation
  <td>{{{birth_date}}}</td>
| {{{occupation|}}}
</tr>
|-
}}
! style="background:#e0e0e0;" | Years active
 
| {{{years_active|}}}
<!-- known for -->
|-
{{#if: {{{known_for|}}} |
! style="background:#e0e0e0;" | Known for
<tr>
| {{{known_for|}}}
  <th>known for</th>
|-
  <td>{{{known_for}}}</td>
! style="background:#e0e0e0;" | Notable works
</tr>
| {{{notable_works|}}}
}}
|-
 
! style="background:#e0e0e0;" | Awards
<!-- Nationality -->
| {{{awards|}}}
{{#if: {{{nationality|}}} |
|-
<tr>
! style="background:#e0e0e0;" | Spouse(s)
  <th>Nationality</th>
| {{{spouse|}}}
  <td>{{{nationality}}}</td>
|-
</tr>
! style="background:#e0e0e0;" | Parents
}}
| {{{parents|}}}
 
|-
<!-- Occupation -->
! style="background:#e0e0e0;" | Religion
{{#if: {{{occupation|}}} |
| {{{religion|}}}
<tr>
|-
  <th>Occupation</th>
! style="background:#e0e0e0;" | Website
  <td>{{{occupation}}}</td>
| {{{website|}}}
</tr>
|}
}}
</includeonly>
 
<noinclude>
<!-- Years active -->
[[Category:Infobox templates]]
{{#if: {{{years_active|}}} |
</noinclude>
<tr>
  <th>Years active</th>
  <td>{{{years_active}}}</td>
</tr>
}}
 
<!-- Notable Works -->
{{#if: {{{notable_works|}}} |
<tr>
  <th>Notable work(s)</th>
  <td>{{{notable_works}}}</td>
</tr>
}}
 
<!-- Home Town -->
{{#if: {{{home_town|}}} |
<tr>
  <th>Home town</th>
  <td>{{{home_town}}}</td>
</tr>
}}
 
<!-- Website -->
{{#if: {{{website|}}} |
<tr>
  <th>Website</th>
  <td>[{{{website}}} {{{website}}}]</td>
</tr>
}}
 
<!-- Height -->
{{#if: {{{height|}}} |
<tr>
  <th>Height</th>
  <td>{{{height}}}</td>
</tr>
}}
 
<!-- Education -->
{{#if: {{{education|}}} |
<tr>
  <th>Education</th>
  <td>{{{education}}}</td>
</tr>
}}
</table>