Difference between revisions of "Template:Infobox sportsperson/doc"
(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 15: | Line 15: | ||
| nickname = | | nickname = | ||
| nationality = | | nationality = | ||
| − | | birthdate = {{ | + | | birthdate = {{Birth-date and age| birth date }} |
| birthplace = | | birthplace = | ||
| deathdate = | | deathdate = | ||
| Line 74: | Line 74: | ||
|- | |- | ||
|align=center|'''birthdate''' | |align=center|'''birthdate''' | ||
| − | |The sportsperson's birth date. Use {{tlx| | + | |The sportsperson's birth date. Use {{tlx|Birth-date and age| birth date }} for living sportspersons. |
|- | |- | ||
|align=center|'''birthplace''' | |align=center|'''birthplace''' | ||
| Line 80: | Line 80: | ||
|- | |- | ||
|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 date | birth date }}. |
|- | |- | ||
|align=center|'''deathplace''' | |align=center|'''deathplace''' | ||
Revision as of 01:57, 15 March 2009
| This is a documentation subpage for Template:Infobox sportsperson. 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 Sportsperson
| headercolor =
| name =
| image =
| imagesize = <!--Only for images narrower than 220 pixels.-->
| caption =
| fullname =
| nickname =
| nationality =
| birthdate = {{Birth-date and age| birth date }}
| birthplace =
| deathdate =
| deathplace =
| height = {{convert|}} (yyyy)
| weight = {{convert|}} (yyyy)
| country = {{flagcountry|}}
| sport =
| event =
| club =
| team =
| turnedpro =
| retired =
| coaching =
| worlds =
| regionals =
| nationals =
| olympics =
| paralympics =
| highestranking =
| pb =
| medaltemplates =
| show-medals =
}}
Parameters
| Parameter | Description |
|---|---|
| headercolor | To change the default color of headers, indicate a color name (e.g., "lightblue", "orange") or a hex triplet (e.g., "#2468A0"). To determine the hex triplet of a color, see "List of colors"; or go to "List of colors#Colors by shades", click on the article associated with the desired color, and look up the hex triplet. |
| Personal information | |
| name | The short or common name of the sportsperson. If this parameter is omitted, the name of the article is used. |
| image | An image of the sportsperson. Type the name of the image file without adding "File:" before it or wikilinking it. Following the discussion at "Wikipedia:Centralized discussion/Image placeholders", if no image is available yet, do not use an image placeholder such as "Replace this image.svg", "Replace this image female.svg" or "Replace this image male.svg". |
| 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). 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". |
| birthdate | The sportsperson's birth date. Use {{Birth-date and age| birth date}} for living sportspersons.
|
| birthplace | The sportsperson's place of birth. In accordance with "Wikipedia:Manual of Style (icons)#Flags", do not use a flag template here. |
| 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. In accordance with "Wikipedia:Manual of Style (icons)#Flags", do not use a flag template here. |
| 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|ftin}}". After the height, add the year when the height was measured in parentheses; this is particularly important for sportspersons who have not reached their adult height.
|
| 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}}". After the weight, add the year when the weight was measured in parentheses.
|
| Sport | |
| country | The country or countries that the sportsperson represents. Use the {{flagcountry}} template, like this: "{{flagcountry|Argentina}}".
|
| sport | The sport that the sportsperson participates in. Link the name of the sport to a suitable Wikipedia article if one is available, like this: "[[Swimming#Competitive swimming|Swimming]]". |
| event | The event(s) within the sport that the sportsperson specializes in. If there is more than one, list the events alphabetically or numerically and separate them by commas, like this: "[[Breaststroke]], [[freestyle swimming#freestyle]]". |
| club | The name of the club that the sportsperson belongs to. |
| team | The name of the team the sportsperson belongs to, with the years in parentheses. |
| turnedpro | The date or year that the sportsperson turned professional. In accordance with "Wikipedia:Manual of Style (dates and numbers)", do not add links to dates or years, like this: "[[1 September]] [[2008]]", "[[1965]]". |
| retired | The date or year that the sportsperson retired from sports. In accordance with "Wikipedia:Manual of Style (dates and numbers)", do not add links to dates or years. |
| coaching | The names of notable sportspeople that the sportsperson is now coaching. Only add the names of persons who have Wikipedia articles about them (no red links). If there is more than one person, arrange the names alphabetically by last name and separate them with commas. |
| Achievements and titles | |
| worlds | Significant titles the sportsperson has earned at world or international, regional and national competitions, and at the Olympic or Paralympic Games, for example:
'''[[Athletics at the 2008 Summer Paralympics|2008 Summer Paralympics]]''': 200 m – Gold<br> The string " " creates a non-breaking space between the number and the unit: see "Wikipedia:Manual of Style (dates and numbers)#Non-breaking spaces". "–" creates an en dash; alternatively, insert an en dash using the symbol table that appears below the edit window. "<br>" inserts a line break. |
| regionals | |
| nationals | |
| olympics | |
| paralympics | |
| highestranking | The sportsperson's highest world ranking with the year when this was achieved in parentheses, like this: "1st (2005)". |
| pb | If applicable, the personal best times the sportsperson has achieved with the years when these were achieved in parentheses, like this:
'''100 m backstroke''': 1:03.17 (2001, '''WR''')<br>
The following abbreviations may be used in parentheses after the year: |
| Medal record | |
| medaltemplates | All templates from the medal record infobox except {{MedalTableTop}} and {{MedalBottom}}.
Set out the medal templates in the order stated at {{MedalRelatedTemplates}}, and arrange the competitions alphabetically by name.
{{MedalSport|[[swimming#competitive swimming|Men's swimming]]}} |
| show-medals | If "show-medals=yes", the medal table is displayed. Otherwise, it is hidden and will only be displayed if the "show" link is clicked. |
Microformat