Difference between revisions of "Template:Infobox pageant titleholder"

From blackwiki
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         = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
+
| child            = {{{child|}}}
| image       = {{{image|{{{photo|}}}}}}
+
| name             = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| image_size   = {{{image_size|}}}
+
| image           = {{{image|{{{photo|}}}}}}
| alt         = {{{alt|}}}
+
| image_size       = {{{image_size|}}}
| caption     = {{{caption|}}}
+
| alt             = {{{alt|}}}
| native_name = {{{native_name|}}}
+
| caption         = {{{caption|}}}
 +
| native_name     = {{{native_name|}}}
 
| native_name_lang = {{{native_name_lang|}}}
 
| native_name_lang = {{{native_name_lang|}}}
| birth_name   = {{{birthname|{{{birth_name|}}}}}}
+
| birth_name       = {{{birth_name|{{{birthname|}}}}}}
| birth_date   = {{{birth_date|}}}
+
| birth_date       = {{{birth_date|}}}
| birth_place = {{{birth_place|}}}
+
| birth_place     = {{{birth_place|}}}
| death_date   = {{{death_date|}}}
+
| death_date       = {{{death_date|}}}
| death_place = {{{death_place|}}}
+
| death_place     = {{{death_place|}}}
| residence   = {{{residence|}}}
+
| residence       = {{{residence|}}}
| other_names = {{{alias|}}}
+
| other_names     = {{{other_names|{{{alias|}}}}}}
| alma_mater  = {{{alma_mater|{{{alma mater|}}}}}}
+
| education        = {{{education|}}}
| occupation  = {{{occupation|}}}
+
| alma_mater      = {{{alma_mater|{{{alma mater|}}}}}}
| years_active = {{{years active|{{{years_active|}}}}}}
+
| occupation       = {{{occupation|}}}
| spouse       = {{{spouse|}}}
+
| years_active    = {{{years_active|{{{years active|}}}}}}
| partner      = {{{domestic_partner|{{{domestic partner|}}}}}}
+
| home_town        = {{{home_town|{{{hometown|}}}}}}
| children    = {{{children|}}}
+
| height          = {{{height|}}}
| website      = {{{homepage|}}}
+
| title            = {{{title|}}}
| height      = {{{height|}}}
+
| spouse          = {{{spouse|}}}
| home_town    = {{{hometown|}}}
+
| partner          = {{{domestic_partner|{{{domestic partner|}}}}}}
| education    = {{{education|}}}
+
| children        = {{{children|}}}
| signature    = {{{signature|}}}
 
| signature_size = {{{signature_size|}}}
 
| signature_alt = {{{signature_alt|}}}
 
| title        = {{{title|}}}
 
| child        = {{{child|}}}
 
  
| module       = {{#if:{{{haircolour|{{{hair_colour|}}}}}}{{{haircolor|{{{hair_color|}}}}}}{{{eyecolour|{{{eye_colour|}}}}}}{{{eyecolor|{{{eye_color|}}}}}}{{{agency|}}}{{{films|}}}{{{competitions|{{{nationalcompetition|}}}}}}
+
| 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   = '''<span class="role">[[Beauty pageant]]</span> titleholder'''
+
| 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 = {{{module|}}}
+
| 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 | alias | death_date | death_place | hometown | residence | education | alma_mater | alma mater | occupation | years_active | years active | films | agency | height | haircolour | hair_colour | haircolor | hair_color | eyecolour | eye_colour | eyecolor | eye_color | size | title | competitions | nationalcompetition | spouse | domestic_partner | domestic partner | children | homepage | signature | signature_size | signature alt | signature_alt | nocat_wdimage
+
| 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

50px Template documentation[view] [edit] [history] [purge]

Template:Uses infobox person Template:Tracks Wikidata

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

Template:UF-hcard-person

Tracking categories

See also