Template:Infobox pageant titleholder/doc
This is a documentation subpage for Template:Infobox pageant titleholder. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a customized wrapper for {{Infobox person}}. Any field from {{Infobox person}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox person}} . Questions? Just ask here or over at Template talk:Infobox person. |
This template uses Lua: |
Usage
{{{name}}} | |
---|---|
{{{native_name}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
Died | {{{death_date}}} {{{death_place}}} |
Other names | {{{other_names}}} |
Education | {{{education}}} |
Alma mater | {{{alma_mater}}} |
Occupation | {{{occupation}}} |
Years active | {{{years_active}}} |
Home town | {{{home_town}}} |
Height | {{{height}}} |
Title | {{{title}}} |
Spouse(s) | {{{spouse}}} |
Partner(s) | {{{domestic_partner}}} |
Children | {{{children}}} |
Beauty pageant titleholder | |
No. of films | {{{films}}} |
Agency | {{{agency}}} |
Hair color | {{{hair_color}}} |
Eye color | {{{eye_color}}} |
Major competition(s) | {{{competitions}}} |
{{{module}}} | |
Website | {{{website}}} |
Signature | |
[[File:{{{signature}}}|{{{signature_size}}}|alt={{{signature_alt}}}]] |
{{Infobox pageant titleholder | name = | image = | image_size = | alt = | caption = | native_name = | native_name_lang = | birth_name = | birth_date = <!-- {{Birth date and age|yyyy|mm|dd}} --> | birth_place = | death_date = <!-- {{Death date and age|death year|death month|death day|birth year|birth month|birth day}} --> | death_place = | residence = | other_names = | education = | alma_mater = | occupation = | years_active = | home_town = | height = <!-- X ft Y in, X cm, or X m, plus optional reference (automatic conversion) --> | title = | spouse = | domestic_partner = |boyfriend/girlfriend = | children = | films = | agency = | hair_color = | eye_color = | competitions = | module = | website = | signature = | signature_size = | signature_alt = }}
Parameters
- name
- name
- image
- image_size
- alt
- caption
- caption for image - where and photographer if known
- native_name
- native_name_lang
- birth_name
- if different than name
- birth_date
- use {{Birth date and age}} if living or {{Birth date}} if deceased
- birth_place
- place of birth
- death_date
- use {{Death date and age}} if deceased
- death_place
- place of death
- residence
- current place of residence
- other_names
- pseudonym or alias(es)
- education
- education
- alma_mater
- alma mater
- occupation
- occcupation
- years_active
- use format 1990–2000, or 1990–present if still active
- home_town
- if different from birth place and current place of residence
- height
- X ft Y in, X cm, or X m, plus optional reference (automatic conversion)
- title
- title(s)
- spouse
- use {{Marriage}}
- domestic_partner
- unmarried life partner; use Name (1950–present)
- boyfriend/girlfriend
- use Name (1950-present)
- children
- number
- films
- number of films
- agency
- agency, if relevant
- hair_color
- or hair_colour
- eye_color
- or eye_colour
- competitions
- major competition(s)
- module
- website
- use {{URL}}
- signature
- image of signature
- signature_size
- signature_alt
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.
Tracking categories
- Category:Pages using Infobox pageant titleholder with unknown parameters (0)
- Category:Pages using deprecated image syntax (0) – Used by Module:InfoboxImage to track articles where an infobox uses image syntax in the format |image=[[File:Example.jpg]]. To exclude articles from this category, change it to |image=Example.jpg.
- Category:No local image but image on Wikidata (24) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or
|nocat_wdimage=yes
to the infobox.
See also
- {{Infobox person}}
- {{Infobox model}}