Difference between revisions of "Template:Infobox sport wrestler/doc"
Jump to navigation
Jump to search
imported>Zyxw (add {{Uses Infobox sportsperson}}, update blank template, remove empty parameter description section) |
imported>Zyxw (update blank template demo, add parameter documentation) |
||
| Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
| − | {{ | + | {{Parameter names example |
| − | | name | + | | name |
| − | | image | + | | image |
| − | | image_size | + | | image_size |
| − | | caption | + | | alt |
| − | | birth_name | + | | caption |
| − | | fullname | + | | birth_name |
| − | | nickname | + | | fullname |
| − | | nationality | + | | nickname |
| − | | birth_date | + | | nationality |
| − | | birth_place | + | | birth_date |
| − | | death_date | + | | birth_place |
| − | | death_place | + | | death_date |
| − | | height | + | | death_place |
| − | | weight | + | | height |
| − | | style | + | | weight |
| − | | club | + | | style |
| − | | collegeteam | + | | club |
| − | | coach | + | | collegeteam |
| − | | medaltemplates | + | | coach |
| − | | show-medals | + | | medaltemplates |
| − | | updated | + | | <!-- show-medals --> |
| + | | updated | ||
}} | }} | ||
| Line 34: | Line 35: | ||
| image = | | image = | ||
| image_size = | | image_size = | ||
| + | | alt = | ||
| caption = | | caption = | ||
| birth_name = | | birth_name = | ||
| Line 54: | Line 56: | ||
}} | }} | ||
</pre> | </pre> | ||
| + | {{clear}} | ||
| + | |||
| + | == Parameters == | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | ! Parameter | ||
| + | ! Description | ||
| + | |- | ||
| + | ! name | ||
| + | | name of the biathlete (need not exactly match page name) | ||
| + | |- | ||
| + | ! image | ||
| + | | image of the biathlete, using the format <code><nowiki>example.jpg</nowiki></code> | ||
| + | |- | ||
| + | ! image_size | ||
| + | | The image size. Only use this parameter if the image is less than 220 [[pixel]]s in width. If so, then indicate the image's respective width in pixels, like this: "<tt>image_size=200</tt>". | ||
| + | |- | ||
| + | ! alt | ||
| + | | [[Wikipedia:Alternative text for images|Alternative text]] describing the image displayed for visually impaired readers. | ||
| + | |- | ||
| + | ! caption | ||
| + | | optional caption for the image | ||
| + | |- | ||
| + | ! birth_name | ||
| + | | The birth name of the subject. | ||
| + | |- | ||
| + | ! fullname | ||
| + | | The full name of the subject. | ||
| + | |- | ||
| + | ! nickname | ||
| + | | The subject's common nickname(s). If there is more than one, list the names alphabetically and separate them with commas. | ||
| + | |- | ||
| + | ! 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]]. | ||
| + | |- | ||
| + | ! birth_date | ||
| + | | The subject's birth date. Use {{tlx|birth date and age|year|month|day}}. | ||
| + | |- | ||
| + | ! 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]]. | ||
| + | |- | ||
| + | ! death_date | ||
| + | | The subject's death date, if applicable. Use {{tlx|death date and age|death year|death month|death day|birth year|birth month|birth day}}. | ||
| + | |- | ||
| + | ! 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]]. | ||
| + | |- | ||
| + | ! height | ||
| + | | Use <code><nowiki>{{convert|_|ft|__|in|cm|abbr=on}}</nowiki></code> or <code><nowiki>{{convert|__|cm|ftin|abbr=on}}</nowiki></code> | ||
| + | |- | ||
| + | ! weight | ||
| + | | use <code><nowiki>{{convert|___|lb|kg|0|abbr=on}}</nowiki></code> or <code><nowiki>{{convert|___|kg|lb|0|abbr=on}}</nowiki></code> | ||
| + | |- | ||
| + | ! colspan="2" | Added parameters for wrestlers | ||
| + | |- | ||
| + | ! style | ||
| + | | <!--add description here--> | ||
| + | |- | ||
| + | ! club | ||
| + | | <!--add description here--> | ||
| + | |- | ||
| + | ! collegeteam | ||
| + | | <!--add description here--> | ||
| + | |- | ||
| + | ! coach | ||
| + | | <!--add description here--> | ||
| + | |- | ||
| + | ! colspan="2" | Medal templates / Updated date | ||
| + | |- | ||
| + | ! medaltemplates | ||
| + | | the medals the skier has won in the usual format, but without {{tl|MedalTop}} or {{tl|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 | ||
| + | |} | ||
| + | |||
| + | == Microformat == | ||
| + | {{UF-hcard-person}} | ||
| + | |||
| + | == See also == | ||
| + | * [[Template:Infobox sportsperson]] | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
Revision as of 17:10, 1 February 2015
| This is a documentation subpage for Template:Infobox sport wrestler. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Infobox sportsperson
Contents
Usage
Template:Parameter names example
Copy and paste the template below:
{{Infobox sport wrestler
| name =
| image =
| image_size =
| alt =
| caption =
| birth_name =
| fullname =
| nickname =
| nationality =
| birth_date =
| birth_place =
| death_date =
| death_place =
| height =
| weight =
| style =
| club =
| collegeteam =
| coach =
| medaltemplates =
| show-medals =
| updated =
}}
Parameters
| Parameter | Description |
|---|---|
| name | name of the biathlete (need not exactly match page name) |
| image | image of the biathlete, 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 subject. |
| fullname | The full name of the subject. |
| nickname | The subject's common nickname(s). If there is more than one, list the names alphabetically and separate them with commas. |
| 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 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 subject's birth date. Use {{birth date and age|year|month|day}}.
|
| birth_place | The subject's place of birth. Do not use a flag template. |
| death_date | The subject'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 subject's place of death, if applicable. Do not use a flag template. |
| height | Use {{convert|_|ft|__|in|cm|abbr=on}} or {{convert|__|cm|ftin|abbr=on}}
|
| weight | use {{convert|___|lb|kg|0|abbr=on}} or {{convert|___|kg|lb|0|abbr=on}}
|
| Added parameters for wrestlers | |
| style | |
| club | |
| collegeteam | |
| coach | |
| Medal templates / Updated date | |
| medaltemplates | the medals the skier 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 |
Microformat
See also