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
 
(10 intermediate revisions by the same user not shown)
Line 5: Line 5:
   </div>
   </div>


  {{#if:{{{image|}}}|
   <div style="text-align:center; margin-bottom:0.8em;">
   <div style="text-align:center; margin-bottom:0.8em;">
     [[File:{{{image}}}|{{{image_size|220px}}}|alt={{{image_alt|Portrait}}}]]
     [[File:{{{image|NoLogo.svg}}}|{{{image_size|220px}}}|alt={{{image_alt|Portrait}}}]]
     {{#if:{{{image_caption|}}}|
     <div style="font-size:90%; opacity:0.85; margin-top:0.3em;">{{{image_caption|}}}</div>
      <div style="font-size:90%; opacity:0.85; margin-top:0.3em;">{{{image_caption}}}</div>
    }}
   </div>
   </div>
  }}


   <table style="width:100%; border-collapse:collapse; font-size:95%;">
   {| style="width:100%; border-collapse:collapse; font-size:95%;"
    {{#if:{{{birth_name|}}}|
  |-
      <tr><th style="padding:0.25em 0; opacity:0.85; width:45%; text-align:left; vertical-align:top;">Birth name</th>
  | style="padding:0.25em 0; opacity:0.85; width:45%;" | '''Birth Name'''
          <td style="padding:0.25em 0;">{{{birth_name}}}</td></tr>
  | style="padding:0.25em 0;" | {{{birth_name|Unknown}}}
    }}
  |-
    {{#if:{{{other_names|}}}|
  | style="padding:0.25em 0; opacity:0.85;" | '''Other Names'''
      <tr><th style="padding:0.25em 0; opacity:0.85; text-align:left; vertical-align:top;">Other names</th>
  | style="padding:0.25em 0;" | {{{other_names|None listed}}}
          <td style="padding:0.25em 0;">{{{other_names}}}</td></tr>
  |-
    }}
  | style="padding:0.25em 0; opacity:0.85;" | '''Pronouns'''
    {{#if:{{{pronouns|}}}|
  | style="padding:0.25em 0;" | {{{pronouns|Unknown}}}
      <tr><th style="padding:0.25em 0; opacity:0.85; text-align:left; vertical-align:top;">Pronouns</th>
  |-
          <td style="padding:0.25em 0;">{{{pronouns}}}</td></tr>
  | style="padding:0.25em 0; opacity:0.85;" | '''Born'''
    }}
  | style="padding:0.25em 0;" | {{{born|Unknown}}}
    {{#if:{{{born|}}}|
  |-
      <tr><th style="padding:0.25em 0; opacity:0.85; text-align:left; vertical-align:top;">Born</th>
  | style="padding:0.25em 0; opacity:0.85;" | '''Nationality'''
          <td style="padding:0.25em 0;">{{{born}}}</td></tr>
  | style="padding:0.25em 0;" | {{{nationality|Unknown}}}
    }}
  |-
    {{#if:{{{nationa
  | style="padding:0.25em 0; opacity:0.85;" | '''Residence'''
  | style="padding:0.25em 0;" | {{{residence|Unknown}}}
  |-
  | style="padding:0.25em 0; opacity:0.85;" | '''Education'''
  | style="padding:0.25em 0;" | {{{education|Unknown}}}
  |-
  | style="padding:0.25em 0; opacity:0.85;" | '''Alma Mater'''
  | style="padding:0.25em 0;" | {{{alma_mater|Unknown}}}
  |-
  | 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}}
 
== Usage ==
<pre>
{{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 =
}}
</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>

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)