Jump to content

Template:Infobox person: Difference between revisions

From WikiGenius
Shovon (talk | contribs)
mNo edit summary
Shovon (talk | contribs)
m Undo revision 14690 by Shovon (talk)
Line 1: Line 1:
<table class="infobox" style="float:right; width:280px; font-size:90%; line-height:1.5em; border:1px solid #aaa; background:#f9f9f9; padding:0.4em;">
__INDEX__
  <tr style="background-color:#e60000; color:white; text-align:center; font-size:125%; font-weight:bold;">
<infobox>
    <td colspan="2">{{{name|{{PAGENAME}}}}}</td>
<title source="name"><default>{{PAGENAME}}</default></title>
  </tr>
<image source="image">
 
    <caption source="caption"></caption>
  {{#if:{{{image|}}}|
     </image>
  <tr>
<data source="gender"><label>Gender</label></data>
     <td colspan="2" style="text-align:center;">
<data source="age"><label>Age</label></data>
      [[File:{{{image}}}|250px|alt={{{name|}}}]]
<data source="birth_name"><label>Born</label></data>
    </td>
<data source="birth_date"><label>Birth date</label></data>
  </tr>
<data source="birth_place"><label>Birth place</label></data>
  }}
<data source="Parents"><label>Parents</label></data>
 
<data source="Relatives"><label>Relatives</label></data>
  {{#if:{{{caption|}}}|
<data source="nationality"><label>Nationality</label></data>
  <tr>
<data source="other_names"><label>Other names</label></data>
    <td colspan="2" style="text-align:center; font-size:85%;">{{{caption}}}</td>
<data source="occupation"><label>Occupation</label></data>
  </tr>
<data source="years_active"><label>Years active</label></data>
  }}
<data source="known_for"><label>Known for</label></data>
 
<data source="notable_works"><label>Notable work(s)</label></data>
  {{#if:{{{birth_date|}}}|
<data source="home_town"><label>Home town</label></data>
  <tr>
    <data source="website"><label>website</label></data>
    <th scope="row">Born</th>
<group>
    <td>{{{birth_date}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}}</td>
    <header>Attributes</header>
  </tr>
    <data source="height"><label>Height</label></data>
  }}
    <data source="weight"><label>Weight</label></data>
 
    <data source="hair"><label>Hair color</label></data>
  {{#if:{{{nationality|}}}|
    <data source="eyes"><label>Eye color</label></data>
  <tr>
</group>
    <th scope="row">Nationality</th>
</infobox>
    <td>{{{nationality}}}</td>
<noinclude>{{Documentation}}</noinclude>
  </tr>
  }}
 
  {{#if:{{{occupation|}}}|
  <tr>
    <th scope="row">Occupation</th>
    <td>{{{occupation}}}</td>
  </tr>
  }}
 
  {{#if:{{{height|}}}|
  <tr>
    <th scope="row">Height</th>
    <td>{{{height}}}</td>
  </tr>
  }}
 
  {{#if:{{{website|}}}|
  <tr>
    <th scope="row">Website</th>
    <td>[{{{website}}} {{{website}}}]</td>
  </tr>
  }}
</table>

Revision as of 21:52, 2 June 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.