Difference between revisions of "Template:Infobox sport wrestler/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(Remove tracking category that doesn't apply since this template only passes known parameters to Infobox sportsperson.)
imported>Zyxw
m (update descriptions)
Line 13: Line 13:
 
| caption
 
| caption
 
| birth_name
 
| birth_name
| fullname
+
| full_name
 
| nickname
 
| nickname
 
| nationality
 
| nationality
Line 39: Line 39:
 
| alt            =  
 
| alt            =  
 
| caption        =  
 
| caption        =  
| birth_name    =  
+
| birth_name    = <!-- if different than name -->
| fullname      =  
+
| full_name      = <!-- if different than name or birth_name -->
 
| nickname      =  
 
| nickname      =  
 
| nationality    =  
 
| nationality    =  
Line 67: Line 67:
 
|-
 
|-
 
! name
 
! name
| name of the biathlete (need not exactly match page name)
+
| name of the wrestler (need not exactly match page name)
 
|-
 
|-
 
! image
 
! image
| image of the biathlete, using the format <code><nowiki>example.jpg</nowiki></code>
+
| image of the wrestler, using the format <code><nowiki>example.jpg</nowiki></code>
 
|-
 
|-
 
! image_size
 
! image_size
Line 82: Line 82:
 
|-
 
|-
 
! birth_name
 
! birth_name
| The birth name of the subject.
+
| The birth name of the wrestler, if different than '''name'''.
 
|-
 
|-
! fullname
+
! full_name
| The full name of the subject.
+
| The full name of the wrestler, if different than '''name''' or '''birth_name'''.
 
|-
 
|-
 
! nickname
 
! nickname
| The subject's common nickname(s). If there is more than one, list the names alphabetically and separate them with commas.
+
| The wrestler's common nickname(s). If there is more than one, list the names alphabetically and separate them with commas.
 
|-
 
|-
 
! nationality
 
! nationality
| The subject's nationality. May be used instead of citizenship (below) or vice versa in cases where any confusion could result. Should only be used {{em|with}} citizenship when they somehow differ. Should only be used if nationality cannot be inferred from the birthplace. [[Wikipedia:Manual of Style (icons)#Biographical use|Do not use a flag template]].
+
| The wrestler's nationality. May be used instead of citizenship (below) or vice versa in cases where any confusion could result. Should only be used {{em|with}} citizenship when they somehow differ. Should only be used if nationality cannot be inferred from the birthplace. [[Wikipedia:Manual of Style (icons)#Biographical use|Do not use a flag template]].
 
|-
 
|-
 
! birth_date
 
! birth_date
| The subject's birth date.  Use {{tlx|birth date and age|year|month|day}}.
+
| The wrestler's birth date.  Use {{tlx|birth date and age|year|month|day}}.
 
|-
 
|-
 
! birth_place
 
! birth_place
| The subject's place of birth. [[Wikipedia:Manual of Style (icons)#Do not use flags to indicate locations of birth, residence, or death|Do not use a flag template]].
+
| The wrestler's place of birth. [[Wikipedia:Manual of Style (icons)#Do not use flags to indicate locations of birth, residence, or death|Do not use a flag template]].
 
|-
 
|-
 
! death_date
 
! death_date
| The subject's death date, if applicable. Use {{tlx|death date and age|death year|death month|death day|birth year&#124;birth month&#124;birth day}}.
+
| The wrestler's death date, if applicable. Use {{tlx|death date and age|death year|death month|death day|birth year&#124;birth month&#124;birth day}}.
 
|-
 
|-
 
! death_place
 
! death_place
| The subject's place of death, if applicable. [[Wikipedia:Manual of Style (icons)#Do not use flags to indicate locations of birth, residence, or death|Do not use a flag template]].
+
| The wrestler's place of death, if applicable. [[Wikipedia:Manual of Style (icons)#Do not use flags to indicate locations of birth, residence, or death|Do not use a flag template]].
 
|-
 
|-
 
! height
 
! height
| Use <code><nowiki>{{convert|_|ft|__|in|cm|abbr=on}}</nowiki></code> or <code><nowiki>{{convert|__|cm|ftin|abbr=on}}</nowiki></code>
+
| The wrestler's [[human height|height]], measured in [[centimetre]]s (or [[metre]]s) when using the [[metric system]] or in [[foot (unit)|feet]] and [[inch]]es when using the [[imperial system]]. Use <code>XXX cm</code>, <code>X.XX m</code>, or <code>X ft Y in</code>. The infobox will automatically display the appropriate conversion within parentheses. The height parameter also accepts conversions done via the {{tl|Convert}} template, such as <code><nowiki>{{convert|_|ft|__|in|cm|abbr=on}}</nowiki></code> or <code><nowiki>{{convert|__|cm|ftin|abbr=on}}</nowiki></code>. For additional documentation and examples, see {{section link|Template:Infobox sportsperson|height}}.
 
|-
 
|-
 
