Neidio i'r cynnwys

Nodyn:Infobox person

Oddi ar Wicipedia
Documentation icon Dogfennaeth nodyn[gweld] [golygu] [hanes] [puro]


{{Infobox person}} may be used to summarize information about a particular person, usually at the top of an article.

Redirects and calls

[golygu cod]

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

Usage

[golygu cod]

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

[golygu cod]
{{Infobox person
| name        = <!-- include middle initial, if not specified in birth_name -->
| image       = <!-- just the filename, 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

[golygu cod]
{{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                   = 
| 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|Example.com}} -->
| footnotes                 = 
| box_width                 = 
}}

Parameters

[golygu cod]

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 ISO 639-2 code e.g. "fre" or "fra" for French. If more than one, use {{lang}} in |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. 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 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. Use the name of the birthplace at the time of birth, e.g.: Saigon (prior to 1976), Ho Chi Minh City (post 1976). Do not use a flag template.
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. Do not use a flag template.
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 use a flag template. Use the name of the deathplace at the time of death, e.g.: Saigon (prior to 1976), Ho Chi Minh City (post 1976)
death_cause Cause of death.
body_discovered Place where the body was discovered (if different from place of death). Do not use a flag template.
resting_place Place of burial, ash-scattering, etc. Do not use a flag template.
resting_place_coordinates Coordinates for place of burial, ash-scattering etc. Use {{coord}} template.
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 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 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 floruit date range, as is common with ancient subjects, this parameter can be used for it. If approximate (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. See documentation of this parameter at Template:Infobox sportsperson for more information.
weight If person was notable for their weight, or if weight is relevant. If used, this should also include the year of the measurement. See documentation of this parameter at Template:Infobox sportsperson for more information.
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, 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 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. Separate entries using {{Plainlist}} or {{Unbulleted list}}.
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 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 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 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

[golygu cod]
Bill Gates
Bill Gates at the World Economic Forum in Davos, 2007
GanwydWilliam Henry Gates III
(1955-10-28) 28 Hydref 1955 (68 oed)
Seattle, Washington, US
CartrefMedina, Washington
CenedlAmerican
Alma materHarvard University (dropped out in 1975)
GwaithChairman of Microsoft (non-executive)
Co-chair of Bill & Melinda Gates Foundation
Director of Berkshire Hathaway
CEO of Cascade Investment
Net worthincreaseUS$53 billion (2010)[1]
PriodMelinda Gates (pr. 1994)
Plant3
RhieniWilliam H. Gates, Sr.
Mary Maxwell Gates
Llofnod
Gwefan
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_name        = William Henry Gates III
| birth_date        = {{birth date and age|1955|10|28}}
| birth_place       = [[Seattle]], Washington, US
| 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          = {{increase}}[[United States dollar|US$]]53 [[1,000,000,000 (number)|billion]] (2010)<ref>[http://www.forbes.com/profile/bill-gates/ Bill Gates profile]. Forbes.com. Retrieved April 2010.</ref>
| spouse            = {{marriage|Melinda Gates|1994}}
| children          = 3
| residence         = [[Medina, Washington|Medina]], Washington
| 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

[golygu cod]

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

[golygu cod]

Date-of-birth ("bday") information will only be included in the microformat if {{Birth date}}, {{Birth date and age}}, {{Birth-date}} ({{bday}}), or {{Birth-date and age}} ({{b-da}}) are used in the infobox. (but do not use these if the date is before 1583).

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

[golygu cod]
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.{{#ifeq: Infobox person|doc||{{#ifeq: Infobox person|sandbox|| </noinclude>

See also

[golygu cod]

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

  1. Bill Gates profile. Forbes.com. Retrieved April 2010.

cy:Nodyn:Gwybodlen Person