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
imported>Pookie
mNo edit summary
Line 1: Line 1:
<div style="display:block; max-width:100%;">
<infobox>
<table class="infobox" style="width:270px; float:right; margin:0 0 1em 1em; border:2px solid #bd282e; background-color:#f9f9f9; font-size:90%; line-height:1.4em;">
<title source="name">
<tr>
<default>{{PAGENAME}}</default>
  <th colspan="2" style="background-color:#bd282e; color:#ffffff; font-size:120%; padding:6px; text-align:center;">{{{name|Name Here}}}</th>
</title>
</tr>


{{#if:{{{image_markup|}}}|
<image source="image">
<tr>
    <caption source="caption">
  <td colspan="2" style="text-align:center; padding:8px;">{{{image_markup}}}</td>
        <default>{{{name}}}</default>
</tr>
    </caption>
}}
    </image>


{{#if:{{{image|}}}|
<data source="birth_name">
<tr>
<label>Birth name</label>
  <td colspan="2" style="text-align:center; padding:8px;">
</data>
    <div style="max-width:100%; display:inline-block;">
      [[{{{image}}}|frameless|center]]
    </div>
  </td>
</tr>
}}


{{#if:{{{alt|}}}|
<data source="native_name">
<tr>
<label>Native name</label>
  <th style="width:35%; background-color:#f2f2f2; padding:4px; text-align:left;">Alt</th>
</data>
  <td style="padding:4px;">{{{alt}}}</td>
</tr>
}}


{{#if:{{{caption|}}}|
<data source="birth_date">
<tr>
<label>Born</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Caption</th>
</data>
  <td style="padding:4px;">{{{caption}}}</td>
</tr>
}}


{{#if:{{{native_name|}}}|
<data source="birth_place">
<tr>
<label>Birthplace</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Native name</th>
</data>
  <td style="padding:4px;">{{{native_name}}}</td>
</tr>
}}


{{#if:{{{birth_name|}}}|
<data source="death_date">
<tr>
<label>Died</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Birth name</th>
</data>
  <td style="padding:4px;">{{{birth_name}}}</td>
</tr>
}}


{{#if:{{{birth_date|}}}|
<data source="death_place">
<tr>
<label>Place of death</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Born</th>
</data>
  <td style="padding:4px;">{{{birth_date}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}}</td>
</tr>
}}


