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

From blackwiki
Jump to navigation Jump to search
imported>Warmuz
m (+iw)
imported>Tommy Kronkvist
(XHTML conformance: changed <br> to <br/>.)
Line 34: Line 34:
 
!width=80%|Description
 
!width=80%|Description
 
|-
 
|-
|align=center|'''name'''<br>or '''swimmername'''
+
|align=center|'''name'''<br/>or '''swimmername'''
 
|The common name of the sportsperson.
 
|The common name of the sportsperson.
 
|-
 
|-
 
|align=center|'''image'''
 
|align=center|'''image'''
|An image of the sportsperson. Type the name of the image file without adding "<tt>Image:</tt>" before it or [[Help:Link|wikilinking]] it. If no image is available yet, "<tt>Replace this image.svg</tt>", "<tt>Replace this image female.svg</tt>" or "<tt>Replace this image male.svg</tt>" can be used.
+
|An image of the sportsperson. Type the name of the image file without adding "<tt>Image:</tt>" or "<tt>File:</tt>" before it, nor [[Help:Link|wikilinking]] it. If no image is available yet, "<tt>Replace this image.svg</tt>", "<tt>Replace this image female.svg</tt>" or "<tt>Replace this image male.svg</tt>" can be used.
 
|-
 
|-
 
|align=center|'''imagesize'''
 
|align=center|'''imagesize'''
Line 84: Line 84:
 
|align=center|'''medaltemplates'''
 
|align=center|'''medaltemplates'''
 
|All templates from the medal record infobox except {{tl|MedalTableTop}} and {{tl|MedalBottom}}.
 
|All templates from the medal record infobox except {{tl|MedalTableTop}} and {{tl|MedalBottom}}.
Use the normal order (see {{tl|MedalRelatedTemplates}}):<br>
+
Use the normal order (see {{tl|MedalRelatedTemplates}}):<br/>
<tt><nowiki>{{MedalSport|[[swimming#competitive swimming|Men's swimming]]}}</nowiki><br>
+
<tt><nowiki>{{MedalSport|[[swimming#competitive swimming|Men's swimming]]}}</nowiki><br/>
<nowiki>{{MedalCountry|{{SWE}}}}</nowiki><br>
+
<nowiki>{{MedalCountry|{{SWE}}}}</nowiki><br/>
<nowiki>{{MedalCompetition|[[Swimming at the Summer Olympics|Olympic Games]]}}</nowiki><br>
+
<nowiki>{{MedalCompetition|[[Swimming at the Summer Olympics|Olympic Games]]}}</nowiki><br/>
<nowiki>{{MedalCompetition|[[FINA World Aquatics Championships|World Championsips (LC)]]}}</nowiki><br>
+
<nowiki>{{MedalCompetition|[[FINA World Aquatics Championships|World Championsips (LC)]]}}</nowiki><br/>
<nowiki>{{MedalCompetition|[[FINA World Championships - Short Course|World Championships (SC)]]}}</nowiki><br>
+
<nowiki>{{MedalCompetition|[[FINA World Championships - Short Course|World Championships (SC)]]}}</nowiki><br/>
<nowiki>{{MedalCompetition|[[European LC Championships|European Championships (LC)]]}}</nowiki><br>
+
<nowiki>{{MedalCompetition|[[European LC Championships|European Championships (LC)]]}}</nowiki><br/>
<nowiki>{{MedalCompetition|[[Pan Pacific Swimming Championships|Pan Pacific Championships]]}}</nowiki><br>
+
<nowiki>{{MedalCompetition|[[Pan Pacific Swimming Championships|Pan Pacific Championships]]}}</nowiki><br/>
 
<nowiki>{{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Swimming at the 2008 Summer Olympics|100&#38;nbsp;m freestyle]]}}</nowiki></tt>
 
<nowiki>{{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Swimming at the 2008 Summer Olympics|100&#38;nbsp;m freestyle]]}}</nowiki></tt>
 
|-
 
|-

Revision as of 05:02, 14 August 2010

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|yyyy|mm|dd}}
| 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:" or "File:" before it, nor 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.
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|year|month|day}} for living sportspersons.
birthplace The sportsperson's place of birth.
deathdate The sportsperson's death date, if applicable. Use {{death date and age|death year|death month|death day|birth year|birth month|birth day}}.
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