Jump to content

Template:Infobox gymnast and Template:Infobox gymnast/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
if infobox embedded, it shouldn't show the image
 
copy of current template
 
Line 1: Line 1:
{{Infobox
{{Infobox
| bodyclass = vcard
| bodyclass = vcard
| child = {{{child|}}}


| aboveclass = fn
| aboveclass = fn
| above = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly>
| above = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly>


| image = {{#if:{{{child|}}}||{{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#invoke:Wikidata|claim|P18}}}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#invoke:Wikidata|claim|P18}}}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
| caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}}
| caption = {{{caption|{{#invoke:Wikidata |getImageLegend|FETCH_WIKIDATA}}}}}

| subheaderstyle = font-size:125%; font-weight:bold;
| subheader = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang}}}">}}{{{native_name}}}{{#if:{{{native_name_lang|}}}|</div>}} }} }}


| header1 = {{#if:{{{image|}}}|Personal information}}
| header1 = {{#if:{{{image|}}}|Personal information}}


| class2 = nickname
| class2 = nickname
| label2 = Full&nbsp;name
| label2 = Full name
| data2 = {{{full_name|{{{fullname|}}}}}}
| data2 = {{{full_name|{{{fullname|}}}}}}


Line 75: Line 71:
| data18 = {{{level|}}}
| data18 = {{{level|}}}


| label19 = Years on national&nbsp;team
| label19 = Years on national team
| data19 = {{{natlteam|}}}
| data19 = {{{natlteam|}}}


Line 135: Line 131:
| below = {{#if:{{{updated|}}}|Last updated on: {{{updated}}}.}}
| below = {{#if:{{{updated|}}}|Last updated on: {{{updated}}}.}}


}}{{#invoke:Check for unknown parameters | check | unknown={{main other|[[Category:Pages using infobox gymnast with unknown parameters|_VALUE_{{PAGENAME}}]]}} | preview=Page using [[Template:Infobox gymnast]] with unknown parameter "_VALUE_" | ignoreblank=y | child | name | image | image_size | imagesize | alt | caption | full_name | fullname | altname | nickname | country | regionsrepresented | formercountry | birth_date | birth_place | death_date | death_place | hometown | residence | spouse | training | height | weight | discipline | level | native_name | native_name_lang | natlteam | club | gym | collegeteam | headcoach | assistcoach | formercoach | choreographer | music | eponymousskills | retired | worldranking | medaltemplates | show-medals | module | voice | voice_header | voice_caption | updated
}}{{#invoke:Check for unknown parameters | check | unknown={{main other|[[Category:Pages using Template:Infobox gymnast with unknown parameters|_VALUE_{{PAGENAME}}]]}} | preview=Page using [[Template:Infobox gymnast]] with unknown parameter "_VALUE_" | ignoreblank=y | name | image | image_size | imagesize | alt | caption | full_name | fullname | altname | nickname | country | regionsrepresented | formercountry | birth_date | birth_place | death_date | death_place | hometown | residence | spouse | training | height | weight | discipline | level | natlteam | club | gym | collegeteam | headcoach | assistcoach | formercoach | choreographer | music | eponymousskills | retired | worldranking | medaltemplates | show-medals | module | voice | voice_header | voice_caption | updated
}}<noinclude>
}}<noinclude>
{{Documentation}}<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS-->
{{Documentation}}<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS-->