[go: nahoru, domu]

Jump to content

Template:Infobox pageant titleholder: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
'''
Use template wrapping to accept all parameters that Template:Infobox person does
 
(27 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{#invoke:Template wrapper|wrap|_template=Infobox person
{{Infobox
| _alias-map=photo:image,domestic partner:partner,module:module2
| child = {{{child|}}}
| _exclude=title,years_active,years active,haircolour,hair_colour,haircolor,hair_color,
| decat = yes <!-- remove from template:infobox tracking categories -->
eyecolour,eye_colour,eyecolor,eye_color,agency,films,competitions,nationalcompetition
| template_name=infobox pageant titleholder
| name = <includeonly>{{PAGENAMEBASE}}</includeonly>


| module = {{#if:{{{title|}}}{{{years_active|}}}{{{years active|}}}{{{haircolour|}}}{{{hair_colour|}}}{{{haircolor|}}}{{{hair_color|}}}{{{eyecolour|}}}{{{eye_colour|}}}{{{eyecolor|}}}{{{eye_color|}}}{{{agency|}}}{{{films|}}}{{{competitions|}}}{{{nationalcompetition|}}}
| bodyclass = vcard
| titleclass = fn
| title = {{#ifeq:{{{child|}}}|yes|'''<span class="role">[[Beauty pageant]]</span> titleholder'''|{{{name|<includeonly>{{PAGENAME}}</includeonly>}}}}}
| subheader = {{#ifeq:{{{child|}}}|yes||<includeonly>'''<span class="role">[[Beauty pageant]]</span> titleholder'''</includeonly>}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{photo|}}}}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}}
| caption = {{{caption|}}}


|{{Infobox|child=yes|decat=yes
| label1 = Born
| data1 = {{br separated entries<!--
-->|{{#if:{{{birth_name|{{{birthname|}}}}}}<!--
-->|<span class="nickname">{{{birth_name|{{{birthname}}}}}}</span><!--
-->}}<!--
-->|{{{birth_date|}}}<!--
-->|{{{birth_place|}}}<!--
-->}}
| label2 = Other names
| class2 = nickname
| data2 = {{{alias|}}}


| title = '''<span class="role">[[Beauty pageant]]</span> titleholder'''
| label3 = Died
| data3 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}


| label4 = Hometown
| label1 = Title
| data4 = {{{hometown|}}}
| data1 = {{{title|}}}


| label5 = Residence
| label2 = No. of films
| data5 = {{{residence|}}}
| data2 = {{{films|}}}


| label6 = Education
| label3 = Agency
| data6 = {{{education|}}}
| data3 = {{{agency|}}}
| class3 = agent


| label7 = Alma mater
| label4 = Years active
| data7 = {{{alma_mater|{{{alma mater|}}}}}}
| data4 = {{if empty|{{{years_active|}}}|{{{years active|}}}}}


| label5 = Hair colo{{#if:{{{haircolour|}}}{{{hair_colour|}}}|u}}r
| label8 = Occupation
| data5 = {{if empty|{{{haircolour|}}}|{{{hair_colour|}}}|{{{haircolor|}}}|{{{hair_color|}}}}}
| data8 = {{{occupation|}}}
| class8 = role


| label6 = Eye colo{{#if:{{{eyecolour|{{{eye_colour|}}}}}}|u}}r
| label9 = Years active
| data9 = {{{years_active|{{{years active|}}}}}}
| data6 = {{if empty|{{{eyecolour|}}}|{{{eye_colour|}}}|{{{eyecolor|}}}|{{{eye_color|}}}}}


| label7 = <span class="nowrap">Major<br />competition(s)</span>
| label10 = No. of films
| data10 = {{{films|}}}
| data7 = {{if empty|{{{competitions|}}}|{{{nationalcompetition|}}}}}


}}}}
| label11 = Agency
| data11 = {{{agency|}}}
| class11 = agent


}}{{#invoke:Check for clobbered parameters|check
| label12 = Height
|template=[[Template:Infobox pageant titleholder]]
| data12 = {{#if:{{{height|}}}|{{infobox person/height|{{{height}}}}}}}
|cat={{main other|[[Category:Pages using infobox pageant titleholder with conflicting parameters]]}}

|photo;image
| label13 = Weight
|domestic partner;partner
| data13 = {{#if:{{{weight|}}}|{{infobox person/weight|{{{weight}}}}}}}
|module;module2

|years_active;years active
| label14 = Measurements
|haircolour;hair_colour;haircolor;hair_color
| data14 = {{{measurements|}}}
|eyecolour;eye_colour;eyecolor;eye_color

|competitions;nationalcompetition}}<noinclude>
| label15 = Skin colo{{#if:{{{skincolour|{{{skin_colour|}}}}}}|u}}r
{{documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->

</noinclude>
| data15 = {{#if:{{{skincolour|{{{skin_colour|}}}}}}|{{{skincolour|{{{skin_colour|}}}}}}|{{{skincolor|{{{skin_color|}}}}}}}}

| label16 = Hair colo{{#if:{{{haircolour|{{{hair_colour|}}}}}}|u}}r
| data16 = {{#if:{{{haircolour|{{{hair_colour|}}}}}}|{{{haircolour|{{{hair_colour|}}}}}}|{{{haircolor|{{{hair_color|}}}}}}}}

| label17 = Eye colo{{#if:{{{eyecolour|{{{eye_colour|}}}}}}|u}}r
| data17 = {{#if:{{{eyecolour|{{{eye_colour|}}}}}}|{{{eyecolour|{{{eye_colour|}}}}}}|{{{eyecolor|{{{eye_color|}}}}}}}}

| label18 = Dress size
| data18 = {{{dress_size|{{{dress size|}}}}}}

| label19 = Collar
| data19 = {{{collar|}}}

| label20 = Suit
| data20 = {{{suit|}}}

| label21 = Shoe size
| data21 = {{{shoe_size|{{{shoe size|}}}}}}

| label22 = Title(s)
| data22 = {{{title|}}}
| class22 = title

| label23 = Major<br>competition(s)
| data23 = {{{competitions|{{{nationalcompetition|}}}}}}

| label24 = Spouse
| data24 = {{{spouse|}}}

| label25 = Partner
| data25 = {{{domestic_partner|{{{domestic partner|}}}}}}

| label26 = Children
| data26 = {{{children|}}}

| data27 = {{#if:{{{homepage|}}}|[{{{homepage}}} Official website]}}

| label28 = Signature
| data28 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}}

}}<noinclude>{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS --></noinclude>

Latest revision as of 14:07, 4 July 2023

Infobox pageant titleholder