Template:Infobox person: Difference between revisions

Created page with "<table class="infobox" style="width:22em; font-size:90%; line-height:1.4em;"> <tr> <th colspan="2" style="text-align:center; font-size: 120%; background-color:#f5f5f5;">{{{name}}}</th> </tr> <tr> <td colspan="2" style="text-align:center;">[[File:{{{image}}}|200px|alt={{{name}}}]]<br><small>{{{caption}}}</small></td> </tr> <tr> <th>Birth date</th> <td>{{{birth_date}}}</td> </tr> <tr> <th>known for</th> <td>{{{known_for}}}</td> </tr> <tr> <th>Nationality</t..."
 
No edit summary
 
(46 intermediate revisions by 2 users 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>
}}
<!-- Height -->
{{#if: {{{height|}}} |
<tr>
<tr>
   <th>Height</th>
   <th>Height</th>
   <td>{{{height}}}</td>
   <td>{{{height}}}</td>
</tr>
</tr>
}}
<!-- Education -->
{{#if: {{{education|}}} |
<tr>
  <th>Education</th>
  <td>{{{education}}}</td>
</tr>
}}
</table>
</table>