Koha Test Wiki MW Canasta on Koha Portainer

Test major Koha Wiki changes or bug fixes here without fear of breaking the production wiki.

For the current Koha Wiki, visit https://wiki.koha-community.org .

Template:Infobox person/doc

From Koha Test Wiki MW Canasta on Koha Portainer
Jump to navigation Jump to search

{{#invoke:Message box|mbox}}

{{Infobox person}} may be used to summarize information about a particular person, usually at the top of an article. It is an alternative to more specific templates such as those listed at WikiProject Biography/Infoboxes and within the people infobox templates category.

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  = <!-- {{Birth date|YYYY|MM|DD}} -->
| birth_place = 
| death_date  = <!-- {{Death 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                = <!-- {{Birth 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                = <!-- {{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|display=inline}} -->
| monuments                 = 
| residence                 = 
| nationality               = 
| other_names               = 
| ethnicity                 = 
| citizenship               = 
| education                 = 
| alma_mater                = 
| 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                 = 
| 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
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 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_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.
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.
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.
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.
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); for convenience, consider using {{marriage}}. 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 />).
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 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.
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

Bill Gates
Bill Gates in WEF, 2007.jpg
Bill Gates at the World Economic Forum in Davos, 2007
Born October 28 1955 (1955-10-28) (age 69)
Seattle, Washington, USA
Residence Medina, WA
Nationality American
Alma mater Harvard University (dropped out in 1975)
Occupation Chairman of Microsoft (non-executive)
Co-Chair of Bill & Melinda Gates Foundation
Director of Berkshire Hathaway
CEO of Cascade Investment
Net worth increaseUS$53 billion (2010)[1]
Spouse(s) Melinda Gates (m. 1994–present) «start: (1994)»"Marriage: Melinda Gates to doc" Location: (linkback:https://wiki.test.koha-community.org/wiki/Template:Infobox_person/doc)
Children 3
Parents William H. Gates, Sr.
Mary Maxwell Gates
Signature
Bill Gates signature.svg
Website
microsoft.com/presspass/exec/billg
{{Infobox person
| name              = Bill Gates
| image             = Bill Gates in WEF ,2007.jpg
| caption           = Bill Gates at the [[World Economic Forum]] in [[Davos]], 2007
| birth_date        = {{birth date and age|1955|10|28}}
| birth_place       = [[Seattle, Washington]], USA
| nationality       = American
| occupation        = Chairman of [[Microsoft]] ''(non-executive)''<br />Co-Chair of [[Bill & Melinda Gates Foundation]]<br />Director of [[Berkshire Hathaway]]<br />CEO of [[Cascade Investment]]
| 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>
| spouse            = {{marriage|Melinda Gates|1994}}
| children          = 3
| 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]]
}}

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.


  1. Bill Gates topic page. Forbes.com. Retrieved April 2010.