Difference between revisions of "Template:Infobox sport wrestler/doc"
Jump to navigation
Jump to search
imported>Zyxw (add category) |
imported>Zyxw (add links, update categories) |
||
Line 2: | Line 2: | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
{{Uses Infobox sportsperson}} | {{Uses Infobox sportsperson}} | ||
+ | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
+ | {{Tracks Wikidata|P18|cat=No local image but image on Wikidata}} | ||
== Usage == | == Usage == | ||
Line 137: | Line 139: | ||
== Microformat == | == Microformat == | ||
{{UF-hcard-person}} | {{UF-hcard-person}} | ||
+ | |||
+ | == Tracking categories == | ||
+ | * {{clc|Pages using Infobox sportsperson with unknown parameters}} | ||
+ | * {{clc|No local image but image on Wikidata}} – Used by this and other infoboxes (via [[Template:Wikidata image]]) to track articles where the infobox has no image but [[Wikidata]] has an image name. To exclude articles from this category, update the infobox to display an image or add {{para|nocat_wdimage|yes}}. | ||
== See also == | == See also == | ||
Line 145: | Line 151: | ||
[[Category:Sportsperson infobox templates|Sport wrestler]] | [[Category:Sportsperson infobox templates|Sport wrestler]] | ||
[[Category:Infobox templates with updated parameter]] | [[Category:Infobox templates with updated parameter]] | ||
+ | [[Category:Templates that add a tracking category|{{PAGENAME}}]]<!--via Infobox sportsperson--> | ||
}}</includeonly> | }}</includeonly> |
Revision as of 08:02, 31 January 2017
![]() | 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
![]() | This template uses Lua: |
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 = <!-- "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 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
Tracking categories
- Category:Pages using Infobox sportsperson with unknown parameters (0)
- Category:No local image but image on Wikidata (15) – Used by this and other infoboxes (via Template:Wikidata image) to track articles where the infobox has no image but Wikidata has an image name. To exclude articles from this category, update the infobox to display an image or add
|nocat_wdimage=yes
.
See also