Template:Infobox fencer/doc

From IxWiki
Revision as of 03:40, 7 April 2020 by >GreenComputer (Replace "his or her" with "their")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Personal information
Native name{{{native_name}}}
Full name{{{full_name}}}
Nickname(s){{{nickname}}}
Born{{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Residence{{{residence}}}
Height{{{height}}}
Weight{{{weight}}}
Website{{{website}}}
Sport
Country{{{country}}}
Former country{{{formercountry}}}
Training location{{{training}}}
SportFencing
Weapon{{{weapon}}}
Hand{{{hand}}}
Years on national team{{{natlteam}}}
National coach{{{natlcoach}}}
Club{{{club}}}
Head coach{{{headcoach}}}
Assistant coach{{{assistcoach}}}
Former coach{{{formercoach}}}
Personal coach{{{perscoach}}}
Retired{{{retired}}}
Disability class{{{disability_class}}}
Highest ranking{{{highest_rank}}}
Current ranking{{{current_rank}}}
FIE ranking{{{fieranking}}}
Domestic ranking{{{domesticranking}}}
{{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.
| height = 5 ft 10 in → 5 ft 10 in (178 cm)
| height = 180 cm → 180 cm (5 ft 11 in)
weight The fencer's weight. Use "X kg" or "X lb". The infobox will automatically display the appropriate conversion.
| weight = 130 lb → 130 lb (59 kg)
| weight = 60 kg → 60 kg (132 lb)
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

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