Template:Infobox sportsperson: Difference between revisions

Jump to navigation Jump to search
(MOS:ACCESS#Text / MOS:FONTSIZE: "Avoid using smaller font sizes in elements that already use a smaller font size, such as infoboxes, navboxes and reference sections.")
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
| headerstyle = {{#ifeq:{{{child|{{{embed|}}}}}}|yes||background:{{#if:{{{headercolor|}}}|{{{headercolor}}}; {{#if:{{{textcolor|}}}|color:{{{textcolor}}}}}|#CCCC99}};}}
| headerstyle = {{#ifeq:{{{child|{{{embed|}}}}}}|yes||background:{{#if:{{{headercolor|}}}|{{{headercolor}}}; {{#if:{{{textcolor|}}}|color:{{{textcolor}}}}}|#CCCC99}};}}


| title    = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|'''Sports career'''|{{#if:{{{honorific_prefix|{{{honorific prefix|}}}}}}|<span class="honorific-prefix" style="font-weight: normal">{{{honorific_prefix|{{{honorific prefix|}}}}}}</span><br />}}<includeonly><span class="fn">{{If empty|{{{name|}}}|{{PAGENAMEBASE}}}}</span></includeonly>{{#if:{{{honorific_suffix|{{{honorific suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-weight: normal">{{{honorific_suffix|{{{honorific suffix|}}}}}}</span>}}}}
| title    = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|'''Sports career'''|{{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</div>}}<div class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal; display:inline;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</div>}}}}
| titlestyle = font-size:125%;


| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|upright=1.1|alt={{{alt|}}}|suppressplaceholder=yes}}
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|upright=1.1|alt={{{alt|}}}|suppressplaceholder=yes}}
| caption  = {{{caption|}}}
| caption  = {{{caption|}}}


  | header1  = {{#if:{{{native_name|}}}{{{native_name_lang|}}}{{{birth_name|}}}{{{birthname|}}}{{{full_name|}}}{{{fullname|}}}{{{nickname|}}}{{{national_team|}}}{{{nationality|}}}{{{ethnicity|}}}{{{citizenship|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{resting_place|}}}{{{resting place|}}}{{{restingplace|}}}{{{resting_place_coordinates|}}}{{{resting place coordinates|}}}{{{restingplacecoordinates|}}}{{{monuments|}}}{{{residence|}}}{{{hometown|}}}{{{education|}}}{{{alma_mater|}}}{{{alma mater|}}}{{{occupation|}}}{{{years_active|}}}{{{years active|}}}{{{yearsactive|}}}{{{employer|}}}{{{agent|}}}{{{height_cm|}}}{{{height_ft|}}}{{{height_in|}}}{{{height|}}}{{{weight_kg|}}}{{{weight_lb|}}}{{{weight_st|}}}{{{weight|}}}{{{spouse|}}}{{{life_partner|}}}{{{other_interests|}}}{{{other-interests|}}}{{{website|}}}|Personal information}}
  | header1  = {{#if:{{{native_name|}}}{{{native_name_lang|}}}{{{birth_name|}}}{{{birthname|}}}{{{full_name|}}}{{{fullname|}}}{{{nickname|}}}{{{national_team|}}}{{{nationality|}}}{{{citizenship|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{resting_place|}}}{{{resting place|}}}{{{restingplace|}}}{{{resting_place_coordinates|}}}{{{resting place coordinates|}}}{{{restingplacecoordinates|}}}{{{monuments|}}}{{{hometown|}}}{{{education|}}}{{{alma_mater|}}}{{{alma mater|}}}{{{occupation|}}}{{{years_active|}}}{{{years active|}}}{{{yearsactive|}}}{{{employer|}}}{{{agent|}}}{{{height_cm|}}}{{{height_ft|}}}{{{height_in|}}}{{{height|}}}{{{weight_kg|}}}{{{weight_lb|}}}{{{weight_st|}}}{{{weight|}}}{{{spouse|}}}{{{life_partner|}}}{{{other_interests|}}}{{{other-interests|}}}{{{website|}}}|Personal information}}


  | label2  = Native name
  | label2  = Native&nbsp;name
  |  data2  = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
  |  data2  = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
  | label3  = Birth name
  | label3  = Birth&nbsp;name
  |  data3  = {{{birth_name|{{{birthname|}}}}}}
  |  data3  = {{{birth_name|{{{birthname|}}}}}}
  | class3  = nickname
  | class3  = nickname
Line 20: Line 21:
  |  data4  = {{{full_name|{{{fullname|}}}}}}
  |  data4  = {{{full_name|{{{fullname|}}}}}}
  | class4  = nickname
  | class4  = nickname
  | label5  = Nickname(s)
  | label5  = <span class="nowrap">Nickname(s)</span>
  |  data5  = {{{nickname|}}}
  |  data5  = {{{nickname|}}}
  | class5  = nickname
  | class5  = nickname
Line 26: Line 27:
  |  data6  = {{#if:{{{national_team|}}}|{{{national_team}}}|{{{nationality|}}}}}
  |  data6  = {{#if:{{{national_team|}}}|{{{national_team}}}|{{{nationality|}}}}}
  | class6  = category
  | class6  = category
| label7  = Ethnicity
 
|  data7  = {{{ethnicity|}}}
  | class7  = category
  | class7  = category
  | label8  = Citizenship
  | label8  = Citizenship
Line 36: Line 36:
  | label10  = Died
  | label10  = Died
  |  data10  = {{br separated entries|{{{death_date|}}}|{{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}
  |  data10  = {{br separated entries|{{{death_date|}}}|{{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}
  | label11  = Resting place
  | label11  = Resting&nbsp;place
  |  data11  = {{br separated entries|{{{resting_place|{{{resting place|{{{restingplace|}}}}}}}}}|{{{resting_place_coordinates|{{{resting place coordinates|{{{restingplacecoordinates|}}}}}}}}}}}
  |  data11  = {{br separated entries|{{{resting_place|{{{resting place|{{{restingplace|}}}}}}}}}|{{{resting_place_coordinates|{{{resting place coordinates|{{{restingplacecoordinates|}}}}}}}}}}}
  | class11  = label
  | class11  = label
  | label12  = Monuments
  | label12  = Monuments
  |  data12  = {{{monuments|}}}
  |  data12  = {{{monuments|}}}
| label13  = Residence
 
|  data13  = {{{residence|}}}
  | label14  = Home&nbsp;town
  | label14  = Home town
  |  data14  = {{{hometown|}}}
  |  data14  = {{{hometown|}}}
  | label15  = Education
  | label15  = Education
  |  data15  = {{{education|}}}
  |  data15  = {{{education|}}}
  | label16  = ''[[Alma mater]]''
  | label16  = ''[[Alma&nbsp;mater]]''
  |  data16  = {{{alma_mater|{{{alma mater|}}}}}}
  |  data16  = {{{alma_mater|{{{alma mater|}}}}}}
  | label17  = Occupation
  | label17  = Occupation
  |  data17  = {{{occupation|}}}
  |  data17  = {{{occupation|}}}
  | class17  = role
  | class17  = role
  | label18  = Years active
  | label18  = Years&nbsp;active
  |  data18  = {{{years_active|{{{years active|{{{yearsactive|}}}}}}}}}
  |  data18  = {{{years_active|{{{years active|{{{yearsactive|}}}}}}}}}
  | label19  = Employer
  | label19  = Employer
Line 64: Line 63:
  | label22  = Weight
  | label22  = Weight
  |  data22  = {{convinfobox|{{{weight_kg|}}}|kg|{{{weight_st|}}}|st|{{{weight_lb|}}}|lb|{{#if:{{{weight_kg|}}}|0}}}}{{#if:{{{weight|}}}|{{infobox person/weight|{{{weight}}}}}}}
  |  data22  = {{convinfobox|{{{weight_kg|}}}|kg|{{{weight_st|}}}|st|{{{weight_lb|}}}|lb|{{#if:{{{weight_kg|}}}|0}}}}{{#if:{{{weight|}}}|{{infobox person/weight|{{{weight}}}}}}}
  | label23  = Spouse(s)
  | label23  = <span class="nowrap">Spouse(s)</span>
  |  data23  = {{{spouse|}}}
  |  data23  = {{{spouse|}}}
  | label24  = [[Life partner|Life <span class="nowrap">partner(s)</span>]]
  | label24  = [[Life partner|Life <span class="nowrap">partner(s)</span>]]
Line 88: Line 87:
| label39  = Disability
| label39  = Disability
|  data39  = {{{disability|}}}
|  data39  = {{{disability|}}}
| label40  = [[Disability sport classification|Disability class]]
| label40  = [[Disability sport classification|Disability&nbsp;class]]
|  data40  = {{{disability_class|}}}
|  data40  = {{{disability_class|}}}
| label41  = {{#if:{{{weight_class_type|}}}|{{{weight_class_type}}}|Weight&nbsp;class}}
| label41  = {{#if:{{{weight_class_type|}}}|{{{weight_class_type}}}|Weight&nbsp;class}}
Line 94: Line 93:
| label42  = Rank
| label42  = Rank
|  data42  = {{{rank|}}}
|  data42  = {{{rank|}}}
| label43  = {{#if:{{{event_type|}}}|{{{event_type}}}|Event(s)}}
| label43  = {{#if:{{{event_type|}}}|{{{event_type}}}|<span class="nowrap">Event(s)</span>}}
|  data43  = {{{event|}}}
|  data43  = {{{event|}}}
| label44  = {{#if:{{{universityteam|}}}|University|College}} team
| label44  = {{#if:{{{universityteam|}}}|University|College}} team
Line 158: Line 157:
| unknown = {{main other|[[Category:Pages using Infobox sportsperson with unknown parameters|_VALUE_{{PAGENAME}}]]}}
| unknown = {{main other|[[Category:Pages using Infobox sportsperson with unknown parameters|_VALUE_{{PAGENAME}}]]}}
| preview = Page using [[Template:Infobox sportsperson]] with unknown parameter "_VALUE_"
| preview = Page using [[Template:Infobox sportsperson]] with unknown parameter "_VALUE_"
| child | embed | headercolor | textcolor | honorific_prefix | honorific prefix | name | honorific_suffix | honorific suffix | image | image_size | imagesize | alt | caption | native_name | native_name_lang | birth_name | birthname | full_name | fullname | nickname | national_team | nationality | ethnicity | citizenship | birth_date | birth_place | death_date | death_place | resting_place | resting place | restingplace | resting_place_coordinates | resting place coordinates | restingplacecoordinates | monuments | residence | hometown | education | alma_mater | alma mater | occupation | years_active | years active | yearsactive | employer | agent | height_cm | height_ft | height_in | height | weight_kg | weight_lb | weight_st | weight | spouse | life_partner | other_interests | other-interests | website | module | misc | country | sport | position | shoots | catches | disability | disability_class | weight_class | rank | event | universityteam | collegeteam | league | club | team | turnedpro | partner | former_partner | formerpartner | coach | retired | coaching | weight_class_type | event_type | league_type | turnedpro_type | module2 | misc2 | worlds | regionals | nationals | olympics | paralympics | commonwealth | highestranking | pb | medaltemplates-title | medaltemplates | show-medals | module3 | misc3 | updated | nocat_wdimage
| child | embed | headercolor | textcolor | honorific_prefix | honorific prefix | name | honorific_suffix | honorific suffix | image | image_size | imagesize | alt | caption | native_name | native_name_lang | birth_name | birthname | full_name | fullname | nickname | national_team | nationality | citizenship | birth_date | birth_place | death_date | death_place | resting_place | resting place | restingplace | resting_place_coordinates | resting place coordinates | restingplacecoordinates | monuments | hometown | education | alma_mater | alma mater | occupation | years_active | years active | yearsactive | employer | agent | height_cm | height_ft | height_in | height | weight_kg | weight_lb | weight_st | weight | spouse | life_partner | other_interests | other-interests | website | module | misc | country | sport | position | shoots | catches | disability | disability_class | weight_class | rank | event | universityteam | collegeteam | league | club | team | turnedpro | partner | former_partner | formerpartner | coach | retired | coaching | weight_class_type | event_type | league_type | turnedpro_type | module2 | misc2 | worlds | regionals | nationals | olympics | paralympics | commonwealth | highestranking | pb | medaltemplates-title | medaltemplates | show-medals | module3 | misc3 | updated | nocat_wdimage
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{documentation}}
<!--PLEASE PUT CATEGORIES IN [[Template:Infobox Sportsperson/doc]].-->
<!--PLEASE PUT CATEGORIES IN [[Template:Infobox Sportsperson/doc]].-->
</noinclude>
</noinclude>

Latest revision as of 14:44, 23 August 2021

Infobox sportsperson