{{#if:{{{death_date|}}}|
<data source="nationality">
<tr>
<label>Nationality</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Died</th>
</data>
  <td style="padding:4px;">{{{death_date}}}{{#if:{{{death_place|}}}|<br />{{{death_place}}}}}</td>
</tr>
}}


{{#if:{{{resting_place|}}}|
<data source="citizenship">
<tr>
<label>Citizenship</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Resting place</th>
</data>
  <td style="padding:4px;">{{{resting_place}}}</td>
</tr>
}}


{{#if:{{{nationality|}}}|
<data source="ethnicity">
<tr>
<label>Ethnicity</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Nationality</th>
</data>
  <td style="padding:4px;">{{{nationality}}}</td>
</tr>
}}


{{#if:{{{citizenship|}}}|
<data source="occupation">
<tr>
<label>Occupation</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Citizenship</th>
</data>
  <td style="padding:4px;">{{{citizenship}}}</td>
</tr>
}}


{{#if:{{{other_names|}}}|
<data source="years_active">
<tr>
<label>Years active</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Other names</th>
</data>
  <td style="padding:4px;">{{{other_names}}}</td>
</tr>
}}


{{#if:{{{education|}}}|
<data source="employer">
<tr>
<label>Employer</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Education</th>
</data>
  <td style="padding:4px;">{{{education}}}</td>
</tr>
}}


{{#if:{{{alma_mater|}}}|
<data source="organization">
<tr>
<label>Organization</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Alma mater</th>
</data>
  <td style="padding:4px;">{{{alma_mater}}}</td>
</tr>
}}


{{#if:{{{occupation|}}}|
<data source="known_for">
<tr>
<label>Known for</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Occupation</th>
</data>
  <td style="padding:4px;">{{{occupation}}}</td>
</tr>
}}


{{#if:{{{years_active|}}}|
<data source="title">
<tr>
<label>Title</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Years active</th>
</data>
  <td style="padding:4px;">{{{years_active}}}</td>
</tr>
}}


{{#if:{{{known_for|}}}|
<data source="net_worth">
<tr>
<label>Net worth</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Known for</th>
</data>
  <td style="padding:4px;">{{{known_for}}}</td>
</tr>
}}


{{#if:{{{notable_works|}}}|
<data source="height">
<tr>
<label>Height</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Notable works</th>
</data>
  <td style="padding:4px;">{{{notable_works}}}</td>
</tr>
}}


{{#if:{{{employer|}}}|
<data source="weight">
<tr>
<label>Weight</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Employer</th>
</data>
  <td style="padding:4px;">{{{employer}}}</td>
</tr>
}}


{{#if:{{{organization|}}}|
<data source="religion">
<tr>
<label>Religion</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Organization</th>
</data>
  <td style="padding:4px;">{{{organization}}}</td>
</tr>
}}


{{#if:{{{title|}}}|
<data source="spouse">
<tr>
<label>Spouse(s)</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Title</th>
</data>
  <td style="padding:4px;">{{{title}}}</td>
</tr>
}}


{{#if:{{{term|}}}|
<data source="partner">
<tr>
<label>Partner(s)</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Term</th>
</data>
  <td style="padding:4px;">{{{term}}}</td>
</tr>
}}


{{#if:{{{predecessor|}}}|
<data source="children">
<tr>
<label>Children</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Predecessor</th>
</data>
  <td style="padding:4px;">{{{predecessor}}}</td>
</tr>
}}


{{#if:{{{successor|}}}|
<data source="parents">
<tr>
<label>Parent(s)</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Successor</th>
</data>
  <td style="padding:4px;">{{{successor}}}</td>
</tr>
}}


{{#if:{{{boards|}}}|
<data source="relatives">
<tr>
<label>Relatives</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Boards</th>
</data>
  <td style="padding:4px;">{{{boards}}}</td>
</tr>
}}


{{#if:{{{net_worth|}}}|
<data source="education">
<tr>
<label>Education</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Net worth</th>
</data>
  <td style="padding:4px;">{{{net_worth}}}</td>
</tr>
}}


{{#if:{{{height|}}}|
<data source="alma_mater">
<tr>
<label>Alma mater</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Height</th>
</data>
  <td style="padding:4px;">{{{height}}}</td>
</tr>
}}


{{#if:{{{weight|}}}|
<data source="awards">
<tr>
<label>Awards</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Weight</th>
</data>
  <td style="padding:4px;">{{{weight}}}</td>
</tr>
}}


{{#if:{{{television|}}}|
<data source="notable_works">
<tr>
<label>Notable works</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Television</th>
</data>
  <td style="padding:4px;">{{{television}}}</td>
</tr>
}}


{{#if:{{{spouse|}}}|
<data source="political_party">
<tr>
<label>Political party</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Spouse</th>
</data>
  <td style="padding:4px;">{{{spouse}}}</td>
</tr>
}}


{{#if:{{{partner|}}}|
<data source="military_service">
<tr>
<label>Military service</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Partner</th>
</data>
  <td style="padding:4px;">{{{partner}}}</td>
</tr>
}}


{{#if:{{{children|}}}|
<data source="website">
<tr>
<label>Website</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Children</th>
</data>
  <td style="padding:4px;">{{{children}}}</td>
</tr>
}}


{{#if:{{{parents|}}}|
<data source="signature">
<tr>
<label>Signature</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Parents</th>
</data>
  <td style="padding:4px;">{{{parents}}}</td>
</tr>
}}


{{#if:{{{relatives|}}}|
<data source="social_media">
<tr>
<label>Social media</label>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Relatives</th>
</data>
  <td style="padding:4px;">{{{relatives}}}</td>
</tr>
}}


{{#if:{{{awards|}}}|
</infobox>
<tr>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Awards</th>
  <td style="padding:4px;">{{{awards}}}</td>
</tr>
}}


{{#if:{{{website|}}}|
<noinclude>
<tr>
{{Documentation}}
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Website</th>
</noinclude>
  <td style="padding:4px;">{{{website}}}</td>
</tr>
}}
 
{{#if:{{{signature|}}}|
<tr>
  <th style="background-color:#f2f2f2; padding:4px; text-align:left;">Signature</th>
  <td style="padding:4px;">[[File:{{{signature}}}|200px]]</td>
</tr>
}}
</table>
</div>

Revision as of 04:28, 1 March 2026


Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

Template Documentation:
Note: The template above might be broken without the parameters; this is normal.
View, edit, or check the history of this documentation. (How does this work?)
Editors can experiment with this template's sandbox and testcases.
Description
A template for people articles.
Syntax
Add {{Infobox person|parameters}} at the top of the page with parameters as shown below.

Usage

{{Infobox person
|name          =
|image         =
|gender        =
|age           =
|birth_name    =
|birth_date    =
|birth_place   =
|Patents       =
|Relatives     =
|nationality   =
|other_names   =
|occupation    =
|years_active  =
|known_for     =
|notable_works =
|home_town     =
|height        =
|weight        =
|hair          =
|eyes          =
|website       =
}}

Preview


Click here to refresh the preview


{{Infobox person
|name          = Some Name
|image         = Placeholder person.png
|caption       = Some Name placeholder
|gender        = Female
|age           = 29
|birth_name    = Some Other Name
|birth_date    = 1 December 1988
|birth_place   = Wikipedia
|death_date    = 4 December 2017
|death_place   = Fandom
|nationality   = Wikian
|other_names   = Some Pseudonym
|occupation    = Wiki writer
|years_active  = 2005 - 2017
|known_for     = Editing templates
|notable_works = Infoboxes
|home_town     = Internet
|height        = 5'7"
|weight        = 160 lbs.
|hair          = Brown
|eyes          = Blue
|website       = www.example.com
}}

Installation Instructions
Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Infobox person]] to properly attribute this template's editors.

The above message will be enough for most cases; if there are additional instructions, you can see them below.