Template:Infobox personal: Difference between revisions

No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
 
(5 intermediate revisions by the same user not shown)
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 -->
|+ style="background:#e1f5fe; color:black; font-weight:bold; text-align:center; padding:5px;" | {{{name|{{PAGENAME}}}}}
{{#if: {{{name|}}} |
|-
<tr>
| colspan="2" style="text-align:center;" | [[File:{{{image|No_image.svg}}}|250px|frameless]]
  <th colspan="2" style="text-align:center; font-size: 120%; background-color:#f5f5f5;">''{{{name|}}}''</th>
|-
</tr>
| colspan="2" style="text-align:center; font-size:90%;" | ''{{{image_caption|}}}''
}}
|-
 
! style="background:#e0e0e0;" | Born
<!-- Image -->
| {{{birth_date|}}}
{{#if: {{{image|}}} |
|-
<tr>
! style="background:#e0e0e0;" | Born place
  <td colspan="2" style="text-align:center;">[[File:{{{image}}}|200px|alt={{{name}}}]]{{#if:{{{caption}}} |<br><small>{{{caption}}}</small>}}</td>
| {{{birth_place|}}}
</tr>
|-
}}
! style="background:#e0e0e0;" | Nationality
 
| {{{nationality|}}}
<!-- Birth Date -->
|-
{{#if: {{{birth_date|}}} |
! style="background:#e0e0e0;" | Education
<tr>
| {{{education|}}}
  <th>Birth date</th>
|-
  <td>{{{birth_date}}}</td>
! style="background:#e0e0e0;" | Alma mater
</tr>
| {{{alma_mater|}}}
}}
|-
 
! style="background:#e0e0e0;" | Occupation
<!-- known for -->
| {{{occupation|}}}
{{#if: {{{known_for|}}} |
|-
<tr>
! style="background:#e0e0e0;" | Years active
  <th>known for</th>
| {{{years_active|}}}
  <td>{{{known_for}}}</td>
|-
</tr>
! style="background:#e0e0e0;" | Known for
}}
| {{{known_for|}}}
 
|-
<!-- Nationality -->
! style="background:#e0e0e0;" | Notable works
{{#if: {{{nationality|}}} |
| {{{notable_works|}}}
<tr>
|-
  <th>Nationality</th>
! style="background:#e0e0e0;" | Awards
  <td>{{{nationality}}}</td>
| {{{awards|}}}
</tr>
|-
}}
! style="background:#e0e0e0;" | Spouse(s)
 
| {{{spouse|}}}
<!-- Occupation -->
|-
{{#if: {{{occupation|}}} |
! style="background:#e0e0e0;" | Parents
<tr>
| {{{parents|}}}
  <th>Occupation</th>
|-
  <td>{{{occupation}}}</td>
! style="background:#e0e0e0;" | Religion
</tr>
| {{{religion|}}}
}}
|-
 
! style="background:#e0e0e0;" | Website
<!-- Years active -->
| {{{website|}}}
{{#if: {{{years_active|}}} |
|}
<tr>
</includeonly>
  <th>Years active</th>
<noinclude>
  <td>{{{years_active}}}</td>
[[Category:Infobox templates]]
</tr>
</noinclude>
}}
 
<!-- 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>