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 used on approximately 3,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is a customized wrapper for {{Infobox person}}. Any field from {{Infobox person}} can work. 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
[edit]{{{honorific_prefix}}} {{{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}}} |
Height | {{{height}}} |
Spouse | {{{spouse}}} |
Partner | {{{domestic_partner}}} |
Children | {{{children}}} |
Beauty pageant titleholder | |
Title | {{{title}}} |
No. of films | {{{films}}} |
Agency | {{{agency}}} |
Years active | {{{years_active}}} |
Hair color | {{{hair_color}}} |
Eye color | {{{eye_color}}} |
Major competition(s) | {{{competitions}}} |
{{{module}}} | |
Website | {{{website}}} |
Signature | |
[[File:{{{signature}}}|{{{signature_size}}}|alt={{{signature_alt}}}|class=infobox-signature skin-invert]] |
{{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 =
| other_names =
| education =
| alma_mater =
| occupation =
| years_active =
| height = <!-- X ft Y in, X cm, or X m, plus optional reference (automatic conversion) -->
| title =
| spouse =
| domestic_partner =
| children =
| films =
| agency =
| hair_color =
| eye_color =
| competitions =
| module =
| website =
| signature =
| signature_size =
| signature_alt =
}}
Parameters
[edit]This template accepts all parameters that Template: Infobox person does. See here for a complete list.
- name
- name
- image
- image_size
- alt
- caption
- caption for the image
- 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
- other_names
- pseudonym or alias(es)
- education
- education
- alma_mater
- alma mater
- occupation
- occupation
- years_active
- use format 1990–2000, or 1990–present if still active
- 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)
- 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
[edit]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
[edit]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
[edit]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
[edit]- Category:Pages using Infobox pageant titleholder with unknown parameters (0)
- Category:Pages using Infobox pageant titleholder with conflicting parameters (0)
- Category:No local image but image on Wikidata (9,143) – Used by Template: Wikidata image to track articles where an infobox has no image but Wikidata has an image name. Add an image or
|nocat_wdimage=yes
to the infobox to exclude articles from this category.
See also
[edit]- {{Infobox person}}
- {{Infobox model}}