Difference between revisions of "Template:Infobox swimmer/doc"
Jump to navigation
Jump to search
imported>Locos epraix m (interwiki) |
(rv, no consensus for massive change across multiple infoboxes. nothing wrong with birth date template, and new template has unclear syntax.) |
||
| Line 17: | Line 17: | ||
| club = | | club = | ||
| collegeteam = | | collegeteam = | ||
| − | | birthdate = {{ | + | | birthdate = {{birth date and age|yyyy|mm|dd}} |
| birthplace = | | birthplace = | ||
| deathdate = | | deathdate = | ||
| Line 65: | Line 65: | ||
|- | |- | ||
|align=center|'''birthdate''' | |align=center|'''birthdate''' | ||
| − | |The sportsperson's birth date. Use {{tlx| | + | |The sportsperson's birth date. Use {{tlx|birth date and age|year|month|day}} 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| | + | |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}}. |
|- | |- | ||
|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 18:21, 14 March 2009
| This is a documentation subpage for Template:Infobox swimmer. It contains usage information, categories and other content that is not part of the original template page. |
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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:" 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|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}}): |
| 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