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

From blackwiki
Jump to navigation Jump to search
imported>J JMesserly
(birth and death date syntax change)
(rv, no consensus for massive change across multiple infoboxes. nothing wrong with birth date template, and new template has unclear syntax.)
Line 15: Line 15:
 
| nickname      =  
 
| nickname      =  
 
| nationality    =  
 
| nationality    =  
| birthdate      = {{Birth-date and age| birth date }}
+
| birthdate      = {{birth date and age|yyyy|mm|dd}}
 
| birthplace    =  
 
| birthplace    =  
 
| deathdate      =  
 
| deathdate      =  
Line 74: Line 74:
 
|-
 
|-
 
|align=center|'''birthdate'''
 
|align=center|'''birthdate'''
|The sportsperson's birth date.  Use {{tlx|Birth-date and age| birth date }} for living sportspersons.
+
|The sportsperson's birth date.  Use {{tlx|birth date and age|year|month|day}} 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|Death-date and age| death date | birth date }}.
+
|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'''

Revision as of 18:17, 14 March 2009

Template

{{Infobox Sportsperson
| headercolor    = 
| name           = 
| image          = 
| imagesize      = <!--Only for images narrower than 220 pixels.-->
| caption        = 
| fullname       = 
| nickname       = 
| nationality    = 
| birthdate      = {{birth date and age|yyyy|mm|dd}}
| 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|year|month|day}} 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 year|death month|death day|birth year|birth month|birth day}}.
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&nbsp;m &ndash; Gold<br>

'''2008 Summer Paralympics''': 400&nbsp;m &ndash; Silver

The string "&nbsp;" creates a non-breaking space between the number and the unit: see "Wikipedia:Manual of Style (dates and numbers)#Non-breaking spaces". "&ndash;" 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&nbsp;m backstroke''': 1:03.17 (2001, '''WR''')<br>

'''200&nbsp;m butterfly''': 2:12.63 (2003)

The following abbreviations may be used in parentheses after the year:
CR – competition record, NR – national record, OR – Olympic record, PR – Paralympic record, WR – world record.

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]]}}
{{MedalCountry|{{SWE}}}}
{{MedalCompetition|[[FINA World Aquatics Championships]]}}
{{MedalSilver|[[2005 World Aquatics Championships|2005 Montreal]]|200&nbsp;m [[breaststroke]]}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalGold|[[2008 Summer Olympics|2008 Beijing]]|[[Swimming at the 2008 Summer Olympics|100&nbsp;m freestyle]]}}
{{MedalCompetition|[[Pan Pacific Swimming Championships|Pan Pacific Championships]]}}
{{MedalBronze|[[2006 Pan Pacific Swimming Championships|2006 Victoria]]|100&nbsp;m [[butterfly stroke|butterfly]]}}

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

Template:UF-hcard-person