Skabelon:Infobox swimmer

Fra Wikipedia, den frie encyklopædi
Spring til navigation Spring til søgning
Documentation icon Skabelondokumentation[vis] [redigér] [historik] [opfrisk]

Denne skabelon bruger Infobox sportsperson

Intended uses[redigér wikikode]

This infobox template is intended to be used in articles about current and former competition swimmers. This infobox template is not intended to be used for articles about former competition swimmers who are primarily notable as competition swimming coaches. Articles about American college swimming coaches use Template:Infobox college coach, the uniform template for college coaches in all American college sports. Infobox college coach may be adapted for swimming coaches of other nationalities; if it is inappropriate for other coaches for any reason, consider using Template:Infobox person.

Skabelon[redigér wikikode]

Infobox swimmer
Personlig information
Fødselsnavn {{{birth_name}}}
Fulde navn {{{fullname}}}
Landshold {{{national_team}}}
Født {{{birth_date}}}
Død {{{death_date}}}
Sport Svømning
Kaldenavn(e) {{{nickname}}}
Højde {{{height}}}
Vægt {{{weight}}}
Svømmeart {{{strokes}}}
Klassifikation {{{classification}}}
Klub {{{club}}}
College hold {{{collegeteam}}}
Træner {{{coach}}}
{{Infobox swimmer
| name           = 
| image          = <!-- Only free-content images are allowed for depicting living people -- see [[WP:NONFREE]]. -->
| image_size     = <!-- Only for images narrower than 220 pixels -->
| alt            = 
| caption        = 
| fullname       = 
| nicknames      = 
| nationality    = 
| national_team  = <!-- Only for the country represented in international competition. -->
| birth_name     = 
| birth_date     = {{Birth date and age|yyyy|mm|dd}}
| birth_place    = 
| death_date     = 
| death_place    = 
| height         = {{convert|}} (yyyy)
| weight         = {{convert|}} (yyyy)
| strokes        = 
| classification = <!-- Only for para-swimmers only; omitted otherwise. -->
| club           = 
| collegeteam    = 
| coach          = 
| medaltemplates = 
| show-medals    = 

Parameter instructions[redigér wikikode]

Parameter Description
name The common name of the swimmer.
image A photograph of the swimmer. Type the name of the image file without adding "Image:" or "File:" before it, nor wikilinking it.
image_size The image size. Only use this parameter if the image is less than 220 pixels in width. If so, then indicate the image's respective width in pixels, like this: "image_size=200".
alt Alternative text describing the image displayed for visually impaired readers.
caption A brief caption for the image displayed.
fullname The full name of the swimmer.
nickname The swimmer's common nickname(s) set off with quote marks. If there is more than one nickname, list the names alphabetically and separate them with commas.
nationality The swimmer's nationality. Complicated situations of nationality and multiple citizenship should be explained in the main body text of the article, if relevant, not in the infobox. If the swimmer has competed in international championships such as the Olympics, FINA world championships, Commonwealth Games, Pan American Games, and Pan Pacific Championships, use the "national team" parameter instead of the "nationality" parameter.
national_team The national swimming team for which the swimmer competes in international events. If the "national team" parameter is invoked, the "nationality" parameter is excluded. This parameter is only used for swimmers who have represented their country as a member of their national team in international competition such as the Olympic Games, FINA world championships, Commonwealth Games, Pan American Games, and Pan Pacific Championships. A flag icon, representing the swimmer's national team, is used in this parameter; for example, "{{USA}}", renders a 7-pixel U.S. flag and the words "United States".
birth_name The birth name of the subject.
birth_date The swimmer's birth date. Use {{Birth date and age|yyyy|mm|dd}} for living swimmers; use {{Birth date|yyyy|mm|dd}} for deceased swimmers.
birth_place The swimmer's place of birth. Note that this is not necessarily the same as the swimmer's "hometown." Birth place should be wiki-linked to the Wikipedia article about the town or city where the swimmer was born.
death_date The swimmer's death date, if applicable. Use {{Death date and age|death year|death month|death day|birth year|birth month|birth day}}.
death_place The swimmer's place of death, if applicable. Death place should be wiki-linked to the Wikipedia article about the town or city where the swimmer died.
height The swimmer's height. If the swimmer is American, state measurements in feet and inches first, then in meters in parentheses. If the swimmer is not American, state measurements in meters first, then in feet and inches in parentheses. This should be done using the {{convert}} template, like this: "{{convert|6|ft|2|in|m|abbr=on}}" or "{{convert|1.70|m|ftin|abbr=on}}".
weight The swimmer's weight. If the swimmer is American, state measurements in pounds first, then in kilograms in parentheses. If the swimmer is not American, state measurements in kilograms first, then in pounds in parentheses. This should be done using the {{convert}} template, like this: "{{convert|120|lb|kg|abbr=on}}" or "{{convert|72|kg|lb|abbr=on}}".
Added parameters for swimmers
strokes The swimmer's primary competitive stroke. If there is more than one stroke, list them alphabetically and separate them by commas. Strokes should be wiki-linked to the relevant Wikipedia articles.
classification The swimmer's disability swimming classifications. For para-swimmers only.
club The name of the swimming club to which the swimmer belongs.
collegeteam The name of the college team to which the swimmer belongs or belonged. The college team should be wiki-linked to the Wikipedia article about the college team or sports program.
coach The name of the swimmer's current coach, if the coach is notable per WP:N or otherwise noteworthy within the national or international swimming community. The swimmer's coach may be wiki-linked if a Wikipedia article about the coach exists.
Parameters for medal templates
medaltemplates All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}.

Use the normal order (see the medal templates documentation):
{{MedalSport | Men's swimming}}
{{MedalCountry | Sweden}}
{{MedalCompetition | [[Swimming at the Summer Olympics|Olympic Games]]}}
{{MedalCompetition | [[FINA World Aquatics Championships|World Championsips (LC)]]}}
{{MedalCompetition | [[FINA World Swimming Championships (25 m)|World Championships (SC)]]}}
{{MedalCompetition | [[LEN European Aquatics Championships|European Championships (LC)]]}}
{{MedalCompetition | [[Pan Pacific Swimming Championships|Pan Pacific Championships]]}}
{{MedalGold | [[2008 Summer Olympics|2008 Beijing]] | [[Swimming at the 2008 Summer Olympics – Men's 100 metre freestyle|100 m freestyle]]}}
{{MedalSilver | 2008 Beijing | [[Swimming at the 2008 Summer Olympics – Men's 4 × 100 metre freestyle relay|4×100 m freestyle]]}}
{{MedalBronze | 2008 Beijing | [[Swimming at the 2008 Summer Olympics – Men's 100 metre butterfly|100 m butterfly]]}}

show-medals If "show-medals=yes", the medal table is displayed. Otherwise, it is hidden and will only be showed if the "show" link is used. It is recommended for swimmers with large numbers of medals that this parameter should be toggled "no" because of the disproportionate amount of article space the extended infobox will require.

Example[redigér wikikode]

The following example is taken from the Good Article for Dara Torres, and employs most of the available optional parameters for a living swimmer.

Infobox swimmer
Dara Torres 2crop.jpg
Torres waves to crowd after winning silver medal in 50-meter freestyle at 2008 Summer Olympics.
Personlig information
Fulde navn Dara Grace Torres
Landshold USA USA
Født 15. april 1967 (52 år)
Beverly Hills, Californien
Sport Svømning
Kaldenavn(e) "DT"
Højde 5 ft 11 in (1,80 m)
Vægt 150 lb (68 kg)
Svømmeart Butterfly, freestyle
Klub Culver City Swim Club
College hold University of Florida

Microformat[redigér wikikode]

Fra engelsk Wikipedia: 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[redigér wikikode]

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[redigér wikikode]

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.

Se også[redigér wikikode]