! weight
 
! weight
| use <code><nowiki>{{convert|___|lb|kg|0|abbr=on}}</nowiki></code> or <code><nowiki>{{convert|___|kg|lb|0|abbr=on}}</nowiki></code>
+
| The wrestler's [[human body weight|weight]], measured in [[kilogram]]s when using the metric system or in [[pound (mass)|pounds]] when using the [[imperial system]]. Use <code>X kg</kbd> or <code>X lb</code>. The infobox will automatically display the appropriate conversion within parentheses.  The weight parameter also accepts conversions done via the {{tl|Convert}} template, such as <code><nowiki>{{convert|___|lb|kg|0|abbr=on}}</nowiki></code> or <code><nowiki>{{convert|___|kg|lb|0|abbr=on}}</nowiki></code>. For additional documentation and examples, see {{section link|Template:Infobox sportsperson|weight}}.
 
|-
 
|-
 
! colspan="2" | Added parameters for wrestlers
 
! colspan="2" | Added parameters for wrestlers
Line 128: Line 128:
 
|-
 
|-
 
! medaltemplates
 
! medaltemplates
| the medals the skier has won in the usual format, but without {{tl|MedalTop}} or {{tl|MedalBottom}}
+
| the medals the wrestler has won in the usual format, but without {{tl|MedalTop}} or {{tl|MedalBottom}}
 
|-
 
|-
 
! show-medals
 
! show-medals

Revision as of 02:09, 4 November 2017

Template:Uses Infobox sportsperson

Template:Tracks Wikidata

Usage

Template:Parameter names example

Copy and paste the template below:

{{Infobox sport wrestler
| name           = 
| image          = 
| image_size     = 
| alt            = 
| caption        = 
| birth_name     = <!-- if different than name -->
| full_name      = <!-- if different than name or birth_name -->
| nickname       = 
| nationality    = 
| birth_date     = 
| birth_place    = 
| death_date     = 
| death_place    = 
| height         = <!-- "X cm", "X m"  or "X ft Y in" plus optional reference (conversions are automatic) -->
| weight         = <!-- "X kg", "X lb" or "X st Y lb" plus optional reference (conversions are automatic) -->
| style          = 
| club           = 
| collegeteam    = 
| coach          = 
| medaltemplates = 
| show-medals    = 
| updated        = <!-- {{subst:Date}} or {{subst:Date|2=mdy}} -->
}}

Parameters

Parameter Description
name name of the wrestler (need not exactly match page name)
image image of the wrestler, using the format example.jpg
image_size The image size. Only use this parameter if the image is less than 220 pixels in width. If so, then indicate the image's respective width in pixels, like this: "image_size=200".
alt Alternative text describing the image displayed for visually impaired readers.
caption optional caption for the image
birth_name The birth name of the wrestler, if different than name.
full_name The full name of the wrestler, if different than name or birth_name.
nickname The wrestler's common nickname(s). If there is more than one, list the names alphabetically and separate them with commas.
nationality The wrestler's nationality. May be used instead of citizenship (below) or vice versa in cases where any confusion could result. Should only be used with citizenship when they somehow differ. Should only be used if nationality cannot be inferred from the birthplace. Do not use a flag template.
birth_date The wrestler's birth date. Use {{birth date and age|year|month|day}}.
birth_place The wrestler's place of birth. Do not use a flag template.
death_date The wrestler's death date, if applicable. Use {{death date and age|death year|death month|death day|birth year|birth month|birth day}}.
death_place The wrestler's place of death, if applicable. Do not use a flag template.
height The wrestler's height, measured in centimetres (or metres) when using the metric system or in feet and inches when using the imperial system. Use XXX cm, X.XX m, or X ft Y in. The infobox will automatically display the appropriate conversion within parentheses. The height parameter also accepts conversions done via the {{Convert}} template, such as {{convert|_|ft|__|in|cm|abbr=on}} or {{convert|__|cm|ftin|abbr=on}}. For additional documentation and examples, see Script error: No such module "Section link"..
weight The wrestler's weight, measured in kilograms when using the metric system or in pounds when using the imperial system. Use X kg or X lb. The infobox will automatically display the appropriate conversion within parentheses. The weight parameter also accepts conversions done via the {{Convert}} template, such as {{convert|___|lb|kg|0|abbr=on}} or {{convert|___|kg|lb|0|abbr=on}}. For additional documentation and examples, see Script error: No such module "Section link"..
Added parameters for wrestlers
style
club
collegeteam
coach
Medal templates / Updated date
medaltemplates the medals the wrestler has won in the usual format, but without {{MedalTop}} or {{MedalBottom}}
show-medals If "show-medals=yes", the medal table is displayed. Otherwise, it is hidden and will only be displayed if the "show" link is clicked.
updated date information was updated (use {{subst:Date}} or {{subst:Date|2=mdy}} for the current date)

Microformat

Template:UF-hcard-person

Tracking categories

See also