Difference between revisions of "Template:Infobox pageant titleholder"
Jump to navigation
Jump to search
imported>Primefac m (Changed protection level for "Template:Infobox pageant titleholder": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
imported>Zyxw (Prevent "(s)" at end of labels from wrapping to a new line in certain browsers. Allow alternative parameter names. Update list of known parameters. Tested first with /sandbox and /testcases.) |
||
| Line 1: | Line 1: | ||
{{Infobox person | {{Infobox person | ||
| − | | name | + | | child = {{{child|}}} |
| − | | image | + | | name = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} |
| − | | image_size | + | | image = {{{image|{{{photo|}}}}}} |
| − | | alt | + | | image_size = {{{image_size|}}} |
| − | | caption | + | | alt = {{{alt|}}} |
| − | | native_name | + | | caption = {{{caption|}}} |
| + | | native_name = {{{native_name|}}} | ||
| native_name_lang = {{{native_name_lang|}}} | | native_name_lang = {{{native_name_lang|}}} | ||
| − | | birth_name | + | | birth_name = {{{birth_name|{{{birthname|}}}}}} |
| − | | birth_date | + | | birth_date = {{{birth_date|}}} |
| − | | birth_place | + | | birth_place = {{{birth_place|}}} |
| − | | death_date | + | | death_date = {{{death_date|}}} |
| − | | death_place | + | | death_place = {{{death_place|}}} |
| − | | residence | + | | residence = {{{residence|}}} |
| − | | other_names | + | | other_names = {{{other_names|{{{alias|}}}}}} |
| − | + | | education = {{{education|}}} | |
| − | | | + | | alma_mater = {{{alma_mater|{{{alma mater|}}}}}} |
| − | | | + | | occupation = {{{occupation|}}} |
| − | | | + | | years_active = {{{years_active|{{{years active|}}}}}} |
| − | | | + | | home_town = {{{home_town|{{{hometown|}}}}}} |
| − | | | + | | height = {{{height|}}} |
| − | | | + | | title = {{{title|}}} |
| − | + | | spouse = {{{spouse|}}} | |
| − | | | + | | partner = {{{domestic_partner|{{{domestic partner|}}}}}} |
| − | | | + | | children = {{{children|}}} |
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | | module | + | | module = {{#if:{{{haircolour|{{{hair_colour|}}}}}}{{{haircolor|{{{hair_color|}}}}}}{{{eyecolour|{{{eye_colour|}}}}}}{{{eyecolor|{{{eye_color|}}}}}}{{{agency|}}}{{{films|}}}{{{competitions|{{{nationalcompetition|}}}}}} |
|{{Infobox|child=yes|decat=yes | |{{Infobox|child=yes|decat=yes | ||
| − | | title | + | | title = '''<span class="role">[[Beauty pageant]]</span> titleholder''' |
| label1 = No. of films | | label1 = No. of films | ||
| Line 49: | Line 45: | ||
| data4 = {{#if:{{{eyecolour|{{{eye_colour|}}}}}}|{{{eyecolour|{{{eye_colour|}}}}}}|{{{eyecolor|{{{eye_color|}}}}}}}} | | data4 = {{#if:{{{eyecolour|{{{eye_colour|}}}}}}|{{{eyecolour|{{{eye_colour|}}}}}}|{{{eyecolor|{{{eye_color|}}}}}}}} | ||
| − | | label5 = Major<br>competition(s) | + | | label5 = <span class="nowrap">Major<br />competition(s)</span> |
| data5 = {{{competitions|{{{nationalcompetition|}}}}}} | | data5 = {{{competitions|{{{nationalcompetition|}}}}}} | ||
}}}} | }}}} | ||
| − | | module2 | + | | website = {{{website|{{{homepage|}}}}}} |
| − | | nocat_wdimage = {{{nocat_wdimage|}}} | + | | signature = {{{signature|}}} |
| + | | signature_size = {{{signature_size|}}} | ||
| + | | signature_alt = {{{signature_alt|}}} | ||
| + | | module2 = {{{module|}}} | ||
| + | | nocat_wdimage = {{{nocat_wdimage|}}} | ||
}}{{#invoke:Check for unknown parameters | check | ignoreblank = y | }}{{#invoke:Check for unknown parameters | check | ignoreblank = y | ||
| unknown = {{Main other|[[Category:Pages using Infobox pageant titleholder with unknown parameters|_VALUE_{{PAGENAME}}]]}} | | unknown = {{Main other|[[Category:Pages using Infobox pageant titleholder with unknown parameters|_VALUE_{{PAGENAME}}]]}} | ||
| preview = Page using [[Template:Infobox pageant titleholder]] with unknown parameter "_VALUE_" | | preview = Page using [[Template:Infobox pageant titleholder]] with unknown parameter "_VALUE_" | ||
| − | | child | name | image | photo | image_size | alt | caption | native_name | native_name_lang | birth_name | birthname | birth_date | birth_place | + | | child | name | image | photo | image_size | alt | caption | native_name | native_name_lang | birth_name | birthname | birth_date | birth_place | death_date | death_place | residence | other_names | alias | education | alma_mater | alma mater | occupation | years_active | years active | home_town | hometown | height | title | spouse | domestic_partner | domestic partner | children | films | agency | haircolour | hair_colour | haircolor | hair_color | eyecolour | eye_colour | eyecolor | eye_color | competitions | nationalcompetition | website | homepage | signature | signature_size | signature_alt | module | nocat_wdimage |
}}<noinclude> | }}<noinclude> | ||
{{Documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS --> | {{Documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> | ||
Revision as of 15:24, 23 March 2019
[[Category:Infobox templates|Template:Remove first word]]Template:Wikidata image
Template:Uses infobox person Template:Tracks Wikidata
| 30px | This template uses Lua: |
Usage
Template:Parameter names example
{{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
Tracking categories
- Category:Pages using Infobox pageant titleholder with unknown parameters (0)
- Category:Pages using deprecated image syntax (1) – 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 (15) – 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=yesto the infobox.
See also
- {{Infobox person}}
- {{Infobox model}}
| The above documentation is transcluded from Template:Infobox pageant titleholder/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |