[go: nahoru, domu]

Jump to content

Template:Infobox pageant titleholder: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
avoiding redirect
Use template wrapping to accept all parameters that Template:Infobox person does
 
(41 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{#invoke:Template wrapper|wrap|_template=Infobox person
{{Infobox
| _alias-map=photo:image,domestic partner:partner,module:module2
| bodyclass = vcard
| _exclude=title,years_active,years active,haircolour,hair_colour,haircolor,hair_color,
| titleclass = fn
eyecolour,eye_colour,eyecolor,eye_color,agency,films,competitions,nationalcompetition
| title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| subheader = <includeonly>''<span class="role">[[Beauty pageant]]</span> titleholder''</includeonly>
| template_name=infobox pageant titleholder
| name = <includeonly>{{PAGENAMEBASE}}</includeonly>
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{{image_size|}}}|frameless}}|alt={{{alt|}}}]]}}
| 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 = 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|}}}


|{{Infobox|child=yes|decat=yes
| label3 = Died
| data3 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}


| title = '''<span class="role">[[Beauty pageant]]</span> titleholder'''
| label4 = Hometown
| data4 = {{{hometown|}}}


| label5 = Residence
| label1 = Title
| data5 = {{{residence|}}}
| data1 = {{{title|}}}


| label6 = Education
| label2 = No. of films
| data6 = {{{education|}}}
| data2 = {{{films|}}}


| label7 = Alma mater
| label3 = Agency
| data7 = {{{alma_mater|{{{alma mater|}}}}}}
| data3 = {{{agency|}}}
| class3 = agent


| label8 = Occupation
| label4 = Years active
| data8 = {{{occupation|}}}
| data4 = {{if empty|{{{years_active|}}}|{{{years active|}}}}}
| class8 = role


| label5 = Hair colo{{#if:{{{haircolour|}}}{{{hair_colour|}}}|u}}r
| label9 = Years active
| data9 = {{{years_active|{{{years active|}}}}}}
| data5 = {{if empty|{{{haircolour|}}}|{{{hair_colour|}}}|{{{haircolor|}}}|{{{hair_color|}}}}}


| label6 = Eye colo{{#if:{{{eyecolour|{{{eye_colour|}}}}}}|u}}r
| label10 = No. of films
| data6 = {{if empty|{{{eyecolour|}}}|{{{eye_colour|}}}|{{{eyecolor|}}}|{{{eye_color|}}}}}
| data10 = {{{films|}}}


| label7 = <span class="nowrap">Major<br />competition(s)</span>
| label11 = Agency
| data11 = {{{agency|}}}
| data7 = {{if empty|{{{competitions|}}}|{{{nationalcompetition|}}}}}
| class11 = agent


}}}}
| label12 = Height
| data12 = {{{height|}}}


}}{{#invoke:Check for clobbered parameters|check
| label13 = Weight
|template=[[Template:Infobox pageant titleholder]]
| data13 = {{{weight|}}}
|cat={{main other|[[Category:Pages using infobox pageant titleholder with conflicting parameters]]}}

|photo;image
| label14 = Measurements
|domestic partner;partner
| data14 = {{{measurements|}}}
|module;module2

|years_active;years active
| label15 = Hair color
|haircolour;hair_colour;haircolor;hair_color
| data15 = {{{hair_color|{{{hair color|}}}}}}
|eyecolour;eye_colour;eyecolor;eye_color

|competitions;nationalcompetition}}<noinclude>
| label16 = Eye color
{{documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
| data16 = {{{eye_color|{{{eye color|}}}}}}
</noinclude>

| label17 = Dress size
| data17 = {{{dress_size|{{{dress size|}}}}}}

| label18 = Collar
| data18 = {{{collar|}}}

| label19 = Suit
| data19 = {{{suit|}}}

| label20 = Shoe size
| data20 = {{{shoe_size|{{{shoe size|}}}}}}

| label21 = Title(s)
| data21 = {{{title|}}}
| class21 = title

| label22 = Major<br>competition(s)
| data22 = {{{competitions|{{{nationalcompetition|}}}}}}

| label23 = Spouse
| data23 = {{{spouse|}}}

| label24 = Partner
| data24 = {{{domestic_partner|{{{domestic partner|}}}}}}

| label25 = Children
| data25 = {{{children|}}}

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

| label27 = Signature
| data27 = {{#if:{{{signature|}}}|[[File:{{{signature}}}|{{px|{{{signature_size|}}}|150px}}|alt={{{signature alt|{{{signature_alt|}}}}}}]]}}
}}<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