Template:Infobox person/doc: Difference between revisions

From Xen
Jump to navigationJump to search
No edit summary
Line 12: Line 12:


=== Blank template with basic parameters ===
=== Blank template with basic parameters ===
<!-- Removed from docs
| birth_date =
| birth_place =
| death_date =
| death_place =
-->


<pre style="overflow: auto">
<pre style="overflow: auto">
{{Infobox person
{{Infobox person
| name = <!-- include middle initial, if not specified in birth_name -->
| name = <!-- include middle initial -->
| image = <!-- just the filename, without the File: or Image: prefix or enclosing [[brackets]] -->
| image = <!-- just the filename, without the File: or Image: prefix or enclosing [[brackets]] -->
| alt =
| alt =
| caption =
| caption =
| bio1 =
| bio1 =
| birth_name =
| nationality =
| nationality =
| other_names =
| known_for =
| known_for =
| occupation =
| occupation =

Revision as of 19:21, 20 November 2012


Icon Info.png I added this template as a basis for evolving it into GSoC mentor and community profiles. The fields do need to be changed to make this more suitable. When I have this, I will create a mentor and/or person template.


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                      = 
| monuments                 = 
| residence                 = 
| nationality               = 
| other_names               = 
| ethnicity                 = <!-- Ethnicity should be supported with a citation from a reliable source -->
| citizenship               = 
| education                 = 
| alma_mater                = 
| occupation                = 
| years_active              = 
| employer                  = 
| organization              = 
| agent                     = 
| known_for                 = 
| notable_works             = 
| style                     = 
| influences                = 
| influenced                = 
| home_town                 = 
| salary                    = 
| net_worth                 = <!-- Net worth should be supported with a citation from a reliable source -->
| height                    = <!-- {{height|m=}} -->
| weight                    = <!-- {{convert|weight in kg|kg|lb}} -->
| television                = 
| title                     = 
| term                      = 
| predecessor               = 
| successor                 = 
| party                     = 
| movement                  = 
| opponents                 = 
| boards                    = 
| religion                  = <!-- Religion should be supported with a citation from a reliable source -->
| denomination              = <!-- Denomination should be supported with a citation from a reliable source -->
| criminal_charge           = <!-- Criminality parameters should be supported with citations from reliable sources -->
| criminal_penalty          = 
| criminal_status           = 
| spouse                    = 
| partner                   = 
| children                  = 
| parents                   = 
| relatives                 = 
| callsign                  = 
| awards                    = 
| signature                 = 
| signature_alt             = 
| signature_size            = 
| module                    = 
| module2                   = 
| module3                   = 
| module4                   = 
| module5                   = 
| module6                   = 
| website                   = <!-- {{URL|Example.com}} -->
| 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.
monuments Significant monuments erected, buildings named, etc., in honour of the subject. If many, link to an appropriate section of the article instead.
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.
other_names Other notable names for the person, if different from name and birth_name.
ethnicity Ethnicity. Please be sure to support with a citation from a reliable source, in the article body.
citizenship Country of legal citizenship, if different from nationality. Rarely needed. See usage notes for nationality above. Should only be used if citizenship 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.
years_active Date range in years during which the subject was active in their principal occupation(s) and/or other activity for which they are notable. Use the format 1950–2000, or 1970–present if still active (note the use of an en dash, not hyphen). If no dates of birth and/or death are known for the subject, only a Wikipedia:floruit date range, as is common with ancient subjects, this parameter can be used for it. If approximate (Wikipedia:circa) dates are known for either or both, put them in the birth_date and death_date parameters.
employer Employer(s), if relevant.
organization Non-employing organization(s), if relevant.
agent The subject's agent (individual and/or agency), if relevant.
known_for
(known)
A brief description of why the person is notable.
notable_works Title(s) of notable work(s) (publications, compositions, sculptures, films, etc.) by the subject, if any.
style The style in which the subject works, if applicable.
influences People who were influences of the subject. Clear and notable examples only. Can also be used to indicate groups, schools of thought, etc. (but beware supposition).
influenced People who were influenced by the subject. Clear and notable examples only. Can also be used to indicate groups, schools of thought, etc. (but beware grandiose claims and supposition).
home_town The place where the person was raised and matured, if different from birth place and residence.
salary Annual salary or compensation, if relevant.
net_worth Current estimated net worth, if relevant. Please be sure to support with a citation from a reliable source, in the article body.
height If person was notable for their height, or if height is relevant. If used, this should also include the year of the measurement if the person had not reached full adulthood when this stat was published.
weight If person was notable for their weight, or if weight is relevant. If used, this should also include the year of the measurement.
television Television programmes presented by or closely associated with the subject.
title Multiple uses:

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

term Years the person held the title listed above.
predecessor Person who previously held the title listed above.
successor Person who subsequently held the title listed above.
party If relevant. Field labelled Political party.
movement If relevant; non party-political.
opponents Notable relevant opponents (e.g. for major political office).
boards For Wikipedia:board of directors membership(s), if relevant. Field labeled Board member of.
religion If relevant. For living persons please refer to Wikipedia:WP:BLPCAT. Please be sure to support with a citation from a reliable source, in the article body.
denomination Denomination of religion, if relevant. Please be sure to support with a citation from a reliable source, in the article body.
criminal_charge
criminal_penalty
criminal_status
For convicted criminals only. Please be certain to support these parameters with citations from reliable sources, in the article body.
spouse(s) Name of spouse(s), followed by years of marriage. Use the format Name (1950–present) for current spouse and Name (1970–1999) for former spouse(s); for convenience, consider using marriage. Separate entries using Plainlist or Unbulleted list. For deceased persons still married at time of death, close the date range with death year.
partner(s) For unmarried Wikipedia:life partners (of any gender or sexual preference), not business partners. Use the format Name (1950–present) for current partner and Name (1970–1999) for former partner(s).
children Number of children (e.g. three or 3), or list of names, in which case, separate entries using Plainlist or Unbulleted list. For privacy reasons, consider omitting the names of children of living persons, unless the children are independently notable.
parents Names of parents.
relatives
(relations)
Names of siblings or other relatives. Include the relationship in parentheses after the name (sister, uncle, etc). Separate entries using Plainlist or Unbulleted list.
callsign Amateur radio Wikipedia:call sign, if relevant.
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.
signature An image of the person's signature. Please use image name: abc.jpg, xpz.png, 123.gif, etc.
signature_alt Alt text for the signature image. For example, for Wikipedia:File:Thomas Jefferson Signature.svg, the alt text might be |signature_alt="Th: Jefferson", spelling out the signature exactly as it appears in the image.
signature_size Default is 150px. If necessary, a signature can be resized manually as per the "image_size" parameter.
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, 0redev, LinuxCon, EclipseCon, Scale and other conferences.
Nationality German
{{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, 0redev, LinuxCon, EclipseCon, Scale and other conferences. 
| box_width         = 400px 
}}

See also

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