Jump to content

Template:Infobox person: Difference between revisions

From WikiGenius
Shovon (talk | contribs)
mNo edit summary
Tag: Manual revert
Shovon (talk | contribs)
mNo edit summary
Tag: Manual revert
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="max-width: 22em; margin-left: auto; margin-top: 1em; margin-bottom: 1em;">
<infobox>
{| class="infobox" style="width: 100%; font-size: 90%; border: 1px solid #aaa; border-collapse: separate;"
    <title source="name"><default>{{PAGENAME}}</default></title>
|-
    <image source="image">
! colspan="2" style="text-align:center; font-size:120%; font-weight:bold; background:#ddd; padding: 0.4em;" | {{{name|{{PAGENAME}}}}}
        <caption source="caption">
|-
            <default>{{{name}}} image</default>
| style="text-align:center; padding: 0.5em;" colspan="2" |
        </caption>
{{#if: {{{image|}}} | [[File:{{{image}}}|220px|alt={{{name|}}}]] }}
    </image>
|-
    <data source="gender"><label>Gender</label></data>
! style="padding: 0.3em 0.5em; width: 30%;" | Gender
    <data source="age"><label>Age</label></data>
| style="padding: 0.3em 0.5em;" | {{{gender|}}}
    <data source="birth_name"><label>Born</label></data>
|-
    <data source="birth_date"><label>Birth date</label></data>
! style="padding: 0.3em 0.5em;" | Age
    <data source="birth_place"><label>Birth place</label></data>
| style="padding: 0.3em 0.5em;" | {{{age|}}}
    <data source="parents"><label>Parents</label></data>
|-
    <data source="relatives"><label>Relatives</label></data>
! style="padding: 0.3em 0.5em;" | Born
    <data source="nationality"><label>Nationality</label></data>
| style="padding: 0.3em 0.5em;" | {{{birth_name|}}}
    <data source="other_names"><label>Other names</label></data>
|-
    <data source="occupation"><label>Occupation</label></data>
! style="padding: 0.3em 0.5em;" | Birth date
    <data source="years_active"><label>Years active</label></data>
| style="padding: 0.3em 0.5em;" | {{{birth_date|}}}
    <data source="known_for"><label>Known for</label></data>
|-
    <data source="notable_works"><label>Notable work(s)</label></data>
! style="padding: 0.3em 0.5em;" | Birth place
    <data source="home_town"><label>Home town</label></data>
| style="padding: 0.3em 0.5em;" | {{{birth_place|}}}
    <data source="website"><label>Website</label></data>
|-
 
! style="padding: 0.3em 0.5em;" | Parents
    <group label="Attributes">
| style="padding: 0.3em 0.5em;" | {{{parents|}}}
        <data source="height"><label>Height</label></data>
|-
        <data source="weight"><label>Weight</label></data>
! style="padding: 0.3em 0.5em;" | Relatives
        <data source="hair"><label>Hair color</label></data>
| style="padding: 0.3em 0.5em;" | {{{relatives|}}}
        <data source="eyes"><label>Eye color</label></data>
|-
    </group>
! style="padding: 0.3em 0.5em;" | Nationality
</infobox>
| style="padding: 0.3em 0.5em;" | {{{nationality|}}}
<noinclude>{{Documentation}}</noinclude>
|-
! style="padding: 0.3em 0.5em;" | Other names
| style="padding: 0.3em 0.5em;" | {{{other_names|}}}
|-
! style="padding: 0.3em 0.5em;" | Occupation
| style="padding: 0.3em 0.5em;" | {{{occupation|}}}
|-
! style="padding: 0.3em 0.5em;" | Years active
| style="padding: 0.3em 0.5em;" | {{{years_active|}}}
|-
! style="padding: 0.3em 0.5em;" | Known for
| style="padding: 0.3em 0.5em;" | {{{known_for|}}}
|-
! style="padding: 0.3em 0.5em;" | Notable work(s)
| style="padding: 0.3em 0.5em;" | {{{notable_works|}}}
|-
! style="padding: 0.3em 0.5em;" | Home town
| style="padding: 0.3em 0.5em;" | {{{home_town|}}}
|-
! style="padding: 0.3em 0.5em;" | Website
| style="padding: 0.3em 0.5em;" | {{#if: {{{website|}}} | [{{{website}}} {{{website}}}] }}
|-
! colspan="2" style="background:#f0f0f0; text-align:center; font-weight:bold; padding: 0.4em;" | Attributes
|-
! style="padding: 0.3em 0.5em;" | Height
| style="padding: 0.3em 0.5em;" | {{{height|}}}
|-
! style="padding: 0.3em 0.5em;" | Weight
| style="padding: 0.3em 0.5em;" | {{{weight|}}}
|-
! style="padding: 0.3em 0.5em;" | Hair color
| style="padding: 0.3em 0.5em;" | {{{hair|}}}
|-
! style="padding: 0.3em 0.5em;" | Eye color
| style="padding: 0.3em 0.5em;" | {{{eyes|}}}
|}
</div>

Latest revision as of 19:22, 27 July 2025

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.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.