Difference between revisions of "Template:Infobox person"

From Xen
m (Fix numbering)
Line 61: Line 61:
 
| label32 = {{#if:{{{credits|}}}|Notable credit(s)|Notable work(s)}}
 
| label32 = {{#if:{{{credits|}}}|Notable credit(s)|Notable work(s)}}
 
| data32 = {{#if:{{{credits|}}}|{{{credits}}}|{{{notable works|{{{notable_works|}}}}}}}}
 
| data32 = {{#if:{{{credits|}}}|{{{credits}}}|{{{notable works|{{{notable_works|}}}}}}}}
  +
  +
| label33 = Interests
  +
| data33 = {{{interests|}}}
  +
  +
| label34 = Expertise
  +
| data34 = {{{expertise|}}}
   
 
| label42 = Title
 
| label42 = Title

Revision as of 19:52, 20 November 2012

[edit] [purge] Template documentation

Redirects and calls

At least 0 other templates call this one and many templates redirect here.

Usage

The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank or omitted will not be displayed.

Blank template with basic parameters

{{Infobox person
| name        = <!-- include middle initial -->
| image       = <!-- just the filename, without the File: or Image: prefix or enclosing [[brackets]] -->
| alt         = 
| caption     = 
| bio1        = 
| nationality = 
| known_for   = 
| occupation  = 
}}

Blank template with all parameters

{{Infobox person
| honorific_prefix          = 
| name                      = <!-- include middle initial, if not specified in birth_name -->
| honorific_suffix          = 
| native_name               = 
| native_name_lang          = 
| image                     = <!-- just the name, without the File: or Image: prefix or enclosing [[brackets]] -->
| image_size                = 
| alt                       = 
| caption                   = 
| bio1                      = 
| bio2                      = 
| bio3                      = 
| bio4                      = 
| residence                 = 
| nationality               =
| other_names               = 
| education                 = 
| alma_mater                =
| occupation                = 
| employer                  = 
| organization              = 
| known_for                 = 
| notable_works             =
| interests                 =
| experise                  =
| title                     = 
| awards                    = 
| module                    = 
| module2                   = 
| module3                   = 
| module4                   = 
| module5                   = 
| module6                   = 
| website                   = <!-- {{URL|Example.com}} -->
| email                     =
| twitter                   =
| irc                       =
| email                     =
| skype                     =
| linkedin                  =
| blog                      =
| footnotes                 = 
| box_width                 = 
}}

Parameters

Do not use all these parameters for any one person. The list is long to cover a wide range of people. Only use those parameters that convey essential or notable information about the subject. Any parameters left blank or omitted will not be displayed. If a data field has more than one parameter name which can be used, the preferred name is listed first in bold print.

Parameter Explanation
honorific_prefix To appear on the line above the person's name
name Common name of person (defaults to article name if left blank; provide birth_name (below) if different from name). If middle initials are specified (or implied) by the lede of the article, and are not specified seperately in the birth_name field, include them here.
honorific_suffix To appear on the line below the person's name
native_name The person's name in their own language, if different.
native_name_lang Wikipedia:ISO 639-2 code e.g. "fre" or "fra" for French.
image Image name: abc.jpg, xpz.png, 123.gif, etc. If an image is desired but not available, one may add "yes" to the "needs-photo" section of the Wikipedia:Template:WPBiography on the talkpage. If no image is available yet, do not use an image placeholder.
image_size
(imagesize)
Size to display image: 200px (set width), x300px (set height), or 200x300px (max width & max height). This defaults to frameless (default is 220px, but logged in users can change this by clicking on "my preferences" and adjusting thumbnail size) if empty or omitted. This parameter should not normally need to be set.
alt Alt text for image, for visually impaired readers. One word (such as "photograph") is rarely sufficient. See Wikipedia:WP:ALT.
caption Caption for image, if needed. Try to include date of photo and the photographer.
birth_name Name at birth; only use if different from name.
bio1, bio2, bio3, bio4 4 paragraphs that can be used for the biography.
residence Location(s) where the person notably resides/resided, if different from birth place. Do not use a flag template.
nationality Nationality. May be used instead of citizenship (below) or vice versa in cases where any confusion could result. Should only be used with citizenship when they somehow differ. Should only be used if nationality cannot be inferred from the birthplace. Do not use a flag template.
education Education, e.g. degree, institution and graduation year, if relevant. If very little information is available or relevant, the alma_mater parameter may be more appropriate.
alma_mater Wikipedia:Alma mater. This parameter is a more concise alternative to education, and will most often simply consist of the linked name of the last-attended higher education institution. It is usually not relevant to included either parameter for non-graduates, but article talk page consensus may conclude otherwise, as at Wikipedia:Bill Gates.
occupation Occupation(s) as given in the lead.
employer Employer(s), if relevant.
organization Non-employing organization(s), if relevant.
notable_works Title(s) of notable work(s) (publications, compositions, sculptures, films, etc.) by the subject, if any.
title Multiple uses:

See also "awards" parameter, below, for awarded honors that are not really titles. A single award should not use both parameters.

awards Notable awards. If many, link to an appropriate section of the article instead. See also "title" parameter, above, for awarded titles. A single award should not use both parameters.
module
module2
module3
module4
module5
module6
Used for embedding other infoboxes into this one.
website Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} as in {{URL|Example.com}}. Do not include the www. part unless the server is misconfigured and requires it. Use Wikipedia:camel case capitalization to make multiword domain names easier to read.
footnotes Notes about any of the infobox data.
box_width The infobox width, such as: box_width=220px (default: 22em). A space character between the number and the unit of measurement breaks the parameter. This parameter should not normally need to be set.

Examples

Lars Kurth

Lars Kurth
Occupation Xen.org Community Manager
Biography Lars Kurth joined Citrix in 2011 where he works as community manager for Xen.org. He is a passionate open source enthusiast who worked with and for many open source communities over the years and contributed to GCC, Eclipse, Symbian and Xen.
  Lars is an IT generalist with 17 years of industry experience in infrastructure, cloud, tools and mobile industries working at ARM, Citrix, Nokia and the Symbian Foundation. Lars has spoken at OSCON, Øredev, LinuxCon, EclipseCon, Scale and other conferences.
Nationality German
Email lars dot kurth at xen dot org
Twitter lars_kurth
IRC lars_kurth @ freenode
LinkedIn larskurth
Blog Tales from the Community
{{Infobox person
| name              = Lars Kurth
| image             = larsk.jpg
| caption           = Lars Kurth 
| nationality       = German
| occupation        = Xen.org Community Manager
| bio1              = Lars Kurth joined Citrix in 2011 where he works as community manager for Xen.org. 
                      He is a passionate open source enthusiast who worked with and for many open source 
                      communities over the years and contributed to GCC, Eclipse, Symbian and Xen. 
| bio2              = Lars is an IT generalist with 17 years of industry experience in infrastructure, cloud, 
                      tools and mobile industries working at ARM, Citrix, Nokia and the Symbian Foundation. 
                      Lars has spoken at OSCON, Øredev, LinuxCon, EclipseCon, Scale and other conferences. 
| email             = lars dot kurth at xen dot org
| twitter           = [https://twitter.com/lars_kurth lars_kurth]
| irc               = lars_kurth @ freenode
| linkedin          = [http://www.linkedin.com/in/larskurth larskurth]
| blog              = [http://talesfromthecommunity.wordpress.com/ Tales from the Community]
| box_width         = 400px 
}}

See also

Alternative templates are listed at WikiProject Biography/Infoboxes and within the people infobox templates category.

The above documentation is transcluded from Template:Infobox person/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.