Template:Infobox person/doc: Difference between revisions

Template page
m (Admin moved page Template:Infobox person to Template:Infobox person/doc without leaving a redirect)
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 9: Line 9:
| alt        =  
| alt        =  
| caption    =  
| caption    =  
| birth_date  = <!-- {{Birth date|YYYY|MM|DD}} -->
| birth_date  = <!-- {{Date|YYYY|MM|DD}} -->
| birth_place =  
| birth_place =  
| death_date  = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) -->
| death_date  = <!-- {{Date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) -->
| death_place =  
| death_place =  
| nationality =  
| nationality =  
Line 31: Line 31:
| caption                  =  
| caption                  =  
| birth_name                =  
| birth_name                =  
| birth_date                = <!-- {{Birth date|YYYY|MM|DD}} -->
| birth_date                = <!-- {{Date|YYYY|MM|DD}} -->
| birth_place              =  
| birth_place              =  
| disappeared_date          = <!-- {{Disappeared date and age|YYYY|MM|DD|YYYY|MM|DD}} (disappeared date then birth date) -->
| disappeared_date          = <!-- {{Disappeared date and age|YYYY|MM|DD|YYYY|MM|DD}} (disappeared date then birth date) -->
| disappeared_place        =  
| disappeared_place        =  
| disappeared_status        =  
| disappeared_status        =  
| death_date                = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) -->
| death_date                = <!-- {{Date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) -->
| death_place              =  
| death_place              =  
| death_cause              =  
| death_cause              =  
Line 49: Line 49:
| citizenship              =  
| citizenship              =  
| education                =  
| education                =  
| alma_mater                =  
| abilities                =  
| occupation                =  
| occupation                =  
| years_active              =  
| years_active              =  
Line 84: Line 84:
| parents                  =  
| parents                  =  
| relatives                =  
| relatives                =  
| callsign                  =  
| race                      =  
| awards                    =  
| awards                    =  
| signature                =  
| signature                =  
Line 95: Line 95:
| module5                  =  
| module5                  =  
| module6                  =  
| module6                  =  
| website                  = <!-- {{URL|www.example.com}} -->
| age_group                =
| footnotes                =  
| footnotes                =  
| box_width                =  
| box_width                =  
Line 118: Line 118:
|-
|-
| '''image'''
| '''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; a [[:Wikipedia:Centralized discussion/Image placeholders#Summary|discussion]] for the use such placeholders resulted in no consensus for the mandatory removal of the images on existing pages, however it is suggested that they not be added to new articles.
| Image name: abc.jpg, xpz.png, 123.gif, etc.
|-
|-
| '''image_size'''<br /> (''imagesize'')
| '''image_size'''<br /> (''imagesize'')
Line 124: Line 124:
|-
|-
| '''alt'''
| '''alt'''
| Alt text for image, for visually impaired readers. See [[WP:ALT]].
| Alt text for image.
|-
|-
| '''caption'''
| '''caption'''
Line 133: Line 133:
|-
|-
| '''birth_date'''
| '''birth_date'''
| Date of birth: {{tl|birth date and age}} (if living) or {{tl|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 {{tl|birth year and age}} or {{tl|birth based on age as of date}}.
| Date of birth: {{tl|Date and age}} (if living) or {{tl|Date}} (if dead).  See [[Template: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 {{tl|birth year and age}} or {{tl|birth based on age as of date}}.
|-
|-
| '''birth_place'''
| '''birth_place'''
| Place of birth: city, administrative region, sovereign state. Note: '''<ins>Do not</ins>''' add flag icons to the birthplace. See: [[Wikipedia:Manual of Style (flags)]].  
| Place of birth: city, administrative region, sovereign state.
|-
|-
| '''disappeared_date'''
| '''disappeared_date'''
Line 145: Line 145:
|-
|-
| '''disappeared_status'''
| '''disappeared_status'''
| (For missing people) Current status for the person, e.g. if the person is still regarded as missing (using {{tl|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.
| (For missing people) Current status for the person, e.g. if the person is still regarded as missing or if the person has been declared dead in absentia, with a date for such a ruling.
|-
|-
| '''death_date'''
| '''death_date'''
| Date of death: {{tl|death date and age}} (if birth date is known) or {{tl|death date}} (if birth date unknown). See [[Template:Death date/doc]] for details on usage. If exact dates are unknown, consider using {{tl|death year and age}}.
| Date of death: {{tl|Date and age}} (if birth date is known) or {{tl|Date}} (if birth date unknown). See [[Template:Date/doc]] for details on usage. If exact dates are unknown, consider using {{tl|death year and age}}.
|-
|-
| '''death_place'''
| '''death_place'''
| Place of death: city, administrative region, sovereign state. Note: '''<ins>Do not</ins>''' add flag icons to the deathplace. See: [[Wikipedia:Manual of Style (flags)]].
| Place of death: city, administrative region, sovereign state.
|-
|-
| '''death_cause'''
| '''death_cause'''
Line 163: Line 163:
|-
|-
| '''resting_place_coordinates'''
| '''resting_place_coordinates'''
| Coordinates for place of burial, ash-scattering etc. Use {{tl|coord}} template.
| Coordinates for place of burial, ash-scattering etc.
|-
|-
| '''monuments'''
| '''monuments'''
Line 186: Line 186:
| Education.
| Education.
|-
|-
| '''alma_mater'''
| '''abilities'''
| ''[[Alma mater]]''.
| Indicated exceptional abilities such as being a magic caster or powerful fighter.
|-
|-
| '''occupation'''
| '''occupation'''
Line 193: Line 193:
|-
|-
| '''years_active'''
| '''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 [[WP:ENDASH|en dash]].
| 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'''
Line 214: Line 214:
|-
|-
| '''influences'''
| '''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 [[WP:NOR|supposition]]).
| People who were influences of the subject. Clear and notable examples only. Can also be used to indicate groups, schools of thought, etc..
|-
|-
| '''influenced'''
| '''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 [[WP:PEACOCK|grandiose claims]] and [[WP:NOR|supposition]]).
| People who were influenced by the subject. Clear and notable examples only. Can also be used to indicate groups, schools of thought, etc..
|-
|-
| '''home_town'''
| '''home_town'''
Line 229: Line 229:
|-
|-
| '''height'''
| '''height'''
| If person was notable for their height, or if height is relevant. Consider using {{tl|convinfobox}}.
| If person was notable for their height, or if height is relevant.
|-
|-
| '''weight'''
| '''weight'''
| If person was notable for their weight, or if weight is relevant. If used, this should also include the date. Consider using {{tl|convinfobox}}.
| If person was notable for their weight, or if weight is relevant.
|-
|-
| '''television'''
| '''television'''
| Television programmes presented by or ''closely'' associated with the subject.
| Television programmes presented by or ''closely'' associated with the subject. (Not displayed as far as I know).
|-
|-
| '''title'''
| '''title'''
| Multiple uses:
| Multiple uses:
* Formal title, such as ''First Lady of Japan'' for [[Akie Abe]].
* Formal title, such as ''First Lady of Japan''.
* Awarded title, such at ''Mr. Olympia'' for [[Arnold Schwarzenegger]].
* Awarded title, such at ''Mr. Olympia''.
* Job title, such as ''President of Calvin College'' for [[Anthony Diekema]].
* Job title, such as ''President of Calvin College''.
* A combination of the above, such as ''Professor of Mathematics'' and ''[[Fellow of the Royal Society]]'' for [[Bill Parry (mathematician)|Bill Parry]]
* A combination of the above, such as ''Professor of Mathematics'' and ''Fellow of the Royal Society''.
''See also "awards" parameter, below, for awarded honors that are not really titles. A single award should not use both parameters.''
''See also "awards" parameter, below, for awarded honors that are not really titles. A single award should not use both parameters.''
|-
|-
Line 267: Line 267:
|-
|-
| '''religion'''
| '''religion'''
| If relevant. For living persons please refer to [[WP:BLPCAT]].
| If relevant.
|-
|-
| '''denomination'''
| '''denomination'''
Line 276: Line 276:
|-
|-
| '''spouse'''
| '''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 {{tl|marriage}}. Separate entries with a line break (<nowiki><br /></nowiki>). For deceased persons still married at time of death, close the date range with death year.
| 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). Separate entries with a line break (<nowiki><br /></nowiki>). For deceased persons still married at time of death, close the date range with death year.
|-
|-
| '''partner'''
| '''partner'''
| For unmarried [[life partner]]s (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).
| 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'''
| '''children'''
Line 290: Line 290:
| Names of siblings or other relatives, if notable. Include the relationship in parentheses after the name (sister, uncle, etc). Separate entries with a line break (<nowiki><br /></nowiki>).
| Names of siblings or other relatives, if notable. Include the relationship in parentheses after the name (sister, uncle, etc). Separate entries with a line break (<nowiki><br /></nowiki>).
|-
|-
| '''callsign'''
| '''race'''
| Amateur radio [[call sign]], if relevant.
| Indicate race such as human, dwarf, elf, etc.. May also indicate former races, e.g., Vampire (formerly human).
|-
|-
| '''awards'''
| '''awards'''
Line 308: Line 308:
| Used for embedding other infoboxes into this one.
| Used for embedding other infoboxes into this one.
|-
|-
| '''website'''
| '''age_group'''
| Official website only. Unofficial websites should be placed under <nowiki>==External links==</nowiki> in the body of the article. Use {{tl|URL}} as <nowiki>{{URL|www.example.com}}</nowiki>.
| Actual age of the person and age group as applicable for the person's race, e.g., child, young adult, etc..
|-
|-
| '''footnotes'''
| '''footnotes'''
Line 321: Line 321:
{{Infobox person
{{Infobox person
| name              = Bill Gates
| name              = Bill Gates
| image            = Bill Gates in WEF ,2007.jpg
| image            = dmglich.jpg
| caption          = Bill Gates at the [[World Economic Forum]] in [[Davos]], 2007
| caption          = Bill Gates posing for the DMG
| birth_date        = {{birth date and age|1955|10|28}}
| age_group        = Mature (884 years)
| birth_place      = [[Seattle, Washington]], USA
| birth_place      = Schönenbörnchen
| nationality      = American
| occupation        = Chairman of Macrohard
| occupation        = Chairman of [[Microsoft]] ''(non-executive)''<br />Co-Chair of [[Bill & Melinda Gates Foundation]]<br />Director of [[Berkshire Hathaway]]<br />CEO of [[Cascade Investment]]
| residence        = Unknown
| networth          = {{gain}}[[United States dollar|US$]]53 [[1,000,000,000 (number)|billion]] (2010)<ref>[http://billionaires.forbes.com/topic/Bill_Gates Bill Gates topic page.] Forbes.com. Retrieved April 2010.</ref>
| abilities         = Powerful sorcerer
| spouse            = {{marriage|Melinda Gates|1994}}
| race              = Archlich (formerly human)
| children          = 3
| parents          = Unknown
| residence         = [[Medina, WA]]
| alma_mater        = Harvard University (dropped out in 1975)
| website          = {{URL|microsoft.com/presspass/exec/billg}}
| signature        = BillGates Signature.svg
| parents          = [[William H. Gates, Sr.]]<br />[[Mary Maxwell Gates]]
}}
}}


Line 340: Line 335:
{{Infobox person
{{Infobox person
| name              = Bill Gates
| name              = Bill Gates
| image            = Bill Gates in WEF ,2007.jpg
| image            = dmglich.jpg
| caption          = Bill Gates at the [[World Economic Forum]] in [[Davos]], 2007
| caption          = Bill Gates posing for the DMG
| birth_date        = {{birth date and age|1955|10|28}}
| age_group        = Mature (884 years)
| birth_place      = [[Seattle, Washington]], USA
| birth_place      = Schönenbörnchen
| nationality      = American
| occupation        = Chairman of Macrohard
| occupation        = Chairman of [[Microsoft]] ''(non-executive)''<br />Co-Chair of [[Bill & Melinda Gates Foundation]]<br />Director of [[Berkshire Hathaway]]<br />CEO of [[Cascade Investment]]
| residence        = Unknown
| networth          = {{gain}}[[United States dollar|US$]]53 [[1,000,000,000 (number)|billion]] (2010)<ref>[http://billionaires.forbes.com/topic/Bill_Gates Bill Gates topic page.] Forbes.com. Retrieved April 2010.</ref>
| abilities         = Powerful sorcerer
| spouse            = {{marriage|Melinda Gates|1994}}
| race              = Archlich (formerly human)
| children          = 3
| parents          = Unknown
| residence         = [[Medina, WA]]
| alma_mater        = Harvard University (dropped out in 1975)
| website          = {{URL|microsoft.com/presspass/exec/billg}}
| signature        = BillGates Signature.svg
| parents          = [[William H. Gates, Sr.]]<br />[[Mary Maxwell Gates]]
}}
}}
</pre>
</pre>

Latest revision as of 21:31, 28 September 2022

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       = 
| alt         = 
| caption     = 
| birth_date  = <!-- {{Date|YYYY|MM|DD}} -->
| birth_place = 
| death_date  = <!-- {{Date and age|YYYY|MM|DD|YYYY|MM|DD}} (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          = 
| image                     = 
| image_size                = 
| alt                       = 
| caption                   = 
| birth_name                = 
| birth_date                = <!-- {{Date|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                = <!-- {{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|display=inline}} -->
| monuments                 = 
| residence                 = 
| nationality               = 
| other_names               = 
| ethnicity                 = 
| citizenship               = 
| education                 = 
| abilities                 = 
| occupation                = 
| years_active              = 
| employer                  = 
| organization              = 
| agent                     = 
| known_for                 = 
| notable_works             = 
| style                     = 
| influences                = 
| influenced                = 
| home_town                 = 
| salary                    = 
| net_worth                 = 
| height                    = 
| weight                    = 
| television                = 
| title                     = 
| term                      = 
| predecessor               = 
| successor                 = 
| party                     = 
| movement                  = 
| opponents                 = 
| boards                    = 
| religion                  = 
| denomination              = 
| criminal_charge           = 
| criminal_penalty          = 
| criminal_status           = 
| spouse                    = 
| partner                   = 
| children                  = 
| parents                   = 
| relatives                 = 
| race                      = 
| awards                    = 
| signature                 = 
| signature_alt             = 
| signature_size            = 
| module                    = 
| module2                   = 
| module3                   = 
| module4                   = 
| module5                   = 
| module6                   = 
| age_group                 =
| 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
image Image name: abc.jpg, xpz.png, 123.gif, etc.
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.
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: {{Date and age}} (if living) or {{Date}} (if dead). See Template: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.
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 or if the person has been declared dead in absentia, with a date for such a ruling.
death_date Date of death: {{Date and age}} (if birth date is known) or {{Date}} (if birth date unknown). See Template: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.
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.
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.
other_names Other notable names for the person, if different from name and birth_name.
ethnicity Ethnicity.
citizenship Citizenship. See usage notes for nationality, above.
education Education.
abilities Indicated exceptional abilities such as being a magic caster or powerful fighter.
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..
influenced People who were influenced by the subject. Clear and notable examples only. Can also be used to indicate groups, schools of thought, etc..
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.
height If person was notable for their height, or if height is relevant.
weight If person was notable for their weight, or if weight is relevant.
television Television programmes presented by or closely associated with the subject. (Not displayed as far as I know).
title Multiple uses:
  • Formal title, such as First Lady of Japan.
  • Awarded title, such at Mr. Olympia.
  • Job title, such as President of Calvin College.
  • A combination of the above, such as Professor of Mathematics and Fellow of the Royal Society.

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.
denomination Denomination of religion, if relevant.
criminal_charge
criminal_penalty
criminal_status
For convicted criminals only.
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). Separate entries with a line break (<br />). 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 with a line break (<br />).
parents Names of parents, if notable. Separate entries with a line break (<br />).
relatives
(relations)
Names of siblings or other relatives, if notable. Include the relationship in parentheses after the name (sister, uncle, etc). Separate entries with a line break (<br />).
race Indicate race such as human, dwarf, elf, etc.. May also indicate former races, e.g., Vampire (formerly human).
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 framelsss. 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.
age_group Actual age of the person and age group as applicable for the person's race, e.g., child, young adult, etc..
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

Bill Gates
Dmglich.jpg
Bill Gates posing for the DMG
Occupation Chairman of Macrohard
Abilities Powerful sorcerer
Race Archlich (formerly human)
Age group Mature (884 years)
Residence Unknown
Born Schönenbörnchen
Parents Unknown
{{Infobox person
| name              = Bill Gates
| image             = dmglich.jpg
| caption           = Bill Gates posing for the DMG
| age_group         = Mature (884 years)
| birth_place       = Schönenbörnchen
| occupation        = Chairman of Macrohard
| residence         = Unknown
| abilities         = Powerful sorcerer
| race              = Archlich (formerly human)
| parents           = Unknown
}}

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. For more information about the use of microformats on Wikipedia, please see the microformat project.

Date-of-birth ("bday") information will only be included in the microformat if {{Birth date}}) or {{Birth date and age}}) (optionally {{birth-date}} are used in the infobox.

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • category
  • country-name
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.