Template:Infobox person: Difference between revisions

Shovon (talk | contribs)
mNo edit summary
Shovon (talk | contribs)
mNo edit summary
Tag: Manual revert
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="infobox" style="float:right; width:280px; font-size:90%; line-height:1.5em; border:1px solid #aaa; background:#f9f9f9; padding:0.4em;">
<infobox>
  <tr style="background-color:#e60000; color:white; text-align:center; font-size:125%; font-weight:bold;">
    <title source="name"><default>{{PAGENAME}}</default></title>
    <td colspan="2">{{{name|{{PAGENAME}}}}}</td>
    <image source="image">
  </tr>
        <caption source="caption">
            <default>{{{name}}} image</default>
        </caption>
    </image>
    <data source="gender"><label>Gender</label></data>
    <data source="age"><label>Age</label></data>
    <data source="birth_name"><label>Born</label></data>
    <data source="birth_date"><label>Birth date</label></data>
    <data source="birth_place"><label>Birth place</label></data>
    <data source="parents"><label>Parents</label></data>
    <data source="relatives"><label>Relatives</label></data>
    <data source="nationality"><label>Nationality</label></data>
    <data source="other_names"><label>Other names</label></data>
    <data source="occupation"><label>Occupation</label></data>
    <data source="years_active"><label>Years active</label></data>
    <data source="known_for"><label>Known for</label></data>
    <data source="notable_works"><label>Notable work(s)</label></data>
    <data source="home_town"><label>Home town</label></data>
    <data source="website"><label>Website</label></data>


  {{#if:{{{image|}}}|
     <group label="Attributes">
  <tr>
        <data source="height"><label>Height</label></data>
     <td colspan="2" style="text-align:center;">
        <data source="weight"><label>Weight</label></data>
      [[File:{{{image}}}|250px|alt={{{name|}}}]]
        <data source="hair"><label>Hair color</label></data>
    </td>
        <data source="eyes"><label>Eye color</label></data>
  </tr>
     </group>
  }}
</infobox>
 
<noinclude>{{Documentation}}</noinclude>
  {{#if:{{{caption|}}}|
  <tr>
    <td colspan="2" style="text-align:center; font-size:85%;">{{{caption}}}</td>
  </tr>
  }}
 
  {{#if:{{{birth_date|}}}|
  <tr>
    <th scope="row">Born</th>
    <td>{{{birth_date}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}}</td>
  </tr>
  }}
 
  {{#if:{{{nationality|}}}|
  <tr>
    <th scope="row">Nationality</th>
    <td>{{{nationality}}}</td>
  </tr>
  }}
 
  {{#if:{{{occupation|}}}|
  <tr>
    <th scope="row">Occupation</th>
    <td>{{{occupation}}}</td>
  </tr>
  }}
 
  {{#if:{{{height|}}}|
  <tr>
    <th scope="row">Height</th>
     <td>{{{height}}}</td>
  </tr>
  }}
 
  {{#if:{{{website|}}}|
  <tr>
    <th scope="row">Website</th>
    <td>[{{{website}}} {{{website}}}]</td>
  </tr>
  }}
</table>