Template:Infobox sailor/doc

From IxWiki
Jump to navigation Jump to search

Usage

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|upright=1.1]]
{{{caption}}}
Personal information
Native name{{{native_name}}}
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}}}
Sailing career
Class(es){{{classes}}}
Club{{{club}}}
College team{{{collegeteam}}}
Coach{{{coach}}}
Updated on {{{updated}}}.

Copy and paste the template below:

{{Infobox sailor
| name             = 
| image            = 
| image_size       = 
| caption          = 
| native_name      = 
| native_name_lang = 
| birth_name       = <!-- if different than name -->
| full_name        = <!-- if different than name or birth_name -->
| 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          = 
}}

Parameter descriptions

Parameter Description
name The short or common name of the sailor. If this parameter is omitted, the name of the article is used.
image An image of the sailor. 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 sailor, if different than name.
full_name The full name of the sailor, if different than name or birth_name.
nickname The sailor's common nickname(s). If there is more than one, list the names alphabetically and separate them with commas.
nationality The sailor'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 sailor'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 sailor's place of birth. Do not use a flag template.
death_date The sailor'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 sailor's place of death, if applicable. Do not use a flag template.
height The sailor's height, if relevant, 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 sailor's weight, if relevant, 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 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}} 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

See also