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
imported>Pookie
mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<infobox>
<noinclude>{{Documentation}}
<title source="name">
{{Infobox person
<default>{{PAGENAME}}</default>
| name        = Jimmy Wales
</title>
| image       = Jimmy Wales.jpg
 
| caption      =The image of Wikipedia founder.
<image source="image">
| occupation  = Author
    <caption source="caption">
| notable_works = [[Wikipedia]]
        <default>{{{name}}}</default>
| awards      =  
    </caption>
}}
    </image>
</noinclude>
 
<div class="infobox" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9;">
<data source="birth_name">
    <table style="width: 100%; border: none;">
<label>Birth name</label>
        <tr>
</data>
            <th colspan="2" style="background: #e9e9e9; text-align: center;">{{#if: {{{name|}}} | {{{name}}} | "Unknown Name"}}</th>
 
        </tr>
<data source="native_name">
        <tr>
<label>Native name</label>
            <td colspan="2" style="text-align: center;">
</data>
                {{#if: {{{image|}}}
 
                    | [[File:{{{image}}}|thumb|200px|center]]
<data source="birth_date">
                    | <span style="font-style: italic;">No image available</span>
<label>Born</label>
                }}
</data>
            </td>
 
        </tr>
<data source="birth_place">
        {{#if: {{{caption|}}}
<label>Birthplace</label>
            | <tr>
</data>
                <td colspan="2" style="align: center; text-align: center; font-style: italic;">{{{caption}}}</td>
 
            </tr>
<data source="death_date">
        }}
<label>Died</label>
        {{#if: {{{birth_date|}}}
</data>
            | <tr>
 
                <th style="text-align: left;">Born</th>
<data source="death_place">
                <td>{{{birth_date}}}</td>
<label>Place of death</label>
            </tr>
</data>
        }}
 
        {{#if: {{{birth_place|}}}
<data source="nationality">
            | <tr>
<label>Nationality</label>
                <th style="text-align: left;">Place of Birth</th>
</data>
                <td>{{{birth_place}}}</td>
 
            </tr>
<data source="citizenship">
        }}
<label>Citizenship</label>
        {{#if: {{{nationality|}}}
</data>
            | <tr>
 
                <th style="text-align: left;">Nationality</th>
<data source="ethnicity">
                <td>{{{nationality}}}</td>
<label>Ethnicity</label>
            </tr>
</data>
        }}
 
        {{#if: {{{occupation|}}}
<data source="occupation">
            | <tr>
<label>Occupation</label>
                <th style="text-align: left;">Occupation</th>
</data>
                <td>{{{occupation}}}</td>
 
            </tr>
<data source="years_active">
        }}
<label>Years active</label>
        {{#if: {{{notable_works|}}}
</data>
            | <tr>
 
                <th style="text-align: left;">Notable Works</th>
<data source="employer">
                <td>{{{notable_works}}}</td>
<label>Employer</label>
            </tr>
</data>
        }}
 
        {{#if: {{{awards|}}}
<data source="organization">
            | <tr>
<label>Organization</label>
                <th style="text-align: left;">Awards</th>
</data>
                <td>{{{awards}}}</td>
 
            </tr>
<data source="known_for">
        }}
<label>Known for</label>
      {{#if: {{{website|}}}
</data>
            | <tr>
 
                <th style="text-align: left;">Website</th>
<data source="title">
                <td>{{{website}}}</td>
<label>Title</label>
            </tr>
</data>
        }}
 
    </table>
<data source="net_worth">
</div>
<label>Net worth</label>
</data>
 
<data source="height">
<label>Height</label>
</data>
 
<data source="weight">
<label>Weight</label>
</data>
 
<data source="religion">
<label>Religion</label>
</data>
 
<data source="spouse">
<label>Spouse(s)</label>
</data>
 
<data source="partner">
<label>Partner(s)</label>
</data>
 
<data source="children">
<label>Children</label>
</data>
 
<data source="parents">
<label>Parent(s)</label>
</data>
 
<data source="relatives">
<label>Relatives</label>
</data>
 
<data source="education">
<label>Education</label>
</data>
 
<data source="alma_mater">
<label>Alma mater</label>
</data>
 
<data source="awards">
<label>Awards</label>
</data>
 
<data source="notable_works">
<label>Notable works</label>
</data>
 
<data source="political_party">
<label>Political party</label>
</data>
 
<data source="military_service">
<label>Military service</label>
</data>
 
<data source="website">
<label>Website</label>
</data>
 
<data source="signature">
<label>Signature</label>
</data>
 
<data source="social_media">
<label>Social media</label>
</data>
 
</infobox>

Latest revision as of 18:45, 25 May 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

Some Name
File:Placeholder person.png
Some Name placeholder
Born 1 December 1988
Place of Birth Wikipedia
Nationality Wikian
Occupation Wiki writer
Notable Works Infoboxes
Website www.example.com

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.

Some Name
File:Sample.jpg
Some Name placeholder
Born 1 December 1988
Place of Birth Wikipedia
Nationality Wikian
Occupation Wiki writer
Notable Works Infoboxes
Website www.example.com
Jimmy Wales
The image of Wikipedia founder.
Occupation Author
Notable Works Wikipedia
"Unknown Name"
               No image available