Template:Infobox person/doc: Difference between revisions
No edit summary |
(No difference)
|
Revision as of 05:22, 2 February 2012
File:Edit-copy green.svg | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
{{Infobox person}} may be used to summarize information about a particular person, usually at the top of an article.
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 = | image = <!-- just the name, without the File: or Image: prefix or enclosing [[brackets]] --> | alt = | caption = | birth_name = | birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} or {{Birth-date and age|Month DD, YYYY}} --> | birth_place = | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} or {{Death-date and age|Month DD, YYYY|Month DD, YYYY}} (death date then birth date) --> | death_place = | nationality = | other_names = | known_for = | occupation = }}
Blank template with all parameters
{{Infobox person | honorific_prefix = | 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 = | birth_name = | birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} --> | birth_place = | disappeared_date = <!-- {{Disappeared date and age|YYYY|MM|DD|YYYY|MM|DD}} (disappeared date then birth date) --> | disappeared_place = | disappeared_status = | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) --> | death_place = | death_cause = | body_discovered = | resting_place = | resting_place_coordinates = <!-- {{Coord|LAT|LONG|type:landmark|display=inline}} --> | 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|www.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). |
honorific_suffix | To appear on the line below the person's name |
native_name | The person's name in their own language |
native_name_lang | ISO 639-2 code e.g. "fre" or "fra" for French. If more than one, use {{lang}} for |native_name= instead
|
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 Template:WPBiography on the talkpage. Do not add File:Replace this image male.svg, File:Replace this image female.svg or other placeholder images. |
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. See 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. |
birth_date | Date of birth: {{birth date and age}} (if living) or {{birth date}} (if dead). See Template:Birth date and age/doc for details on usage. If only a year of birth is known, or age as of a certain date, consider using {{birth year and age}} or {{birth based on age as of date}}. |
birth_place | Place of birth: city, administrative region, sovereign state. Note: Do not add flag icons to the birthplace. See: Wikipedia:Manual of Style (flags). |
disappeared_date | (For missing people) Date of disappearance: {{disappeared date and age}} (if birth date is known) or {{disappeared date}} (if birth date unknown). |
disappeared_place | (For missing people) Place of disappearance: city, administrative region, sovereign state. |
disappeared_status | (For missing people) Current status for the person, e.g. if the person is still regarded as missing (using {{missing for}} to calculate the time since disappearance), or if the person has been declared dead in absentia, with a date for such a ruling. |
death_date | Date of death: {{death date and age}} (if birth date is known) or {{death date}} (if birth date unknown). See Template:Death date/doc for details on usage. If exact dates are unknown, consider using {{death year and age}}. |
death_place | Place of death: city, administrative region, sovereign state. Note: Do not add flag icons to the deathplace. See: Wikipedia:Manual of Style (flags). |
death_cause | Cause of death. |
body_discovered | Place where the body was discovered (if different from place of death). |
resting_place | Place of burial, ash-scattering, etc. |
resting_place_coordinates | Coordinates for place of burial, ash-scattering etc. Use {{coord}} template. |
monuments | Significant monuments erected or buildings etc. named 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. |
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. |
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. |
citizenship | Citizenship. See usage notes for nationality above. Should only be used if citizenship cannot be inferred from the birthplace. |
education | Education. |
alma_mater | Alma mater. |
occupation | Occupation. |
years_active | Date range in years during which the subject was active. Use the format 1950–2000, or 1970–present if still active; note the use of an en dash. |
employer | Employer, if relevant. |
organization | Non-employing organization, if relevant. |
agent | The subject's agent, 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. |
height | If person was notable for their height, or if height is relevant. Consider using {{convinfobox}}. |
weight | If person was notable for their weight, or if weight is relevant. If used, this should also include the date. Consider using {{convinfobox}}. |
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 board of directors membership(s), if relevant. Field labeled Board member of. |
religion | If relevant. For living persons please refer to WP:BLPCAT. Please be sure to support with a citation from a reliable source. |
denomination | Denomination of religion, if relevant. Please be sure to support with a citation from a reliable source. |
criminal_charge criminal_penalty criminal_status |
For convicted criminals only. Please be certain to support these parameters with citations from reliable sources. |
spouse | Name of spouse, 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}}. For deceased persons still married at time of death, close the date range with death year. |
partner | For unmarried 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 (i.e. 3), or list of names if notable, in which case, separate entries using {{Plainlist}}. |
parents | Names of parents, if notable. Separate entries using {{Plainlist}}. |
relatives (relations) |
Names of siblings or other relatives, if notable. Include the relationship in parentheses after the name (sister, uncle, etc). Separate entries using {{Plainlist}}. |
callsign | Amateur radio 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. |
signature_alt | Alt text for the signature image. For example, for 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 {{URL|www.example.com}}. |
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
{{Infobox position | honorific_prefix = Executive | honorific_suffix = | name = Owyn Notario | education = CIV1T1+PEY | term = as of April 2011 | office = | officeterm = | predecessor = Albert Huynh | successor = | image = Owyn Student Life.JPG <!-- just the name, without the File: or Image: prefix or enclosing [[brackets]] --> | image_size = | caption = incumbent: <!-- for the position, not the person --> | email = [email protected] | website = <!-- {{URL|www.example.com}} --> | other_names = VPSL, VP Social, VP Activities | years_active = as of 2004 | employer = [[President]] <!-- overseeing officer --> | organization = [[Engineering Society]] <!-- e.g. Engineering Society --> | known_for = | notable_works = | boards = Board of Directors, Finance Committee, Student Affairs & Gender Issues, Positive Space, Student Space Planning | awards = | footnotes = | box_width = }}
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
See also
Alternative templates are listed at WikiProject Biography/Infoboxes and within the people infobox templates category.