[go: nahoru, domu]

Jump to content

Template:Infobox pageant titleholder: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Fix
Use template wrapping to accept all parameters that Template:Infobox person does
 
(58 intermediate revisions by 28 users not shown)
Line 1: Line 1:
{{#invoke:Template wrapper|wrap|_template=Infobox person
{{tfd|Infobox pageant titleholder}}
| _alias-map=photo:image,domestic partner:partner,module:module2
{{Infobox
| _exclude=title,years_active,years active,haircolour,hair_colour,haircolor,hair_color,
| bodyclass = vcard
eyecolour,eye_colour,eyecolor,eye_color,agency,films,competitions,nationalcompetition
| titleclass = fn
| template_name=infobox pageant titleholder
| title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| subheader = <includeonly>''[[Beauty contest|Beauty pageant]] titleholder''</includeonly>
| name = <includeonly>{{PAGENAMEBASE}}</includeonly>
| image = {{{photo|}}}
| caption = {{{caption|}}}


| module = {{#if:{{{title|}}}{{{years_active|}}}{{{years active|}}}{{{haircolour|}}}{{{hair_colour|}}}{{{haircolor|}}}{{{hair_color|}}}{{{eyecolour|}}}{{{eye_colour|}}}{{{eyecolor|}}}{{{eye_color|}}}{{{agency|}}}{{{films|}}}{{{competitions|}}}{{{nationalcompetition|}}}
| label1 = Other names

| class1 = nickname
|{{Infobox|child=yes|decat=yes
| data1 = {{{alias|}}}

| label2 = Born
| title = '''<span class="role">[[Beauty pageant]]</span> titleholder'''
| data2 = {{br separated entries<!--

-->|{{#if:{{{birth_name|{{{birthname|}}}}}}<!--
| label1 = Title
-->|<span class="nickname">{{{birth_name|{{{birthname}}}}}}</span><!--
| data1 = {{{title|}}}
-->}}<!--

-->|{{{birth_date|}}}<!--
| label2 = No. of films
-->|{{{birth_place|}}}<!--
| data2 = {{{films|}}}
-->}}

| label5 = Died
| label3 = Agency
| data5 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
| label6 = Education
| data3 = {{{agency|}}}
| data6 = {{{education|}}}
| class3 = agent

| label7 = Occupation
| data7 = {{{occupation|}}}
| label4 = Years active
| data4 = {{if empty|{{{years_active|}}}|{{{years active|}}}}}
| class7 = role

| label8 = Measurements
| data8 = {{{measurements|}}}
| label5 = Hair colo{{#if:{{{haircolour|}}}{{{hair_colour|}}}|u}}r
| data5 = {{if empty|{{{haircolour|}}}|{{{hair_colour|}}}|{{{haircolor|}}}|{{{hair_color|}}}}}
| label9 = Height

| data9 = {{{height|}}}
| label6 = Eye colo{{#if:{{{eyecolour|{{{eye_colour|}}}}}}|u}}r
| label10 = Eye color
| data10 = {{{eye_color|{{{eye color|}}}}}}
| data6 = {{if empty|{{{eyecolour|}}}|{{{eye_colour|}}}|{{{eyecolor|}}}|{{{eye_color|}}}}}

| label11 = Hair color
| label7 = <span class="nowrap">Major<br />competition(s)</span>
| data11 = {{{hair_color|{{{hair color|}}}}}}
| data7 = {{if empty|{{{competitions|}}}|{{{nationalcompetition|}}}}}
| label12 = Skin color

| data12 = {{{skin_color|{{{skin color|}}}}}}
}}}}
| label13 = Weight

| data13 = {{{weight|}}}
}}{{#invoke:Check for clobbered parameters|check
| label14 = Title(s)
|template=[[Template:Infobox pageant titleholder]]
| data14 = {{{title|}}}
|cat={{main other|[[Category:Pages using infobox pageant titleholder with conflicting parameters]]}}
| class14 = title
|photo;image
| label15 = Major competition(s)
|domestic partner;partner
| data15 = {{{competitions|{{{nationalcompetition|}}}}}}
|module;module2
| label16 = [[Dress size]]
|years_active;years active
| data16 = {{{dress_size|{{{dress size|}}}}}}
|haircolour;hair_colour;haircolor;hair_color
| label17 = [[Shoe size]]
|eyecolour;eye_colour;eyecolor;eye_color
| data17 = {{{shoe_size|{{{shoe size|}}}}}}
|competitions;nationalcompetition}}<noinclude>
| label20 = Agency
{{documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
| data20 = {{{agency|}}}
</noinclude>
| label21 = No. of films
| data21 = {{{films|}}}
| data22 = {{#if:{{{homepage|}}}|[{{{homepage}}} Official website]}}
}}<noinclude>{{Documentation}}
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>

Latest revision as of 14:07, 4 July 2023

Infobox pageant titleholder