Template:Infobox sport wrestler/doc
This is a documentation subpage for Template:Infobox sport wrestler. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a customized wrapper for {{Infobox sportsperson}}. Any field from {{Infobox sportsperson}} can work so long as it is added to this template first. It will also emit the same hCard microformat as {{Infobox sportsperson}} . Questions? Just ask on Template talk:Infobox sportsperson. |
This template uses Lua: |
Usage
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1.1]] | ||
Personal information | ||
---|---|---|
Birth name | {{{birth_name}}} | |
Full name | {{{full_name}}} | |
Nickname(s) | {{{nickname}}} | |
Nationality | {{{nationality}}} | |
Born | {{{birth_date}}} {{{birth_place}}} | |
Died | {{{death_date}}} {{{death_place}}} | |
Height | {{{height}}} | |
Weight | {{{weight}}} | |
Sport | ||
Sport | Wrestling | |
Style | {{{style}}} | |
Club | {{{club}}} | |
College team | {{{collegeteam}}} | |
Coach | {{{coach}}} | |
Medal record
| ||
Updated on {{{updated}}}. |
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 = }}
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 Template:Infobox sportsperson § height.
|
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 Template:Infobox sportsperson § weight.
|
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
The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
Tracking categories
- via Infobox sportsperson
- Category:Pages using deprecated image syntax (0) – Used by Module:InfoboxImage to track articles where an infobox uses image syntax in the format |image=[[File:Example.jpg]]. To exclude articles from this category, change it to |image=Example.jpg.
- Category:No local image but image on Wikidata (24) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or
|nocat_wdimage=yes
to the infobox.
See also