(Go: >> BACK << -|- >> HOME <<)

Template:Infobox climber: Difference between revisions

Content deleted Content added
add check for unknown parameters
Updating TFD template: discussion was relisted (XFDcloser)
Tag: Reverted
(22 intermediate revisions by 11 users not shown)
Line 1:
{{Tfm/dated|page=Infobox climber|otherpage=Infobox mountaineer|link=Wikipedia:Templates for discussion/Log/2024 June 29#Template:Infobox climber|type=sidebar|help=off|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}
{{Infobox sportsperson
{{#invoke:Template wrapper|wrap|_template=Infobox sportsperson
| image = {{{image|}}}
| module _exclude= {{#if: {{{medals-expand,show-medals,typeofclimber|}}} {{{,apeindex,highestredpoint|}}} {{{,highestonsight|}}} {{{,highestboulder|}}} {{{,highestgrade|}}} {{{,knownfor|}}} {{{,firstascents|}}} {{{,namedroutes|}}} {{{,majorascents|}}} |{{Infobox,retired,worlds
| image_size = {{{image_size|{{{imagesize|}}}}}}
| _alias-map=medals:medaltemplates,module:module3
| alt = {{{alt|}}}
| template_name=infobox climber
| caption = {{{caption|}}}
| show-medals = {{yesno-yes|{{if empty|{{{medals-expand|}}}|{{{show-medals|}}}}}}}
| nickname = {{{nickname|}}}
| module = {{#if:{{{typeofclimber|}}}{{{apeindex|}}}{{{highestredpoint|}}}{{{highestonsight|}}}{{{highestboulder|}}}{{{highestgrade|}}}{{{knownfor|}}}{{{firstascents|}}}{{{namedroutes|}}}{{{majorascents|}}} |{{Infobox
| nationality = {{{nationality|}}}
| birth_date = {{{birth_date|}}}
| birth_place = {{{birth_place|}}}
| death_date = {{{death_date|}}}
| death_place = {{{death_place|}}}
| residence = {{{residence|}}}
| education = {{{education|}}}
| occupation = {{{occupation|}}}
| height = {{{height|}}}
| weight = {{{weight|}}}
| retiref = {{{retired|}}}
| website = {{{website|}}}
| worlds = {{{worlds|}}}
| medaltemplates = {{{medals|{{{medaltemplates|}}}}}}
| show-medals = {{{medals-expand|{{{show-medals|}}}}}}
| updated = {{{updated|}}}
| nocat_wdimage = {{{nocat_wdimage|}}}
 
| module = {{#if: {{{typeofclimber|}}} {{{highestredpoint|}}} {{{highestonsight|}}} {{{highestboulder|}}} {{{highestgrade|}}} {{{knownfor|}}} {{{firstascents|}}} {{{namedroutes|}}} {{{majorascents|}}} |{{Infobox
| child = yes
| titleheader1 = '''Climbing career'''
| headerstyle=background: #CCCC99
| decat = yes <!-- remove from template:infobox tracking categories -->
| label1label2 = Type of climber
| data1data2 = {{{typeofclimber|}}}
| label2label3 = HighestApe gradeindex
| data2 data3 = {{#if: {{{highestredpointapeindex|}}} | {{{highestonsightInfobox person/length|}}}{{{highestboulder|apeindex}}}}} }}
| label4 = Highest grade
| data4 = {{#if:{{{highestredpoint|}}}{{{highestonsight|}}}{{{highestboulder|}}}
|{{plainlist|
* {{#if:{{{highestredpoint|}}}|[[Redpoint (climbing)|Redpoint]]: &nbsp;{{{highestredpoint}}}}}
* {{#if:{{{highestonsight|}}}|[[On-sight]]: &nbsp;{{{highestonsight}}}}}
* {{#if:{{{highestboulder|}}}|[[Bouldering]]: &nbsp;{{{highestboulder}}}}}
}}|{{{highestgrade|}}}}}
| label3label5 = Known for
| data3data5 = {{{knownfor|}}}
| label4label6 = First ascents
| data4data6 = {{{firstascents|}}}
| label5label7 = Named routes
| data5data7 = {{{namedroutes|}}}
| label6label8 = Major ascents
| data6data8 = {{{majorascents|}}}
| label9 = World finals
| imagedata9 = {{{imageworlds|}}}
| label10 = Retired
| altdata10 = {{{altretired|}}}
}}
}}
}}{{#invoke:Check for clobbered parameters|check
}}{{#invoke:Check for unknown parameters | check | unknown = {{Main other|[[Category:Pages using infobox climber with unknown parameters|_VALUE_{{PAGENAME}}]]}} | preview = Page using [[Template:Infobox climber]] with unknown parameter "_VALUE_" | ignoreblank = y | image | image_size | imagesize | alt | caption | nickname | nationality | birth_date | birth_place | death_date | death_place | residence | education | occupation | height | weight | retired | website | worlds | medals | medaltemplates | medals-expand | show-medals | updated | nocat_wdimage | typeofclimber | highestredpoint | highestonsight | highestboulder | highestgrade | knownfor | firstascents | namedroutes | majorascents
| template = [[Template:Infobox climber|Infobox climber]]
| cat = {{main other|Category:Pages using infobox climber with conflicting parameters}}
| highestredpoint; highestgrade
| highestonsight; highestgrade
| highestboulder; highestgrade
| medaltemplates = {{{medals|{{{;medaltemplates|}}}}}}
| module:module3
}}<noinclude>
{{Documentationdocumentation}}
</noinclude>