模板:Infobox basketball biography/doc
此页面是Template:Infobox basketball biography的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
此模板文档被引用于约4,000个页面。 为了避免造成大规模的影响,所有对此模板文档的编辑应先于沙盒、测试样例或您的沙盒上测试。 测试后无误的版本可以一次性地加入此模板文档中,但是修改前请务必于讨论页发起讨论。 模板引用数量会自动更新。 |
本个人信息框模板的设计与内容,应符合维基百科的可供查证、信息框模板设计手册与传记格式手册。对于生者,则会有更严谨的规范。纵然此文件可能会澄清使用于此信息框模板的特定应用细节,但主要的重点是在解释用法,而不是维基百科的政策与格式。 |
此模板使用Lua语言: |
用法
[编辑]空白模板(现役球员)
[编辑]{{Infobox basketball biography
| name =
| image =
| number =
| team =
| position =
| league =
| birth_date =
| birth_place =
| nationality =
| height_ft =
| height_in =
| weight_lb =
| high_school =
| college =
| draft_year =
| draft_round =
| draft_pick =
| draft_team =
| draft_league =
| career_start =
| years1 =
| team1 =
| highlights =
| bbr =
| bbr_wnba =
| nbanew =
| wnba_profile =
}}
空白模板(退役球员)
[编辑]{{Infobox basketball biography
| name =
| image =
| birth_date =
| birth_place =
| nationality =
| height_ft =
| height_in =
| weight_lb =
| high_school =
| college =
| draft_year =
| draft_round =
| draft_pick =
| draft_team =
| draft_league =
| career_start =
| career_end =
| career_position =
| career_number =
| years1 =
| team1 =
| highlights =
| stat1label =
| stat1value =
| stat2label =
| stat2value =
| stat3label =
| stat3value =
| bbr =
| bbr_wnba =
| nbanew =
| wnba_profile =
| HOF_player =
| womensHOF =
| FIBA_HOF_player =
}}
空白模板(完整参数)
[编辑]{{Infobox basketball biography
| embed =
| name =
| image =
| image_size =
| caption =
| number =
| team =
| position =
| league =
| birth_date =
| birth_place =
| death_date =
| death_place =
| nationality =
| height_ft =
| height_in =
| height_footnote =
| weight_lb =
| weight_footnote =
| high_school =
| college =
| draft_year =
| draft_round =
| draft_pick =
| draft_team =
| draft_league =
| career_start =
| career_end =
| career_position =
| career_number =
| coach_start =
| coach_end =
| referee_start =
| referee_end =
| years1 =
| team1 =
| years2 =
| team2 =
| years3 =
| team3 =
| years4 =
| team4 =
| years5 =
| team5 =
| years6 =
| team6 =
| years7 =
| team7 =
| years8 =
| team8 =
| years9 =
| team9 =
| years10 =
| team10 =
| years11 =
| team11 =
| years12 =
| team12 =
| years13 =
| team13 =
| years14 =
| team14 =
| years15 =
| team15 =
| years16 =
| team16 =
| years17 =
| team17 =
| years18 =
| team18 =
| years19 =
| team19 =
| years20 =
| team20 =
| years21 =
| team21 =
| years22 =
| team22 =
| years23 =
| team23 =
| years24 =
| team24 =
| years25 =
| team25 =
| years26 =
| team26 =
| years27 =
| team27 =
| years28 =
| team28 =
| years29 =
| team29 =
| years30 =
| team30 =
| years31 =
| team31 =
| years32 =
| team32 =
| years33 =
| team33 =
| years34 =
| team34 =
| years35 =
| team35 =
| years36 =
| team36 =
| years37 =
| team37 =
| years38 =
| team38 =
| years39 =
| team39 =
| years40 =
| team40 =
| cyears1 =
| cteam1 =
| cyears2 =
| cteam2 =
| cyears3 =
| cteam3 =
| cyears4 =
| cteam4 =
| cyears5 =
| cteam5 =
| cyears6 =
| cteam6 =
| cyears7 =
| cteam7 =
| cyears8 =
| cteam8 =
| cyears9 =
| cteam9 =
| cyears10 =
| cteam10 =
| cyears11 =
| cteam11 =
| cyears12 =
| cteam12 =
| cyears13 =
| cteam13 =
| cyears14 =
| cteam14 =
| cyears15 =
| cteam15 =
| cyears16 =
| cteam16 =
| cyears17 =
| cteam17 =
| cyears18 =
| cteam18 =
| cyears19 =
| cteam19 =
| cyears20 =
| cteam20 =
| highlights =
| stat1label =
| stat1value =
| stat2label =
| stat2value =
| stat3label =
| stat3value =
| stats_league =
| bbr =
| bbr_wnba =
| nbanew =
| wnba_profile =
| cstats_league1 =
| cwin1 =
| closs1 =
| cstats_league2 =
| cwin2 =
| closs2 =
| cstats_league3 =
| cwin3 =
| closs3 =
| cstats_league4 =
| cwin4 =
| closs4 =
| cstats_league5 =
| cwin5 =
| closs5 =
| HOF =
| HOF_player =
| HOF_coach =
| womensHOF =
| FIBA_HOF_player =
| CBBASKHOF_year =
| medal_templates =
}}
身高和体重单位
[编辑]以英尺和英寸为单位指定球员身高,以磅为单位指定球员体重,使用:
| height_ft =
| height_in =
| weight_lb =
厘米和千克,使用:
| height_cm =
| weight_kg =
米和千克,使用:
| height_m =
| weight_kg =
控制提供的数值和转换后的数值的显示顺序:
| height_order =
| weight_order =
参数
[编辑]参数 | 用法 | 备注 |
---|---|---|
embed |
Set to yes if infobox is used as a module of {{infobox person}} or {{Infobox officeholder}} |
Optional |
name |
The person's name, in first-last format. Do not put nicknames, sourced or not. | Optional |
image |
The person's image. | Optional |
image_size |
The size of the image. Use only when there is an image | Optional |
caption |
The caption of the image. Write a concise and accurate statement. Image with only a person's face usually do not need a caption. | Optional |
number |
The person's current jersey number. | |
team |
The person's current team. Do not put the person's former team(s), as they belong to teamN or cteamN (below). Do not wikilink the team name. Put in Free agent if a player is a free agent. If a person has retired, this parameter should be left empty. |
Optional |
position |
The person's position. For a player's position, use one of the five official positions. Avoid using abbreviations. | Optional |
league |
The person's current league. Requires "team" to be set to be displayed. | Optional |
birth_date |
The person's birth date. | |
birth_place |
The person's birth place. Typically <city>, <state>. Do not list country if consistent with nationality.[1] | |
death_date |
The person's death date. | Optional |
death_place |
The person's death place. Typically <city>, <state>. Do not list country if consistent with nationality.[1] | Optional |
nationality |
The person's respective nationality. | Optional |
height_ft /height_in |
The player's height in feet and inches. When specifying, round to the nearest inch. For example, for a player 6英尺11英寸(2.11米) tall, the height_ft parameter should show "6", the height_in parameter "11". Use either height_ft /height_in or height_cm or height_m but not more than one type at the same time. |
|
height_cm |
The player's height in centimeters. When specifying, round to the nearest cm. For example, for a player 211 cm(6英尺11英寸) tall, the height_cm parameter should show "211". Use either height_cm or height_m or height_ft /height_in but not more than one type at the same time. |
|
height_m |
The player's height in meters. When specifying, use two digits of precision. For example, for a player 2.11米(6英尺11英寸) tall, the height_m parameter should show "2.11", using a decimal point (not a comma). Use either height_m or height_cm or height_ft /height_in but not more than one type at the same time. |
|
height_order |
Height is shown in the provided units first. Set to flip to show the converted units first. | Optional |
height_footnote |
Use only if an additional note needs to be placed next to the height, e.g. an explanatory note for a disputed height. | Optional |
weight_lb |
The player's weight in pounds. Use either weight_lb or weight_kg but not both. |
|
weight_kg |
The player's weight in kilograms. Use either weight_kg or weight_lb but not both. |
|
weight_order |
Weight is shown in the provided units first. Set to flip to show the converted units first. | Optional |
weight_footnote |
Use only if an additional note needs to be placed next to the weight, e.g. an explanatory note for a disputed weight. | Optional |
high_school |
The person's high school. | Optional |
college |
The college(s) the person attended prior to a professional basketball career. Players should follow the format:[[college basketball team article|college name]]([[季节|year]]–[[季节|year]]) If an article for the college basketball team does not exist, wikilink to the school's athletic team article, which is usually [[<school name> <team name>]] e.g. {{tsl|en|Loyola Marymount Lions||Loyola Marymount}} . Otherwise, wikilink to the school's article. If the person did not play college basketball, simply wikilink to the school's article. College years represent the years the player played varsity basketball for the school. Redshirt or freshman team years should not be included in the range. |
Optional |
draft_year |
The year in which the player entered the NBA draft. | Optional |
draft_round |
The player's draft round. If a player was not drafted, this parameter is not necessary. | Optional |
draft_pick |
The player's draft pick number. If a player was not drafted, this parameter is not necessary. If a player was a territorial pick, then put [[地緣選秀|Territorial]] . |
Optional |
draft_team |
The player's draft team. If a player was not drafted, this parameter is not necessary. | Optional |
draft_league |
The league of the player's draft team. If a player was not drafted, this parameter is not necessary. Default is NBA. The name should match the league name in draft articles, e.g. "WNBA" for WNBA draft and 2000 WNBA draft. The field should only be used for the top-level draft in a given country, not for minor-leagues. | Optional |
career_start |
The year in which the player started their career | |
career_end |
The year in which the player ended their career | |
career_position |
The position(s) played while a player was active. Used when a former player is now an active coach. Former pro players typically only list their pro positions. | |
career_number |
The number(s) worn while a player was active. Used when a former player is now an active coach, or an active player that has worn other numbers. Former pro players typically only list their pro numbers. | |
coach_start |
The year in which the person's coaching career began. | |
coach_end |
The year in which the person's coaching career ended. | |
years1, team1, |
All the team(s) the person has played for during their career. Should follow the format: |years1 = [[季节|year]]–[[季节|year]] |team1 = [[Team1]] |years2 = [[季节|year]]–[[季节|year]] |team2 = [[Team2]] … Separate stints with the same team should be separate team/year entries. Do not link the same team multiple times.A stint with a team that moved or was renamed should be listed as a single entry: |teamN = [[TeamN]] / [[RenamedTeamN]] An NBA player in the NBA G League on assignment should be listed in the following format: |years1 = [[季节|year]]–[[季节|year]] |team1 = [[NBA球員列表|NBA team]] |years2 = [[季节|year]]–[[季节|year]] |team2 = →[[G League team]] If a player is in the G League but does not have an NBA contract, no → should be used for the team entry. All stints for professional minor league and overseas leagues should be listed. |
|
cyears1, cteam1, |
All the team(s) the person has coached for during their career.[3] | Optional |
highlights |
All notable highlights and awards that the person has won. Should follow the format:
|
Optional |
stat1label, stat1value, |
Career statistics for retired players i.e. when "career_end" is set | Optional |
stats_league |
League(s) for career statistics specified | Optional |
bbr |
For NBA players, the text between the last slash and .html in the URL of the player's basketball-reference.com profile (linked at https://www.basketball-reference.com/players/). |
Optional |
bbr_wnba |
For WNBA players, the text between the last slash and .html in the URL of the player's basketball-reference.com profile (linked at https://www.basketball-reference.com/wnba/players/). |
Optional |
nbanew |
The numeric id after https://nba.com/player/ in the URL of the player's NBA.com profile (linked at nba.com/players). The default is Wikidata's NBA.com球员识别码 (P3647) |
Optional |
wnba_profile |
The text between the last and second-last slashes in the URL of the player's WNBA.com profile (linked at wnba.com/playerfile). |
Optional |
cstats_league1, cwin1, closs1 |
Win-loss record per league coached for retired coaches i.e. when coach_end is set |
Optional |
HOF /HOF_player /HOF_coach |
The text behind the last slash in the URL of the person's Naismith Memorial Basketball Hall of Fame profile For individual inducted as player, use HOF_player For individual inducted as coach, use HOF_coach |
Optional |
WBHOF |
The text between the last slash in the URL of the person's Women's Basketball Hall of Fame profile and ".html" (e.g. "Lobo" for http://www.wbhof.com/Lobo.html) | Optional |
FIBA_HOF_player |
The name (with hyphens) in the URL of the player's FIBA Hall of Fame profile | Optional |
CBBASKHOF_year |
Year inducted into the National Collegiate Basketball Hall of Fame | Optional |
medal_templates |
For medal templates only | Optional |
示例
[编辑]{{Infobox basketball biography
| name = Kevin Garnett
| image = Kevin Garnett 2008-01-13.jpg
| caption = Garnett with the Celtics on January 13, 2008
| number = 21
| team = Minnesota Timberwolves
| position = [[大前锋|Power forward]]
| league = [[NBA]]
| birth_date = {{birth date and age|mf=yes|1976|5|19}}
| birth_place = [[格林维尔 (南卡罗来纳州)|Greenville, South Carolina]]
| nationality = American
| height_ft = 6
| height_in = 11
| weight_lb = 253
| high_school = {{tsl|en|Mauldin High School||Mauldin High School}}<br />{{tsl|en|Farragut Career Academy||Farragut Career Academy}}
| college =
| draft_round = 1
| draft_pick = 5
| draft_year = 1995
| draft_team = [[明尼苏达森林狼|Minnesota Timberwolves]]
| career_start = 1995
| career_end =
| years1 = 1995–2007
| team1 = [[明尼苏达森林狼|Minnesota Timberwolves]]
| years2 = 2007–2013
| team2 = [[波士顿凯尔特人|Boston Celtics]]
| years3 = 2013–2015
| team3 = [[布鲁克林篮网|Brooklyn Nets]]
| years4 = 2015–present
| team4 = Minnesota Timberwolves
| highlights =
*[[NBA總冠軍列表|NBA champion]] ([[2008年NBA總決賽|2008]])
*[[NBA最有价值球员|NBA Most Valuable Player]] ([[2003-04 NBA赛季|2004]])
*[[NBA年度最佳防守球员|NBA Defensive Player of the Year]] ([[2007-08 NBA赛季|2008]])
*13× {{tsl|en|List of NBA All-Stars||NBA All-Star}} ({{tsl|en|1997 NBA All-Star Game||1997}}–{{tsl|en|1998 NBA All-Star Game||1998}}, {{tsl|en|2000 NBA All-Star Game||2000}}–[[2010年NBA全明星賽|2010]])
*4× [[NBA最佳阵容|All-NBA First Team]] ([[1999-00 NBA赛季|2000]], [[2002-03 NBA赛季|2003]]–[[2003-04 NBA赛季|2004]], [[2007-08 NBA赛季|2008]])
*3× [[NBA最佳阵容|All-NBA Second Team]] ([[2000-01 NBA赛季|2001]]–[[2001-02 NBA赛季|2002]], [[2004-05 NBA赛季|2005]])
*2× [[NBA最佳阵容|All-NBA Third Team]] ([[1998-99 NBA赛季|1999]], [[2006-07 NBA赛季|2007]])
*8× [[NBA最佳防守陣容|All-Defensive First Team]] ([[1999-00 NBA赛季|2000]]–[[2004-05 NBA赛季|2005]], [[2007-08 NBA赛季|2008]]–[[2008-09 NBA赛季|2009]])
*2× [[NBA最佳防守陣容|All-Defensive Second Team]] ([[2005-06 NBA赛季|2006]]–[[2006-07 NBA赛季|2007]])
*[[NBA最佳新秀阵容|NBA All-Rookie Second Team]] ([[1995-96 NBA赛季|1996]])
*[[NBA全明星賽高比·拜仁最有價值球員|NBA All-Star Game MVP]] ([[2002-03 NBA赛季|2003]])
*[[詹姆斯·沃尔特·肯尼迪公民奖|J. Walter Kennedy Citizenship Award]] ([[2005-06 NBA赛季|2006]])
| nbanew = 708
| medal_templates =
{{MedalSport|Men's [[篮球|basketball]]}}
{{Medal|Country|the {{bk|USA}}}}
{{Medal|Competition|[[奥林匹克运动会|Olympic Games]]}}
{{Medal|Gold|[[2000年夏季奥林匹克运动会|2000 Sydney]] | {{tsl|en|Basketball at the 2000 Summer Olympics – Men's tournament||Team Event}}}}
{{Medal|Competition|[[美洲盃籃球賽|FIBA Americas Championship]]}}
{{Medal|Gold|{{tsl|en|FIBA Americas Championship 1999||1999 San Juan}}|}}
}}
微格式
[编辑]本模板使用了hCard 微格式标记,被标记的人物资料可以被电脑分析读取,以便将其自动归类,或者透过专门的浏览器取得资料讯息,例如将讯息加入通讯录。关于在维基百科使用微格式的详细讯息,请参见微格式维基专题。
出生日期(bday)参数只能使用于包含了 {{bd}} 或 {{Birth date and age}} 模板的信息框。
- adr
- bday
- county-name
- fn(必须)
- honorific-prefix
- honorific-suffix
- label
- locality
- nickname
- note
- org
- role
- vcard
请不要移除或重新命名这些class。
模板数据
[编辑]模板数据
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
An infobox for basketball biography.
|
追踪分类
[编辑]注释
[编辑]- ^ 1.0 1.1 Template_talk:Infobox_basketball_biography/Archive_2#Format_of_birth_place Wikipedia_talk:Manual_of_Style/Linking/Archive_20#Need_for_clarity_on_linking_major_American_cities
- ^ Wikipedia_talk:WikiProject_Basketball/Archive_12#National_teams_in_infoboxes
- ^ There is no consensus to include national teams.[2]