Template:Infobox sportsperson

维基百科,自由的百科全书
跳转至: 导航搜索
Documentation icon 模板文档[查看] [编辑] [页面历史] [清除]

使用方法[编辑]

要將本模板加入條目中,請複製以下空白原始碼,並貼至條目中即可。

{{Infobox sportsperson
| name             = 
| image            = <!-- name.jpg -->
| image_size       = <!--Only for images narrower than 220 pixels.-->
| alt              = 
| caption          = 
| headercolor      = 
| native_name      = 
| native_name_lang = 
| birth_name       = 
| fullname         = 
| nickname         = 
| nationality      = 
| ethnicity        = 
| citizenship      = 
| birth_date       = <!-- {{birth date and age|yyyy|mm|dd}} -->
| birth_place      = 
| death_date       = <!-- {{death date and age|death year|death month|death day|birth year|birth month|birth day}} -->
| death_place      = 
| resting_place    = 
| monuments        = 
| residence        = 
| education        = 
| alma_mater       = 
| occupation       = 
| years_active     = 
| employer         = 
| agent            = 
| height           = <!-- {{convert|}} (yyyy) -->
| weight           = <!-- {{convert|}} (yyyy) -->
| spouse           = 
| life_partner     = 
| other_interests  = 
| website          = <!-- {{URL|www.example.com}} -->
| country          = 
| sport            = 
| disability       = 
| disability_class = 
| rank             = 
| event            = 
| collegeteam      = 
| universityteam   = 
| league           = 
| league_type      = 
| club             = 
| team             = 
| turnedpro        = 
| partner          = 
| former_partner   = 
| coach            = 
| retired          = 
| coaching         = 
| worlds           = 
| regionals        = 
| nationals        = 
| olympics         = 
| paralympics      = 
| highestranking   = 
| pb               = 
| medaltemplates   = 
| show-medals      = 
| updated          = {{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
}}

英文版示例[编辑]

Laurentia Tan
LaurentiaTan-portrait-20080920.jpg
Tan at a Paralympics celebration ceremony at Cathay Cineleisure Orchard on 20 September 2008
個人資料
全名 Laurentia Tan Yen Yi
國籍  新加坡
出生 1979年4月24日 (1979-04-24)(35歲)
新加坡
運動
國家/地區 新加坡
運動 馬術
項目 馬場馬術
成績和頭銜
帕運決賽 2008年夏季帕運會: Individual C'ship Dressage (IA) – Bronze; Individual Freestyle to Music Dressage (IA) – Bronze
{{Infobox sportsperson
| headercolor    =
| name           =
| image          =
| imagesize      = <!--Only for images narrower than 220 pixels.-->
| caption        =
| birthname      =
| fullname       =
| nickname       =
| nationality    =
| residence      =
| birth_date     = {{birth date and age|yyyy|mm|dd}}
| birth_place    =
| death_date     =
| death_place    =
| height         = {{convert|}} (yyyy)
| weight         = {{convert|}} (yyyy)
| website        = [http://www.websitename.com www.websitename.com]
| country        =
| sport          =
| event          =
| collegeteam    =
| club           =
| team           =
| turnedpro      =
| coach          =
| 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 shade", 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.
birthname The birth name of the sportsperson.
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}}: see "Wikipedia:Manual of Style (icons)#Biographical use".
residence The sportsperson's place of residence. Do not use a flag template such as {{flagcountry}} or {{flagicon}}.
birth_date The sportsperson's birth date. Use {{birth date and age|year|month|day}} for living sportspersons.
birth_place The sportsperson's place of birth. In accordance with "Wikipedia:Manual of Style (icons)#Do not use flags to indicate locations of birth and death", do not use a flag template.
death_date The sportsperson's death date, if applicable. Use {{death date and age|death year|death month|death day|birth year|birth month|birth day}}.
death_place The sportsperson's place of death, if applicable. In accordance with "Wikipedia:Manual of Style (icons)#Do not use flags to indicate locations of birth and death", do not use a flag template.
height The sportsperson's height. Please note the following:
  • If the sportsperson 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}}".
  • If the sportsperson's height stated in a source is the converted measurement, tweak the parameters of the {{convert}} template if required to ensure that this measurement is accurately stated. For example, if a source states that an American athlete is 1.82 m tall, type "{{convert|5|ft|11.7|in|m|2}}" in order to get the result "5英尺11.7英寸(1.82米)" (some experimentation in a sandbox may be required). Indicating "{{convert|6|ft|0|in|m}}" which would yield "6英尺0英寸(1.83米)" would be inaccurate.
  • 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.
  • In line with "Wikipedia:Manual of Style (dates and numbers)#Unit conversions", provide a reference for the information after the year in parentheses, indicating in the footnote both the source and the original units, like this: "[source of information] (original measurement in feet and inches)."
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. Please follow the instructions indicated above for the sportsperson's height.
website The sportsperson's official website, like this: "[http://www.websitename.com www.websitename.com]".
Sport
country The country or countries that the sportsperson represents. Do not use a flag template such as {{flagcountry}} or {{flagicon}}: see "Wikipedia:Manual of Style (icons)#Use of flags for sportspeople".
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]]".
collegeteam The team that the sportsperson belongs or belonged to in his or her college or university.
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 wikilinks to dates or years.
coach The name of the person presently coaching the sportsperson. It is suggested that you indicate the years that this person coached the sportsperson in parentheses after the name, like this: "(1985–1990)"; "(2005–present)".
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[编辑]

本模板使用了hCard 微格式標記,被標記的人物資料可以被電腦分析讀取,以便将其自動归類,或者透過專門的瀏覽器取得資料訊息,例如將訊息加入通訊錄。關於在維基百科使用微格式的詳細訊息,請參見微格式維基專題

出生日期(bday)參數只能使用於包含了 {{bd}} 或 {{Birth date and age}} 模板的信息框。

  • adr
  • bday
  • county-name
  • fn(必須)
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • nickname
  • note
  • org
  • role
  • vcard

請不要移除或重新命名這些class。