Template:Infobox sailor/doc

From blackwiki
< Template:Infobox sailor
Revision as of 19:14, 18 August 2017 by imported>Zyxw (update example and documentation)
Jump to navigation Jump to search

Template:Uses Infobox sportsperson

Template:Tracks Wikidata

Usage

Template:Parameter names example

Copy and paste the template below:

{{Infobox sailor
| name             = 
| image            = 
| image_size       = 
| caption          = 
| native_name      = 
| native_name_lang = 
| birth_name       = 
| fullname         = 
| nickname         = 
| nationality      = 
| birth_date       = {{Birth date and age|YYYY|MM|DD|df=yes}}
| birth_place      = 
| death_date       = <!-- {{death date and age|death year|death month|death day|birth year|birth month|birth day}} -->
| 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) -->
| classes          = 
| club             = 
| collegeteam      = 
| coach            = 
| medaltemplates   = 
| show-medals      = yes
| updated          = <!-- {{subst:Date}} or {{subst:Date|2=mdy}} -->
}}

Parameter descriptions

Parameter Description
name The short or common name of the subject. If this parameter is omitted, the name of the article is used.
image An image of the subject. Type the name of the image file without adding File: before it or wikilinking it. If no image is available yet, do not use an image placeholder.
image_size The image size. Only use this parameter if the image is less than 220 pixels in width. If so, than indicate the image's respective width in pixels, like this: image_size=200px.
alt Alt text for the image displayed.
caption A caption for the image displayed.
native_name The person's name in their native language, if different than name.
native_name_lang ISO 639 language code for the native name.
birth_name The birth name of the subject, if different than name.
fullname The full name of the subject, if different than name.
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. For living people, use {{birth date and age}} or {{birth-date and age}}. For dead people, use {{birth date}} or {{birth-date}}.
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}} or {{death-date and age}}. If the date of birth is unknown, use {{death date}} or {{death-date}}
death_place The subject's place of death, if applicable. Do not use a flag template.
height The subject's height, if relevant.
weight The subject's weight, if relevant.
Added parameters for sailors
classes
club
collegeteam
coach
Medal templates / Updated date
medaltemplates All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}. Set out the medal templates in the order stated in the medal templates documentation, and arrange the competitions alphabetically by name.

{{MedalSport|Women's [[Sailing at the Summer Olympics|sailing]]}}
{{MedalCountry|{{NOR}}}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalGold|[[2004 Summer Olympics|2004 Athens]]|[[Sailing at the 2004 Summer Olympics – Europe class|Europe class]]}}
{{MedalCompetition|[[World Championship]]}}
{{MedalGold|2004 [[Cagliari]] | [[Europe class]]}}
{{MedalCompetition|[[European Championship]]}}
{{MedalGold| 2003 [[Palma de Mallorca]] | [[Europe class]]}}
show-medals If show-medals=yes, the medal table is displayed. By default, it is collapsed and will only be expanded if the "show" link is clicked.
updated Date information was updated (use {{subst:Date}} for the current date).

Microformat

Template:UF-hcard-person

Tracking categories

See also