{{Infobox swimmer
| name           = 
| image          = 
| image_size     = <!-- Only for images narrower than 220 pixels -->
| caption        = 
| fullname       = 
| nicknames      = 
| nationality    = <!-- Only for the country (or countries) represented -->
| strokes        = 
| club           = 
| coach          = 
| collegeteam    = 
| birth_date     = {{Birth date and age|yyyy|mm|dd}}
| birth_place    = 
| death_date     = 
| death_place    = 
| height         = {{convert|}} (yyyy)
| weight         = {{convert|}} (yyyy)
| medaltemplates = 
| show-medals    = 
| updated        = 
}}
Parameter Description
name The common name of the swimmer.
image An 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, than indicate the image's respective width in pixels, like this: "imagesize=200".
caption A caption for the image displayed.
fullname The full name of the swimmer.
nicknames The swimmer's common nickname(s) in italics. If there is more than one, list the names alphabetically and separate them with commas.
nationality The swimmer's nationality, i.e., the nation represented in international competition.
strokes The swimmer's primary competitive stroke. If there is more than one, list the strokes alphabetically and separate them by commas.
club The name of the swimming club to which the swimmer belongs.
coach The name of the swimmer's current coach.
collegeteam The name of the college team to which the swimmer belongs or belonged, with the years in parentheses.
birth_date The swimmer's birth date. Use {{Birth date and age|year|month|day}} for living swimmers; use {{Birth date|year|month|day}} for deceased swimmers.
birth_place The swimmer's place of birth. Note that this is not necessarily the same as the swimmer's "hometown."
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.
height The swimmer's height. If he or she is American, put measurements in feet and inches first, then in meters in parentheses. If he or she is not American, place measurements in meters first, then in feet and inches in parentheses. This can be done using the {{convert}} template, like this: "{{convert|6|ft|2|in|m}}", "{{convert|1.70|m|ftin}}".
weight The swimmer's weight. If he or she is American, put measurements in pounds first, then in kilograms in parentheses. If he or she is not American, place measurements in kilograms first, then in pounds in parentheses. This can be done using the {{convert}} template, like this: "{{convert|120|lb|kg}}", "{{convert|72|kg|lb}}".
medaltemplates All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}.

Use the normal order (see the medal templates documentation):
{{MedalSport|[[Swimming (sport)|Men's swimming]]}}
{{MedalCountry|{{SWE}}}}
{{MedalCompetition|[[Swimming at the Summer Olympics|Olympic Games]]}}
{{MedalCompetition|[[FINA World Aquatics Championships|World Championsips (LC)]]}}
{{MedalCompetition|[[FINA World Championships - Short Course|World Championships (SC)]]}}
{{MedalCompetition|[[European LC Championships|European Championships (LC)]]}}
{{MedalCompetition|[[Pan Pacific Swimming Championships|Pan Pacific Championships]]}}
{{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Swimming at the 2008 Summer Olympics|100&nbsp;m freestyle]]}}

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 clicked. Swimmers with large numbers of medals showed probably be toggled "no" in most instances because of the disproportionate amount of article space the extended infobox will require.

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.

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.

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.