Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox person: Difference between revisions

Template page
No edit summary
No edit summary
Line 13: Line 13:
   line-height:1.35;
   line-height:1.35;
">
">
   <caption style="
   <tbody>
    padding:0.6em 0.7em;
    text-align:center;
    font-size:120%;
    font-weight:700;
  ">
    {{{name|{{PAGENAME}}}}}
  </caption>


{{#if:{{{image|}}}|
    <!-- Title (Wikipedia-style header row, inside the box) -->
<tr>
    <tr>
  <td colspan="2" style="padding:0.4em 0.7em 0.7em; text-align:center;">
      <th colspan="2" style="
    <figure style="margin:0; display:inline-block; text-align:center; max-width:100%;">
        padding:0.6em 0.7em;
      [[File:{{{image}}}|{{{image_size|220px}}}|alt={{{image_alt|Portrait}}}]]
        text-align:center;
      {{#if:{{{image_caption|}}}|
        font-size:120%;
        <figcaption style="margin-top:0.35em; font-size:90%; opacity:0.85;">
        font-weight:700;
          {{{image_caption}}}
      ">
        </figcaption>
        {{{name|{{PAGENAME}}}}}
      }}
      </th>
    </figure>
    </tr>
  </td>
 
</tr>
    <!-- Image + caption (must be inside tbody) -->
}}
    {{#if:{{{image|}}}|
    <tr>
      <td colspan="2" style="padding:0.4em 0.7em 0.7em; text-align:center;">
        <div style="display:inline-block; text-align:center; max-width:100%; margin:0 auto;">
          <div>[[File:{{{image}}}|{{{image_size|220px}}}|alt={{{image_alt|Portrait}}}]]</div>
          {{#if:{{{image_caption|}}}|
            <div style="margin-top:0.35em; font-size:90%; opacity:0.85; text-align:center;">
              {{{image_caption}}}
            </div>
          }}
        </div>
      </td>
    </tr>
    }}


  <tbody style="display:table-row-group;">
     <!-- Rows -->
     <!-- helper: row template pattern -->
     {{#if:{{{birth_name|}}}|
     {{#if:{{{birth_name|}}}|
     <tr>
     <tr>
       <th scope="row" style="
       <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Birth name</th>
        width:35%;
       <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{birth_name}}}</td>
        padding:0.45em 0.6em;
        text-align:left;
        vertical-align:top;
        font-weight:600;
        opacity:0.85;
        white-space:nowrap;
      ">Birth Name</th>
       <td style="
        padding:0.45em 0.6em;
        vertical-align:top;
        overflow-wrap:anywhere;
        word-break:normal;
      ">{{{birth_name}}}</td>
     </tr>
     </tr>
     }}
     }}
Line 61: Line 53:
     {{#if:{{{other_names|}}}|
     {{#if:{{{other_names|}}}|
     <tr>
     <tr>
       <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Other Names</th>
       <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Other names</th>
       <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{other_names}}}</td>
       <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{other_names}}}</td>
     </tr>
     </tr>
Line 84: Line 76:
       <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Nationality</th>
       <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Nationality</th>
       <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{nationality}}}</td>
       <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{nationality}}}</td>
    </tr>
    }}
    {{#if:{{{residence|}}}|
    <tr>
      <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Residence</th>
      <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{residence}}}</td>
    </tr>
    }}
    {{#if:{{{education|}}}|
    <tr>
      <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Education</th>
      <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{education}}}</td>
    </tr>
    }}
    {{#if:{{{alma_mater|}}}|
    <tr>
      <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Alma Mater</th>
      <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{alma_mater}}}</td>
     </tr>
     </tr>
     }}
     }}
Line 112: Line 83:
       <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Occupation</th>
       <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Occupation</th>
       <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{occupation}}}</td>
       <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{occupation}}}</td>
    </tr>
    }}
    {{#if:{{{years_active|}}}|
    <tr>
      <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Years Active</th>
      <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{years_active}}}</td>
     </tr>
     </tr>
     }}
     }}
Line 124: Line 88:
     {{#if:{{{known_for|}}}|
     {{#if:{{{known_for|}}}|
     <tr>
     <tr>
       <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Known For</th>
       <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Known for</th>
       <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{known_for}}}</td>
       <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{known_for}}}</td>
     </tr>
     </tr>
Line 131: Line 95:
     {{#if:{{{notable_works|}}}|
     {{#if:{{{notable_works|}}}|
     <tr>
     <tr>
       <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Notable Works</th>
       <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Notable works</th>
       <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{notable_works}}}</td>
       <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{notable_works}}}</td>
    </tr>
    }}
    {{#if:{{{genre|}}}|
    <tr>
      <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Genre</th>
      <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{genre}}}</td>
    </tr>
    }}
    {{#if:{{{affiliations|}}}|
    <tr>
      <th scope="row" style="width:35%; padding:0.45em 0.6em; text-align:left; vertical-align:top; font-weight:600; opacity:0.85; white-space:nowrap;">Affiliations</th>
      <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{affiliations}}}</td>
     </tr>
     </tr>
     }}
     }}
Line 163: Line 113:
     </tr>
     </tr>
     }}
     }}
   </tbody>
   </tbody>
</table>
</table>
Line 179: Line 130:
| born =
| born =
| nationality =
| nationality =
| residence =
| education =
| alma_mater =
| occupation =
| occupation =
| years_active =
| known_for =
| known_for =
| notable_works =
| notable_works =
| genre =
| affiliations =
| website =
| website =
| notes =
| notes =

Revision as of 04:11, 1 February 2026

Usage

{{Infobox person
| name =
| image =
| image_size = 220px
| image_alt =
| image_caption =
| birth_name =
| other_names =
| pronouns =
| born =
| nationality =
| occupation =
| known_for =
| notable_works =
| website =
| notes =
}}
Contents