Template:Infobox equestrian: Difference between revisions

Jump to navigation Jump to search
No edit summary
 
(Created page with " <includeonly>{{Infobox sportsperson | honorific_prefix = | name = | honorific_suffix = | native_name = | native_name_lang = | image = | imag...")
Line 1: Line 1:
{{Infobox|child={{{child|{{{embed|}}}}}}
| bodyclass  = vcard


| above       = {{br separated entries
<includeonly>{{Infobox sportsperson
|1={{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span>}}
| honorific_prefix =
|2={{#if:{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}|<span class="fn">{{{name|{{PAGENAMEBASE}}}}}</span>}}
| name            =
|3={{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
| honorific_suffix =
}}
| native_name      =
| native_name_lang =
| image            =
| image_size       =  
| alt              =
| caption          =
| full_name        =
| other_names      =  
| nationality      =
| discipline      =
| birth_date      =  
| birth_place      =  
| death_date      =
| death_place      =
| resting_place    =  
| resting_place_coordinates =
| hometown        =  
| homecountry      =
| height          =  
| weight          =
| horse            =
| website          =  
| show-medals      =  
| medals          =
}}


| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
}}{{#invoke:Check for unknown parameters | check | ignoreblank = y
| caption    = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}}
| unknown = {{Main other|[[Category:Pages using Infobox equestrian with unknown parameters|_VALUE_{{PAGENAME}}]]}}
| preview = Page using [[Template:Infobox equestrian]] with unknown parameter "_VALUE_"
| honorific_prefix | name | honorific_suffix | native_name | native_name_lang | image | image_size | alt | caption | full_name | other_names | nationality | discipline | birth_date | birth_place | death_date | death_place | resting_place | resting_place_coordinates | hometown | homecountry | height | height | weight | horse | website | show-medals | medals


| headerstyle = background:#B0C4DE;
}}{{#if:{{{nationality|}}}|[[Category:Pages using infobox equestrian with nationality parameter]]<!--
| header1    = <includeonly>Personal information</includeonly>
-->{{#ifeq:{{#invoke:string|replace|{{{nationality}}}|^.*USA.*$|USA|plain=false}}|USA|[[Category:Pages using infobox equestrian with USA nationality]]}}<!--
 
-->{{#ifeq:{{#invoke:string|replace|{{{nationality}}}|^.*United States.*$|USA|plain=false}}|USA|[[Category:Pages using infobox equestrian with USA nationality]]}}
| label2      = Native&nbsp;name
}}{{#if:{{{national_team|}}}|[[Category:Pages using infobox equestrian with national team parameter]]
| data2      = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
}}{{#switch:{{lc:{{{show-medals|}}}}}|no|=|#default=[[Category:Pages using infobox equestrian with show-medals enabled]]
 
}}</includeonly><noinclude>
| label3      = Full&nbsp;name
{{documentation}}
| data3      = {{{full_name|{{{fullname|}}}}}}
</noinclude>
 
| label4      = Other&nbsp;names
| data4      = {{{other_names|}}}
 
| label5      = Nationality
| data5      = {{{nationality|}}}
 
| label6      = Discipline
| data6      = {{{discipline|}}}
 
| label7      = Born
| data7      = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}}}}
 
| label8      = Died
| data8      = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
 
| label9      = Resting place
| data9      = {{br separated entries|{{{resting_place|}}}|{{{resting_place_coordinates|}}}}}
 
| label10      = Home&nbsp;town
| data10      = {{#if:{{{hometown|}}}|{{{hometown|}}}}}
 
| label11      = Height
| data11      = {{#if:{{{height_ft|}}}<!--
-->|{{height|ft = {{{height_ft|0}}}|in = {{{height_in|0}}}}}<!--
-->|{{#if: {{{height|}}} | {{Infobox person/height|{{{height}}}}} }}<!--
-->}}
 
| label12    = Weight
| data12      = {{#if:{{{weight_lbs|{{{weight_lb|}}}}}}<!--
-->|{{convert|{{{weight_lbs|{{{weight_lb|0}}}}}}|lb|kg stlb|abbr=on}}<!--
-->|{{#if: {{{weight|}}} | {{Infobox person/weight|{{{weight}}}}} }}<!--
-->}}
 
| label13    = Horse(s)
| data13      = {{{horse|}}}
 
| header14    = {{#if:{{{website|{{{url|}}}}}}|Website}}
| data15      = {{{website|{{{url|}}}}}}
 
| header16    = {{Infobox medal templates
  |medals = {{{medals|{{{medaltemplates|}}}}}}
  |expand = {{{medals-expand|{{{show-medals|}}}}}}
  }}
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox equestrian with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox equestrian]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | birth_date | birth_place | caption | death_date | death_place | discipline | embed | full_name | fullname | height | height_ft | height_in | homecountry | hometown | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | horse | image | image_size | imagesize | medals | medals-expand | medaltemplates | name | nationality | native_name | native_name_lang | other_names | resting_place | resting_place_coordinates | show-medals | url | website | weight | weight_lb | weight_lbs }}<noinclude>{{documentation}}</noinclude>

Revision as of 15:39, 14 May 2020