Difference between revisions of "Template:Infobox fencer/doc"
Jump to navigation
Jump to search
(abbr=on) |
imported>GreenComputer m (Replace "his or her" with "their") |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
− | <!-- | + | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
+ | {{Person infobox header}} | ||
+ | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Wikidata|Module:Check for unknown parameters}} | ||
+ | {{Uses Wikidata|P18}} | ||
== Usage == | == Usage == | ||
+ | {{Parameter names example | name | image | image_size | imagesize | alt | caption | native_name | full_name | nickname | country | formercountry | birth_name | birth_date | birth_place | death_date | death_place | residence | height | weight | website | training | weapon | hand | natlteam | natlcoach | club | headcoach | assistcoach | formercoach | perscoach | retired | disability_class | highest_rank | current_rank | fieranking | domesticranking | medaltemplates | show-medals }} | ||
− | < | + | <pre style="overflow: auto;"> |
− | + | {{Infobox fencer | |
− | {{Infobox fencer | + | | name = {{subst:PAGENAMEBASE}} |
− | | name | + | | image = |
− | | image | + | | image_size = |
− | | image_size | + | | alt = |
− | | caption | + | | caption = |
− | | | + | | native_name = |
− | | | + | | native_name_lang = |
− | | | + | | full_name = <!-- if different --> |
− | | | + | | nickname = |
− | | birth_date | + | | birth_name = <!-- if different --> |
− | | birth_place | + | | birth_date = <!-- {{birth date and age|YYYY|MM|DD}} --> |
− | | death_date | + | | birth_place = |
− | | death_place | + | | death_date = |
− | | residence | + | | death_place = |
− | | | + | | residence = |
− | | | + | | height = <!-- "X cm" or "X ft Y in" (auto conversion) --> |
− | + | | weight = <!-- "X kg" or "X lb" (automatic conversion) --> | |
− | | | + | | website = <!-- {{URL|example.com}} --> |
− | | | + | | country = |
− | | natlteam | + | | formercountry = |
− | | natlcoach | + | | training = |
− | | club | + | | weapon = |
− | | headcoach | + | | hand = |
− | | assistcoach | + | | natlteam = |
− | | formercoach | + | | natlcoach = |
− | | perscoach | + | | club = |
− | | retired | + | | headcoach = |
− | | fieranking | + | | assistcoach = |
− | | domesticranking= | + | | formercoach = |
− | | medaltemplates = <!-- see [[Template:MedalRelatedTemplates]] --> | + | | perscoach = |
+ | | retired = | ||
+ | | disability_class = | ||
+ | | highest_rank = | ||
+ | | current_rank = | ||
+ | | fieranking = <!-- [http://www.fie.ch/Competitions/FencerDetail.aspx?param=8982B84CC31351DE73B0F1466C3010AC Current ranking] --> | ||
+ | | domesticranking = <!-- [http://www.domestic.url Domestic ranking] --> | ||
+ | | medaltemplates = <!-- see [[Template:MedalRelatedTemplates]] --> | ||
}} | }} | ||
</pre> | </pre> | ||
− | + | {{clear}} | |
== Parameters == | == Parameters == | ||
Line 44: | Line 55: | ||
! style="text-align: left" | Parameter | ! style="text-align: left" | Parameter | ||
! style="text-align: left" | Explanation | ! style="text-align: left" | Explanation | ||
− | |- | + | |- |
| name | | name | ||
− | | The professional name or most common name of the person. This should be the name of the article. Use <nowiki>{{subst: | + | | The professional name or most common name of the person. This should be the name of the article. Use <nowiki>{{subst:PAGENAMEBASE}}</nowiki> to use the name of the article. |
|- | |- | ||
| image | | image | ||
− | | Use ''<nowiki>Image name here.jpg</nowiki>'' instead of ''<nowiki> | + | | Use ''<nowiki>Image name here.jpg</nowiki>'' instead of ''<nowiki>File:Image name here.jpg</nowiki>'' or ''<nowiki>[[File:Image name here.jpg]]</nowiki>'' |
|- | |- | ||
| image_size | | image_size | ||
| Strictly define the size of the image. | | Strictly define the size of the image. | ||
+ | |- | ||
+ | | alt | ||
+ | | Alternative text for image, for visually impaired readers (see [[WP:ALT]]) | ||
|- | |- | ||
| caption | | caption | ||
| Caption for the image. | | Caption for the image. | ||
|- | |- | ||
− | | | + | ! colspan="2" | Personal information |
− | | The | + | |- |
+ | | native_name | ||
+ | | The person's name in their [[native language]], if different than '''name'''. | ||
|- | |- | ||
− | |nickname | + | | native_name_lang |
+ | | [[ISO 639-2]] code, ''e.g.'', "fre" or "fra" for French. If more than one, use {{tl|lang}} in {{para|native_name}} instead. | ||
+ | |- | ||
+ | | full_name | ||
+ | | The full name of the fencer, if different than '''name''', including full first name, middle name, patronymics, ordinals, suffixes, et cetera. | ||
+ | |- | ||
+ | | nickname | ||
| Official nickname, if they have one. Do not use fan nicknames. | | Official nickname, if they have one. Do not use fan nicknames. | ||
|- | |- | ||
− | | | + | | birth_name |
− | | | + | | The birth name of the fencer, if different than '''name''' and '''full_name'''. |
|- | |- | ||
− | + | | birth_date | |
− | + | | Use <nowiki>{{birth date and age|year of birth|month of birth|day of birth}}</nowiki> if living or <nowiki>{{birth date|year of birth|month of birth|day of birth}}</nowiki> if dead. See [[:Template:Birth date]] for details. | |
− | |||
− | |birth_date | ||
− | | Use <nowiki>{{birth date and age|year of birth|month of birth|day of birth}}</nowiki> if living or <nowiki>{{birth date|year of birth|month of birth|day of birth}}</nowiki> if dead. See [[:Template:Birth date]] for details. | ||
|- | |- | ||
| birth_place | | birth_place | ||
Line 83: | Line 102: | ||
| residence | | residence | ||
| Official residence. Use if different from birth place. | | Official residence. Use if different from birth place. | ||
+ | |- | ||
+ | | height | ||
+ | | The fencer's [[Human height|height]]. Use "X cm" or "X ft Y in". The infobox will automatically display the appropriate conversion. | ||
+ | : <code><nowiki>| height = 5 ft 10 in</nowiki></code> → 5 ft 10 in (178 cm) | ||
+ | : <code><nowiki>| height = 180 cm</nowiki></code> → 180 cm (5 ft 11 in) | ||
+ | |- | ||
+ | | weight | ||
+ | | The fencer's [[Human body weight|weight]]. Use "X kg" or "X lb". The infobox will automatically display the appropriate conversion. | ||
+ | : <code><nowiki>| weight = 130 lb</nowiki></code> → 130 lb (59 kg) | ||
+ | : <code><nowiki>| weight = 60 kg</nowiki></code> → 60 kg (132 lb) | ||
+ | |- | ||
+ | | website | ||
+ | | Official website only. Unofficial websites should be placed under <code><nowiki>==External links==</nowiki></code> in the body of the article. Use {{tl|URL}}. | ||
+ | |- | ||
+ | ! colspan="2" | Sport | ||
+ | |- | ||
+ | | country | ||
+ | | Country represented in competition. | ||
+ | |- | ||
+ | | formercountry | ||
+ | | Country or countries that the person used to represent in competition. Put the years, if known, in parenthesis after the country. | ||
|- | |- | ||
| training | | training | ||
Line 92: | Line 132: | ||
| hand | | hand | ||
| Weapon hand | | Weapon hand | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| natlteam | | natlteam | ||
− | | Year since | + | | Year since fencer is on national team or (year – year) if in a past |
|- | |- | ||
| natlcoach | | natlcoach | ||
| National Coach | | National Coach | ||
|- | |- | ||
− | |club | + | | club |
− | | Current or last club for | + | | Current or last club for a fencer |
|- | |- | ||
− | |headcoach | + | | headcoach |
| Current or last head coach | | Current or last head coach | ||
|- | |- | ||
− | |assistcoach | + | | assistcoach |
| Current or last assistant coach(es) | | Current or last assistant coach(es) | ||
|- | |- | ||
− | |formercoach | + | | formercoach |
| Former coach or coaches | | Former coach or coaches | ||
|- | |- | ||
− | |perscoach | + | | perscoach |
| Personal coach(es), as opposed to national and club coaches | | Personal coach(es), as opposed to national and club coaches | ||
|- | |- | ||
− | |retired | + | | retired |
− | | Year when | + | | Year when fencer has retired |
+ | |- | ||
+ | | disability_class | ||
+ | | A or B (see [[wheelchair fencing]]) | ||
+ | |- | ||
+ | | highest_rank | ||
+ | | | ||
+ | |- | ||
+ | | current_rank | ||
+ | | | ||
|- | |- | ||
− | |fieranking | + | | fieranking |
− | | To obtain | + | | To obtain fencer's results URL navigate to http://www.fie.ch/Competitions/Ranking.aspx , select correct Category, Weapon, Gender and Nationality for a fencer, latest year, individual event from drop down boxes. The search will not return results if any of the drop downs have incorrect values. Once the fencer is found, click on the provided link and new window will be open. Use the URL form this new window, where ‘param’ value is a n unique fencer identifier in FIE database, e.g. http://www.fie.ch/Competitions/FencerDetail.aspx?param=8982B84CC31351DE73B0F1466C3010AC |
|- | |- | ||
− | |domesticranking | + | | domesticranking |
| Link to current domestic ranking | | Link to current domestic ranking | ||
|- | |- | ||
− | | | + | ! colspan="2" | Medal templates |
− | |||
|- | |- | ||
+ | | medaltemplates | ||
+ | | All templates from the medal record infobox except <nowiki>{{MedalTableTop}}</nowiki> and <nowiki>{{MedalBottom}}</nowiki>. This section can be collapsed. Use normal order for medal templates. See the [[Template:Medal templates documentation|medal templates documentation]] for more details. | ||
|} | |} | ||
== Microformat == | == Microformat == | ||
{{UF-hcard-person}} | {{UF-hcard-person}} | ||
− | <includeonly> | + | |
− | <!-- | + | == Tracking categories == |
+ | * {{clc|Pages using Infobox fencer with unknown parameters}} | ||
+ | |||
+ | <includeonly>{{sandbox other|| | ||
+ | <!-- Categories below this line; interwikis at Wikidata --> | ||
+ | [[Category:Fencing templates]] | ||
[[Category:Sportsperson infobox templates|Fencer]] | [[Category:Sportsperson infobox templates|Fencer]] | ||
− | </includeonly> | + | [[Category:Biographical templates usable as a module|Fencer]] |
+ | [[Category:Infobox templates using Wikidata]] | ||
+ | [[Category:Templates that add a tracking category]] | ||
+ | }}</includeonly> |
Latest revision as of 08:40, 7 April 2020
![]() | This is a documentation subpage for Template:Infobox fencer. It contains usage information, categories and other content that is not part of the original template page. |
Template:Person infobox header
![]() | This template uses Lua: |
Usage
Template:Parameter names example
{{Infobox fencer | name = {{subst:PAGENAMEBASE}} | image = | image_size = | alt = | caption = | native_name = | native_name_lang = | full_name = <!-- if different --> | nickname = | birth_name = <!-- if different --> | birth_date = <!-- {{birth date and age|YYYY|MM|DD}} --> | birth_place = | death_date = | death_place = | residence = | height = <!-- "X cm" or "X ft Y in" (auto conversion) --> | weight = <!-- "X kg" or "X lb" (automatic conversion) --> | website = <!-- {{URL|example.com}} --> | country = | formercountry = | training = | weapon = | hand = | natlteam = | natlcoach = | club = | headcoach = | assistcoach = | formercoach = | perscoach = | retired = | disability_class = | highest_rank = | current_rank = | fieranking = <!-- [http://www.fie.ch/Competitions/FencerDetail.aspx?param=8982B84CC31351DE73B0F1466C3010AC Current ranking] --> | domesticranking = <!-- [http://www.domestic.url Domestic ranking] --> | medaltemplates = <!-- see [[Template:MedalRelatedTemplates]] --> }}
Parameters
Parameter | Explanation |
---|---|
name | The professional name or most common name of the person. This should be the name of the article. Use {{subst:PAGENAMEBASE}} to use the name of the article. |
image | Use Image name here.jpg instead of File:Image name here.jpg or [[File:Image name here.jpg]] |
image_size | Strictly define the size of the image. |
alt | Alternative text for image, for visually impaired readers (see WP:ALT) |
caption | Caption for the image. |
Personal information | |
native_name | The person's name in their native language, if different than name. |
native_name_lang | ISO 639-2 code, e.g., "fre" or "fra" for French. If more than one, use {{lang}} in |native_name= instead.
|
full_name | The full name of the fencer, if different than name, including full first name, middle name, patronymics, ordinals, suffixes, et cetera. |
nickname | Official nickname, if they have one. Do not use fan nicknames. |
birth_name | The birth name of the fencer, if different than name and full_name. |
birth_date | Use {{birth date and age|year of birth|month of birth|day of birth}} if living or {{birth date|year of birth|month of birth|day of birth}} if dead. See Template:Birth date for details. |
birth_place | Place of Birth |
death_date | Use {{Death date and age|1993|2|24|1941|4|12|mf=yes}} if exact date of death is known. See Template:Death date and age for details |
death_place | Place of Death |
residence | Official residence. Use if different from birth place. |
height | The fencer's height. Use "X cm" or "X ft Y in". The infobox will automatically display the appropriate conversion.
|
weight | The fencer's weight. Use "X kg" or "X lb". The infobox will automatically display the appropriate conversion.
|
website | Official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}}.
|
Sport | |
country | Country represented in competition. |
formercountry | Country or countries that the person used to represent in competition. Put the years, if known, in parenthesis after the country. |
training | Training location. Use if different from residence or birthplace. |
weapon | Weapon or weapons |
hand | Weapon hand |
natlteam | Year since fencer is on national team or (year – year) if in a past |
natlcoach | National Coach |
club | Current or last club for a fencer |
headcoach | Current or last head coach |
assistcoach | Current or last assistant coach(es) |
formercoach | Former coach or coaches |
perscoach | Personal coach(es), as opposed to national and club coaches |
retired | Year when fencer has retired |
disability_class | A or B (see wheelchair fencing) |
highest_rank | |
current_rank | |
fieranking | To obtain fencer's results URL navigate to http://www.fie.ch/Competitions/Ranking.aspx , select correct Category, Weapon, Gender and Nationality for a fencer, latest year, individual event from drop down boxes. The search will not return results if any of the drop downs have incorrect values. Once the fencer is found, click on the provided link and new window will be open. Use the URL form this new window, where ‘param’ value is a n unique fencer identifier in FIE database, e.g. http://www.fie.ch/Competitions/FencerDetail.aspx?param=8982B84CC31351DE73B0F1466C3010AC |
domesticranking | Link to current domestic ranking |
Medal templates | |
medaltemplates | All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}. This section can be collapsed. Use normal order for medal templates. See the medal templates documentation for more details. |
Microformat
Tracking categories