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
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<table role="presentation" style="
<div style="float:right; clear:right; margin:0.5em 0 1em 1em; width:320px; border:1px solid rgba(255,255,255,0.15); border-radius:12px; background:rgba(255,255,255,0.02); padding:0.8em;">
  float:right; clear:right;
   <div style="text-align:center; font-size:120%; font-weight:700; margin-bottom:0.6em;">
  margin:0.5em 0 1em 1em;
    {{{name|{{PAGENAME}}}}}
  width:320px;
  </div>
  border:1px solid rgba(255,255,255,0.15);
  border-radius:12px;
  background:rgba(255,255,255,0.02);
  border-collapse:separate;
   border-spacing:0;
  overflow:hidden;
  font-size:95%;
  line-height:1.35;
">


   <!-- Title -->
   <div style="text-align:center; margin-bottom:0.8em;">
  <tr>
    [[File:{{{image|NoLogo.svg}}}|{{{image_size|220px}}}|alt={{{image_alt|Portrait}}}]]
    <td colspan="2" style="
    <div style="font-size:90%; opacity:0.85; margin-top:0.3em;">{{{image_caption|}}}</div>
      padding:0.6em 0.7em;
   </div>
      text-align:center;
      font-size:120%;
      font-weight:700;
      background:transparent !important;
      border:0 !important;
      box-shadow:none !important;
      border-radius:0 !important;
    ">
      {{{name|{{PAGENAME}}}}}
    </td>
   </tr>


   <!-- Image + caption (caption optional, no empty caption space) -->
   {| style="width:100%; border-collapse:collapse; font-size:95%;"
   {{#if:{{{image|}}}|
  |-
   <tr>
   | style="padding:0.25em 0; opacity:0.85; width:45%;" | '''Birth Name'''
    <td colspan="2" style="padding:0.5em 0.7em; text-align:center;">
  | style="padding:0.25em 0;" | {{{birth_name|Unknown}}}
      {{#if:{{{image_caption|}}}|
  |-
        [[File:{{{image}}}|{{{image_size|220px}}}|thumb|center|{{{image_caption}}}|alt={{{image_alt|Portrait}}}]]
   | style="padding:0.25em 0; opacity:0.85;" | '''Other Names'''
      |
  | style="padding:0.25em 0;" | {{{other_names|None listed}}}
        <div style="text-align:center;">
  |-
          [[File:{{{image}}}|{{{image_size|220px}}}|alt={{{image_alt|Portrait}}}]]
  | style="padding:0.25em 0; opacity:0.85;" | '''Pronouns'''
        </div>
  | style="padding:0.25em 0;" | {{{pronouns|Unknown}}}
      }}
  |-
    </td>
  | style="padding:0.25em 0; opacity:0.85;" | '''Born'''
   </tr>
  | style="padding:0.25em 0;" | {{{born|Unknown}}}
   }}
  |-
 
  | style="padding:0.25em 0; opacity:0.85;" | '''Nationality'''
   {{#if:{{{birth_name|}}}|
  | style="padding:0.25em 0;" | {{{nationality|Unknown}}}
   <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;">Birth Name</th>
  | style="padding:0.25em 0; opacity:0.85;" | '''Residence'''
    <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{birth_name}}}</td>
  | style="padding:0.25em 0;" | {{{residence|Unknown}}}
   </tr>
  |-
   }}
  | style="padding:0.25em 0; opacity:0.85;" | '''Education'''
 
  | style="padding:0.25em 0;" | {{{education|Unknown}}}
   {{#if:{{{other_names|}}}|
  |-
   <tr>
  | style="padding:0.25em 0; opacity:0.85;" | '''Alma Mater'''
    <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>
  | style="padding:0.25em 0;" | {{{alma_mater|Unknown}}}
    <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{other_names}}}</td>
  |-
  </tr>
  | style="padding:0.25em 0; opacity:0.85;" | '''Occupation'''
  }}
  | style="padding:0.25em 0;" | {{{occupation|Unknown}}}
   |-
   | style="padding:0.25em 0; opacity:0.85;" | '''Years Active'''
   | style="padding:0.25em 0;" | {{{years_active|Unknown}}}
  |-
   | style="padding:0.25em 0; opacity:0.85;" | '''Known For'''
  | style="padding:0.25em 0;" | {{{known_for|Unknown}}}
  |-
  | style="padding:0.25em 0; opacity:0.85;" | '''Notable Works'''
  | style="padding:0.25em 0;" | {{{notable_works|None listed}}}
  |-
  | style="padding:0.25em 0; opacity:0.85;" | '''Genre'''
  | style="padding:0.25em 0;" | {{{genre|Unknown}}}
   |-
   | style="padding:0.25em 0; opacity:0.85;" | '''Affiliations'''
   | style="padding:0.25em 0;" | {{{affiliations|Unknown}}}
  |-
   | style="padding:0.25em 0; opacity:0.85;" | '''Website'''
  | style="padding:0.25em 0;" | {{{website|None}}}
  |-
  | style="padding:0.25em 0; opacity:0.85;" | '''Notes'''
  | style="padding:0.25em 0;" | {{{notes|}}}
  |}
</div>
</includeonly><noinclude>
{{Documentation}}


  {{#if:{{{pronouns|}}}|
  <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;">Pronouns</th>
    <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{pronouns}}}</td>
  </tr>
  }}
  {{#if:{{{born|}}}|
  <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;">Born</th>
    <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{born}}}</td>
  </tr>
  }}
  {{#if:{{{nationality|}}}|
  <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;">Nationality</th>
    <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{nationality}}}</td>
  </tr>
  }}
  {{#if:{{{occupation|}}}|
  <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;">Occupation</th>
    <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{occupation}}}</td>
  </tr>
  }}
  {{#if:{{{known_for|}}}|
  <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>
    <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{known_for}}}</td>
  </tr>
  }}
  {{#if:{{{notable_works|}}}|
  <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>
    <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{notable_works}}}</td>
  </tr>
  }}
  {{#if:{{{website|}}}|
  <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;">Website</th>
    <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{website}}}</td>
  </tr>
  }}
  {{#if:{{{notes|}}}|
  <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;">Notes</th>
    <td style="padding:0.45em 0.6em; vertical-align:top; overflow-wrap:anywhere;">{{{notes}}}</td>
  </tr>
  }}
</table>
</includeonly><noinclude>
== Usage ==
== Usage ==
<pre>
<pre>
{{Infobox person
{{Infobox Person
| name =
| name =
| image =
| image =
Line 130: Line 77:
| 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 =
}}
}}
</pre>
</pre>
== Parameters ==
* '''image''' should be the file name only (example: <code>Portrait.png</code>)
* '''other_names''' can be a comma/semicolon-separated list
* '''website''' can be plain text or a link (example: <code>[https://example.com example.com]</code>)
</noinclude>
</noinclude>

Latest revision as of 04:24, 1 February 2026

Template:Documentation

Usage

{{Infobox Person
| name =
| image =
| image_size = 220px
| image_alt =
| image_caption =
| birth_name =
| other_names =
| pronouns =
| born =
| nationality =
| residence =
| education =
| alma_mater =
| occupation =
| years_active =
| known_for =
| notable_works =
| genre =
| affiliations =
| website =
| notes =
}}

Parameters

  • image should be the file name only (example: Portrait.png)
  • other_names can be a comma/semicolon-separated list
  • website can be plain text or a link (example: example.com)