Difference between revisions of "Template:Infobox person/doc"
| Line 18: | Line 18: | ||
</pre> | </pre> | ||
| − | + | {{Infobox Person | |
| − | {{ | + | |honorific_prefix = Member Of [[Indian National Congress]] |name = Prince Jeetpal Yadav|honorific_suffix = [[Rahul Gandhi]] |image=Pessoa Neutra.svg <!--|image_size --> |alt |caption |
| − | |||
|native_name |native_name_lang | |native_name |native_name_lang | ||
|birth_name = Prince Jeetpal Yadav |birth_date = [[Birth of date|1995|07|02|df=yes]]|birth_place = [[Bichpuri]] , [[Sambhal]] , [[Uttar Pradesh]] , {{flag|India}} |baptised <!--does not display due to birth date displayed--> | |birth_name = Prince Jeetpal Yadav |birth_date = [[Birth of date|1995|07|02|df=yes]]|birth_place = [[Bichpuri]] , [[Sambhal]] , [[Uttar Pradesh]] , {{flag|India}} |baptised <!--does not display due to birth date displayed--> | ||
Revision as of 05:29, 20 January 2015
Prince Jeetpal Yadav |
|---|
† birth date and death date may be in either 'DD Month YYYY' or 'Month DD, YYYY'
{{Infobox Person |honorific_prefix = Member Of Indian National Congress |name = Prince Jeetpal Yadav|honorific_suffix = Rahul Gandhi |image=Pessoa Neutra.svg |alt |caption
|native_name |native_name_lang |birth_name = Prince Jeetpal Yadav |birth_date = 1995|07|02|df=yes|birth_place = Bichpuri , Sambhal , Uttar Pradesh , Template:Flag |baptised |disappeared_date |disappeared_place |disappeared_status |death_date |death_place |death_cause |body_discovered |resting_place |resting_place_coordinates |monuments |residence = Bichpuri , Sambhal , Uttar Pradesh , India|nationality = Template:Flag |other_names |ethnicity |citizenship |education |alma_mater |occupation |years_active |era |employer |organization |agent |known_for |notable_works |style |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 |module |module2 |module3=[......] |module6 |signature=Example title.svg |signature_alt |website |footnotes
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.
TemplateData
TemplateData for Infobox person
An infobox for articles about people
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Agent | agent | The subject's agent (individual and/or agency), if relevant. | Unknown | optional |
| Alma Mater | 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. | Unknown | optional |
| Alt | alt | Alt text for image, for visually impaired readers. One word (such as "photograph") is rarely sufficient. See WP:ALT. | Unknown | optional |
| Awards | 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. | Unknown | optional |
| Baptised | baptised | Date of baptism: ONLY for use when birth date is not known (e.g. Beethoven). Will not display if a birth date is entered. Do not use subtemplates. | Unknown | optional |
| Birth Date | birth_date | Date of birth: Template:birth date and age (if living) or Template: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 Template:birth year and age or Template:birth based on age as of date. | Unknown | optional |
| Birth Name | birth_name | Name at birth; only use if different from name. | Unknown | optional |
| Birth Place | 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. | Unknown | optional |
| Boards | boards | For board of directors membership(s), if relevant. Field labeled Board member of. | Unknown | optional |
| Body Discovered | body_discovered | Place where the body was discovered (if different from place of death). Do not use a flag template. | Unknown | optional |
| Callsign | callsign | Amateur radio call sign, if relevant. | Unknown | optional |
| Caption | caption | Caption for image, if needed. Try to include date of photo and the photographer. | Unknown | optional |
| Children | children | Number of children (e.g. three or 3), or list of names, in which case, separate entries using Template:Plainlist or Template:Unbulleted list. For privacy reasons, consider omitting the names of children of living persons, unless the children are independently notable. | Unknown | optional |
| Citizenship | 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. | Unknown | optional |
| Criminal Charge | criminal_charge | For convicted criminals only. Please be certain to support these parameters with citations from reliable sources, in the article body. | Unknown | optional |
| Death Cause | death_cause | Cause of death. | Unknown | optional |
| Death Date | death_date | Date of death: Template:death date and age (if birth date is known) or Template:death date (if birth date unknown). See Template:Death date/doc for details on usage. If exact dates are unknown, consider using Template:death year and age. | Unknown | optional |
| Death Place | 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) | Unknown | optional |
| Denomination | denomination | Denomination of religion, if relevant. Please be sure to support with a citation from a reliable source, in the article body. | Unknown | optional |
| Disappeared Date | disappeared_date | (For missing people) Date of disappearance: Template:disappeared date and age (if birth date is known) or Template:disappeared date (if birth date unknown). | Unknown | optional |
| Disappeared Place | disappeared_place | (For missing people) Place of disappearance: city, administrative region, sovereign state. Do not use a flag template. | Unknown | optional |
| Disappeared Status | disappeared_status | (For missing people) Current status for the person, e.g. if the person is still regarded as missing (using Template: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. | Unknown | optional |
| Education | 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. | Unknown | optional |
| Employer | employer | Employer(s), if relevant. | Unknown | optional |
| Ethnicity | ethnicity | Ethnicity. Please be sure to support with a citation from a reliable source, in the article body. | Unknown | optional |
| Footnotes | footnotes | Notes about any of the infobox data. | Unknown | optional |
| Height | 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. | Unknown | optional |
| Home Town | home_town | The place where the person was raised and matured, if different from birth place and residence. | Unknown | optional |
| Honorific Prefix | honorific_prefix | To appear on the line above the person's name | Unknown | optional |
| Honorific Suffix | honorific_suffix | To appear on the line below the person's name | Unknown | optional |
| 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. If no image is available yet, do not use an image placeholder. | Unknown | optional |
| Image Size | image_size | 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. | Unknown | optional |
| Known For | known_for | A brief description of why the person is notable. | Unknown | optional |
| Module | module | Used for embedding other infoboxes into this one. | Unknown | optional |
| Monuments | monuments | Significant monuments erected, buildings named, etc., in honour of the subject. If many, link to an appropriate section of the article instead. | Unknown | optional |
| Movement | movement | If relevant. '''Movement''' can be social, political (non-party), artistic, philosophical, literary, cultural, etc. | Unknown | optional |
| 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 lead of the article, and are not specified separately in the birth_name field, include them here. | Unknown | required |
| Nationality | 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. | Unknown | optional |
| Native Name | native_name | The person's name in their own language, if different. | Unknown | optional |
| Native Name Lang | native_name_lang | ISO 639-1 code e.g. "fr" for French. If more than one, use Template:lang in `native_name` instead. | Unknown | optional |
| Net Worth | net_worth | Current estimated net worth, if relevant. Please be sure to support with a citation from a reliable source, in the article body. | Unknown | optional |
| Notable Works | notable_works | Title(s) of notable work(s) (publications, compositions, sculptures, films, etc.) by the subject, if any. | Unknown | optional |
| Occupation | occupation | Occupation(s) as given in the lead. | Unknown | optional |
| Opponents | opponents | Notable relevant opponents (e.g. for major political office). | Unknown | optional |
| Organization | organization | Non-employing organization(s), if relevant. | Unknown | optional |
| Other Names | other_names | Other notable names for the person, if different from name and birth_name. | Unknown | optional |
| Parents | parents | Names of parents. Separate entries using Template:Plainlist or Template:Unbulleted list. | Unknown | optional |
| Partner(s) | 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). | Unknown | optional |
| Party | party | If relevant. Field labelled Political party. | Unknown | optional |
| Predecessor | predecessor | Person who previously held the title listed above. | Unknown | optional |
| Relatives | relatives | Names of siblings or other relatives. Include the relationship in parentheses after the name (sister, uncle, etc). Separate entries using Template:Plainlist or Template:Unbulleted list. | Unknown | optional |
| Religion | 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. | Unknown | optional |
| Residence | residence | Location(s) where the person notably resides/resided, if different from birth place. Do not use a flag template. | Unknown | optional |
| Resting Place | resting_place | Place of burial, ash-scattering, etc. Do not use a flag template. | Unknown | optional |
| Resting Place Coordinates | resting_place_coordinates | Coordinates for place of burial, ash-scattering etc. Use Template:coord template. | Unknown | optional |
| Salary | salary | Annual salary or compensation, if relevant. | Unknown | optional |
| Signature | signature | An image of the person's signature. Please use image name: abc.jpg, xpz.png, 123.gif, etc. | Unknown | optional |
| Signature Alt | 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. | Unknown | optional |
| Signature Size | signature_size | Default is 150px. If necessary, a signature can be resized manually as per the "image_size" parameter. | Unknown | optional |
| Spouse(s) | spouse(s) | Name of spouse(s), followed by years of marriage. Use the format Name (married 1950–present) for a current spouse, and Name (married 1970–1999) for former spouse(s). Separate entries using Template:Plainlist or Template:Unbulleted list. For deceased persons still married at time of death, close the date range with death year. | Unknown | optional |
| Style | style | The style in which the subject works, if applicable. | Unknown | optional |
| Successor | successor | Person who subsequently held the title listed above. | Unknown | optional |
| Television | television | Television programmes presented by or closely associated with the subject. | Unknown | optional |
| Term | term | Years the person held the title listed above. | Unknown | optional |
| Title | title | Multiple uses: Formal title, such as First Lady of Japan for Akie Abe.; Awarded title, such as Mr. Olympia for Arnold Schwarzenegger.; Job title, such as President of Calvin College for Anthony Diekema.; A combination of the above, such as Professor of Mathematics and Fellow of the Royal Society for Bill Parry See also "awards" parameter, below, for awarded honors that are not really titles. A single award should not use both parameters. | Unknown | optional |
| Website | website | Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use Template:URL as in Example.com . Do not include the www. part unless the server requires it. Use camel case capitalization to make multiword domain names easier to read. | Unknown | optional |
| Weight | 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. | Unknown | optional |
| Years Active | 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. | Unknown | optional |
| Era | era | Era during which the subject lived or was active. Less specific than 'years active'. | Unknown | optional |
See also
Alternative templates are listed at WikiProject Biography/Infoboxes and within the people infobox templates category.