Template:Infobox person: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
<table
<table class="infobox" style="width:22em; font-size:90%; line-height:1.4em;">
      class="infobox"
<!-- Name -->
      style="width: 22em; font-size: 90%; line-height: 1.4em"
{{#if: {{{name|}}} |
    >
<tr>
      {{#if:{{{name|}}}
  <th colspan="2" style="text-align:center; font-size: 120%; background-color:#f5f5f5;">''{{{name|}}}''</th>
      <tr>
</tr>
        <th
}}
          colspan="2"
          style="text-align: center; font-size: 120%; background-color: #f5f5f5"
        >
          ''{{{name|}}}''
        </th>
      </tr>


      }} {{#if:{{{image|}}}|
<!-- Image -->
      <tr>
{{#if: {{{image|}}} |
        <td colspan="2" style="text-align: center">
<tr>
          [[File:{{{image}}}|200px|alt={{{name}}}]]<br /><small
  <td colspan="2" style="text-align:center;">[[File:{{{image}}}|200px|alt={{{name}}}]]{{#if:{{{caption}}} |<br><small>{{{caption}}}</small>}}</td>
            >{{{caption}}}</small
</tr>
          >
}}
        </td>
      </tr>
      }} {{#if:{{{birth_date|}}}|
      <tr>
        <th>Birth date</th>
        <td>{{{birth_date}}}</td>
      </tr>


      }} {{#if:{{{known_for|}}}|
<!-- Birth Date -->
      <tr>
{{#if: {{{birth_date|}}} |
        <th>known for</th>
<tr>
        <td>{{{known_for}}}</td>
  <th>Birth date</th>
      </tr>
  <td>{{{birth_date}}}</td>
      }} {{#if:{{{nationality|}}}|
</tr>
      <tr>
}}
        <th>Nationality</th>
 
        <td>{{{nationality}}}</td>
<!-- known for -->
      </tr>
{{#if: {{{known_for|}}} |
      }} {{#if:{{{occupation|}}}|
<tr>
      <tr>
  <th>known for</th>
        <th>Occupation</th>
  <td>{{{known_for}}}</td>
        <td>{{{occupation}}}</td>
</tr>
      </tr>
}}
      }} {{#if:{{{years_active|}}}|
 
      <tr>
<!-- Nationality -->
        <th>Years active</th>
{{#if: {{{nationality|}}} |
        <td>{{{years_active}}}</td>
<tr>
      </tr>
  <th>Nationality</th>
      }} {{#if:{{{notable_works|}}}|
  <td>{{{nationality}}}</td>
      <tr>
</tr>
        <th>Notable work(s)</th>
}}
        <td>{{{notable_works}}}</td>
 
      </tr>
<!-- Occupation -->
      }} {{#if:{{{home_town|}}}|
{{#if: {{{occupation|}}} |
      <tr>
<tr>
        <th>Home town</th>
  <th>Occupation</th>
        <td>{{{home_town}}}</td>
  <td>{{{occupation}}}</td>
      </tr>
</tr>
      }} {{#if:{{{website|}}}|
}}
      <tr>
 
        <th>Website</th>
<!-- Years active -->
        <td>[{{{website}}} {{{website}}}]</td>
{{#if: {{{years_active|}}} |
      </tr>
<tr>
      }} {{#if:{{{height|}}}|
  <th>Years active</th>
      <tr>
  <td>{{{years_active}}}</td>
        <th>Height</th>
</tr>
        <td>{{{height}}}</td>
}}
      </tr>
 
      }}
<!-- Notable Works -->
    </table>
{{#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>