Template:Infobox sailor/doc
This is a documentation subpage for Template:Infobox sailor. It may contain usage information, categories and other content that is not part of the original template page. |
The design and content of biographical infoboxes must follow Wikipedia's verifiability policy, as well as infobox and biographical style guideline. All content displayed in this template must adhere to the biographies of living persons policy if applicable. Unsourced or poorly sourced contentious material must be removed immediately from the article and its infobox, especially if potentially libellous. |
This template is a customized wrapper for {{Infobox sportsperson}}. Any field from {{Infobox sportsperson}} can work. It will also emit the same hCard microformat as {{Infobox sportsperson}} . Questions? Just ask here or at Template talk:Infobox sportsperson. |
This template uses Lua: |
Usage
[edit][[File:{{{image}}}|{{{image_size}}}|upright=1]] | |||
Personal information | |||
---|---|---|---|
Native name | {{{native_name}}} | ||
Birth name | {{{birth_name}}} | ||
Full name | {{{full_name}}} | ||
Nickname | {{{nickname}}} | ||
Nationality | {{{nationality}}} | ||
Born | {{{birth_date}}} {{{birth_place}}} | ||
Died | {{{death_date}}} {{{death_place}}} | ||
Height | {{{height}}} | ||
Weight | {{{weight}}} | ||
Spouse | {{{spouse}}} | ||
{{{module}}} | |||
Sailing career | |||
Class | {{{classes}}} | ||
Club | {{{club}}} | ||
College team | {{{collegeteam}}} | ||
Coach | {{{coach}}} | ||
Achievements and titles | |||
Olympic finals | {{{olympics}}} | ||
Paralympic finals | {{{paralympics}}} | ||
World finals | {{{worlds}}} | ||
Regional finals | {{{regionals}}} | ||
National finals | {{{nationals}}} | ||
Medal record
| |||
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 = <!-- use only when necessary per [[WP:INFONAT]] -->
| 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) -->
| spouse =
| module =
<!-- Sailing career -->
| classes =
| club =
| collegeteam =
| coach =
<!-- Achievements and titles -->
| worlds =
| regionals =
| nationals =
| olympics =
| paralympics =
<!-- Medal record -->
| medaltemplates =
| show-medals = yes
| updated =
}}
Parameter descriptions
[edit]This template accepts all parameters that {{Infobox sportsperson}} does, see here for a complete list. A list of commonly-used parameters (including sailor-specific parameters) is below:
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 per WP:INFONAT. 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.
|
spouse | Name of spouse(s), followed by years of marriage. Use the format Name (1950–present) for current spouse and Name (1970–1999) for former spouse(s); for convenience, consider using {{marriage}}. Separate entries using {{Plainlist}} or {{Unbulleted list}}. For deceased persons still married at time of death, close the date range with death year. |
module | Used for embedding other infoboxes into this one. Note: module displays above the Sailing career heading. |
Added parameters for sailors | |
classes | |
club | |
collegeteam | |
coach | |
Achievements and titles | |
worlds | Significant titles the subject has earned at world or regional competitions, and at the Olympic or Paralympic Games, for example:
{{ubl
|'''[[Athletics at the 2008 Summer Paralympics|2008 Summer Paralympics]]''': 200&nbsp;m &ndash; Gold
|'''2008 Summer Paralympics''': 400&nbsp;m &ndash; Silver
}}
or: {{plainlist|
* '''[[Athletics at the 2008 Summer Paralympics|2008 Summer Paralympics]]''': 200&nbsp;m &ndash; Gold
* '''2008 Summer Paralympics''': 400&nbsp;m &ndash; Silver
}}
The string Regional means multi-national, not sub-national; sub-national competition is not notable enough for an infobox. If the sport is not Olympic, then remove the If the subject does not have a disability, then remove the |
regionals | |
nationals | |
olympics | |
paralympics | |
Medal templates / Updated date | |
medaltemplates | All templates from the medal record infobox except {{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
[edit]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
[edit]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
[edit]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
[edit]- Category:Pages using Infobox sailor with unknown parameters (0)
- Category:Pages using Infobox sailor with conflicting parameters (0)
- Category:No local image but image on Wikidata (8,828) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or
|nocat_wdimage=yes
to the infobox.
See also
[edit]