Difference between revisions of "Template:Infobox swimmer/doc"

From blackwiki
Jump to navigation Jump to search
(rv, no consensus for massive change across multiple infoboxes. nothing wrong with birth date template, and new template has unclear syntax.)
imported>J JMesserly
(This change has concensus, please refer to Manual of Style birth and death date template guidance and talk page discussions.)
Line 17: Line 17:
 
| club          =  
 
| club          =  
 
| collegeteam    =  
 
| collegeteam    =  
| birthdate      = {{birth date and age|yyyy|mm|dd}}
+
| birthdate      = {{Birth-date and age| birth date }}
 
| birthplace    =  
 
| birthplace    =  
 
| deathdate      =  
 
| deathdate      =  
Line 65: Line 65:
 
|-
 
|-
 
|align=center|'''birthdate'''
 
|align=center|'''birthdate'''
|The sportsperson's birth date.  Use {{tlx|birth date and age|year|month|day}} for living sportspersons.
+
|The sportsperson's birth date.  Use {{tlx|Birth-date and age| birth date }} for living sportspersons.
 
|-
 
|-
 
|align=center|'''birthplace'''
 
|align=center|'''birthplace'''
Line 71: Line 71:
 
|-
 
|-
 
|align=center|'''deathdate'''
 
|align=center|'''deathdate'''
|The sportsperson's death date, if applicable. Use {{tlx|death date and age|death year|death month|death day|birth year|birth month|birth day}}.
+
|The sportsperson's death date, if applicable. Use {{tlx|Death-date and age| death date | birth date }}.
 
|-
 
|-
 
|align=center|'''deathplace'''
 
|align=center|'''deathplace'''
Line 105: Line 105:
 
[[Category:Sportsperson infobox templates|Swimmer]]
 
[[Category:Sportsperson infobox templates|Swimmer]]
 
[[Category:Swimming infobox templates|Swimmer]]
 
[[Category:Swimming infobox templates|Swimmer]]
 +
 
[[es:Plantilla:Ficha de nadador]]
 
[[es:Plantilla:Ficha de nadador]]
 
[[hr:Predložak:Infokvir plivač]]
 
[[hr:Predložak:Infokvir plivač]]
 
[[ja:Template:Infobox Swimmer]]
 
[[ja:Template:Infobox Swimmer]]
 
</includeonly>
 
</includeonly>

Revision as of 01:55, 15 March 2009

Template

{{Infobox Swimmer
| name           = 
| image          = 
| imagesize      = <!-- Only for images narrower than 220 pixels -->
| caption        = 
| fullname       = 
| nicknames      = 
| nationality    = 
| strokes        = 
| club           = 
| collegeteam    = 
| birthdate      = {{Birth-date and age| birth date }}
| birthplace     = 
| deathdate      = 
| deathplace     = 
| height         = {{convert|}} (yyyy)
| weight         = {{convert|}} (yyyy)
| medaltemplates = 
| show-medals    = 
}}

Parameters

Parameter Description
name
or swimmername
The common name of the sportsperson.
image An image of the sportsperson. Type the name of the image file without adding "Image:" before it or wikilinking it. If no image is available yet, "Replace this image.svg", "Replace this image female.svg" or "Replace this image male.svg" can be used.
imagesize 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=200px".
caption A caption for the image displayed.
fullname The full name of the sportsperson.
nicknames The sportsperson's common nickname(s) in italics. If there is more than one, list the names alphabetically and separate them with commas.
nationality The sportsperson's nationality. Do not use a flag template such as {{flagcountry}} or {{flagicon}} here: see "Wikipedia:Manual of Style (icons)#Flags".
strokes The sportsperson'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 the sportsperson belongs to.
collegeteam The name of the college team the sportsperson belongs or belonged to, with the years in parentheses.
birthdate The sportsperson's birth date. Use {{Birth-date and age| birth date}} for living sportspersons.
birthplace The sportsperson's place of birth.
deathdate The sportsperson's death date, if applicable. Use {{Death-date and age| death date| birth date}}.
deathplace The sportsperson's place of death, if applicable.
height The sportsperson'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|ft in}}".
weight The sportsperson'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 {{MedalRelatedTemplates}}):
{{MedalSport|[[swimming#competitive swimming|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.

Microformat

Template:UF-hcard-person