Jump to content

Template:Infobox basketball biography/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
rmv old practice
No edit summary
 
(47 intermediate revisions by 21 users not shown)
Line 4: Line 4:
{{Person infobox header}}
{{Person infobox header}}
{{ombox|text=To test changes, please do so at '''[[Template:Infobox basketball biography/sandbox]]''' first, and then implement them here.}}
{{ombox|text=To test changes, please do so at '''[[Template:Infobox basketball biography/sandbox]]''' first, and then implement them here.}}
{| align="right"
{{Uses Wikidata|P3647|P2685}}
|{{Wikidata property|P3588|P3646|P4410|P8712}}<!-- properties for other links in infobox -->
|{{Uses Wikidata|P3647|P2685|P4561|P4718}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:String|Module:Sports career|Module:Check for unknown parameters}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:String|Module:Sports career|Module:Check for unknown parameters}}
|}


=== Usage ===
=== Usage ===
{{col-float|width=27em|style=padding-right:2em}}
{{col-float|width=27em|style=padding-right:2em}}

==== Blank template with parameters for active players ====
==== Blank template with parameters for active players ====
<syntaxhighlight lang="wikitext">
<pre>
{{Infobox basketball biography
{{Infobox basketball biography
| name =
| name =
| image =
| image =
| alt =
| number =
| number =
| team =
| position =
| position =
| league =
| league =
| team =
| birth_date =
| birth_date =
| birth_place =
| birth_place =
| nationality =
| height_ft =
| height_ft =
| height_in =
| height_in =
Line 37: Line 41:
| bbr =
| bbr =
| bbr_wnba =
| bbr_wnba =
| nbanew =
| wnba_profile =
| wnba_profile =
}}</pre>
}}</syntaxhighlight>
{{col-float-break|width=27em|style=padding-right:2em}}
{{col-float-break|width=27em|style=padding-right:2em}}


==== Blank template with parameters for retired players ====
==== Blank template with parameters for retired players ====
<syntaxhighlight lang="wikitext">
<pre>
{{Infobox basketball biography
{{Infobox basketball biography
| name =
| name =
| image =
| image =
| number =
| alt =
| position =
| league =
| birth_date =
| birth_date =
| birth_place =
| birth_place =
| nationality =
| height_ft =
| height_ft =
| height_in =
| height_in =
Line 65: Line 65:
| career_start =
| career_start =
| career_end =
| career_end =
| career_position =
| career_number =
| years1 =
| years1 =
| team1 =
| team1 =
Line 81: Line 83:
| womensHOF =
| womensHOF =
| FIBA_HOF_player =
| FIBA_HOF_player =
}}</pre>
}}</syntaxhighlight>
{{col-float-break|width=27em}}
{{col-float-break|width=27em}}

<!--
==== Blank template with parameters for coaches ====
==== Blank template with parameters for coaches ====
<syntaxhighlight lang="wikitext">
<pre>
{{Infobox basketball biography
{{Infobox basketball biography
| name =
| name =
| image =
| image =
| alt =
| team =
| position =
| position =
| league =
| league =
| birth_date =
| birth_date =
| birth_place =
| birth_place =
| nationality =
| height_ft =
| height_ft =
| height_in =
| height_in =
Line 105: Line 108:
| highlights =
| highlights =
| HOF_coach =
| HOF_coach =
}}</pre>
}}</syntaxhighlight>
{{Multicol-break}} -->
{{col-float-break|width=27em}}


==== Blank template with all parameters ====
==== Blank template with all parameters ====
<syntaxhighlight lang="wikitext">
<pre>
{{Infobox basketball biography
{{Infobox basketball biography
| embed =
| embed =
| name =
| name =
| image =
| image =
| image_size =
| image_size =
| alt =
| caption =
| caption =
| number =
| number =
| team =
| position =
| position =
| league =
| league =
| team =
| conference =
| birth_date =
| birth_date =
| birth_place =
| birth_place =
| death_date =
| death_date =
| death_place =
| death_place =
| nationality =
| height_ft =
| height_ft =
| height_in =
| height_in =
| height_cm =
| height_order =
| height_footnote =
| height_footnote =
| weight_lb =
| weight_lb =
| weight_kg =
| weight_order =
| weight_footnote =
| weight_footnote =
| high_school =
| high_school =
| college =
| college =
| pro_club =
| draft_year =
| draft_year =
| draft_round =
| draft_round =
Line 137: Line 146:
| draft_team =
| draft_team =
| draft_league =
| draft_league =
| draft_pba =
| draft_year_pba =
| draft_round_pba =
| draft_pick_pba =
| draft_team_pba =
| career_start =
| career_start =
| career_end =
| career_end =
Line 143: Line 157:
| coach_start =
| coach_start =
| coach_end =
| coach_end =
| referee_start =
| referee_start =
| referee_end =
| referee_end =
| years1 =
| years1 =
Line 188: Line 202:
| team21 =
| team21 =
| years22 =
| years22 =
| team22 =
| team22 =
| years23 =
| years23 =
| team23 =
| team23 =
Line 273: Line 287:
| stat3value =
| stat3value =
| stats_league =
| stats_league =
| bbr =
| bbr_wnba =
| nbanew =
| nbanew =
| wnba_profile =
| wnba_profile =
| bbr =
| bbr_wnba =
| cstats_league1 =
| cstats_league1 =
| cwin1 =
| cwin1 =
| closs1 =
| closs1 =
| cstats_league2 =
| cstats_league2 =
| cwin2 =
| cwin2 =
| closs2 =
| closs2 =
| cstats_league3 =
| cstats_league3 =
| cwin3 =
| cwin3 =
| closs3 =
| closs3 =
| cstats_league4 =
| cstats_league4 =
| cwin4 =
| cwin4 =
| closs4 =
| closs4 =
| cstats_league5 =
| cstats_league5 =
| cwin5 =
| cwin5 =
| closs5 =
| closs5 =
| HOF =
| HOF =
| HOF_player =
| HOF_player =
Line 297: Line 311:
| womensHOF =
| womensHOF =
| FIBA_HOF_player =
| FIBA_HOF_player =
| FIBA_HOF_coach =
| FIBA_HOF_official =
| CBBASKHOF_year =
| CBBASKHOF_year =
| medal_templates =
| medal_templates =
}}</pre>
}}</syntaxhighlight>
{{col-float-end}}
{{col-float-end}}


=== Height and weight units ===
=== Height and weight units ===
To specify the players height in feet and inches, and weight in pounds, use
To specify the players height in feet and inches, and weight in pounds, use
<syntaxhighlight lang="wikitext">
<pre>
| height_ft =
| height_ft =
| height_in =
| height_in =
| weight_lb =
| weight_lb =
</syntaxhighlight>
</pre>
For centimeters and kilograms, use
For centimeters and kilograms, use
<syntaxhighlight lang="wikitext">
<pre>
| height_cm =
| height_cm =
| weight_kg =
| weight_kg =
</syntaxhighlight>
</pre>
For meters and kilograms, use
For meters and kilograms, use
<syntaxhighlight lang="wikitext">
<pre>
| height_m =
| height_m =
| weight_kg =
| weight_kg =
</syntaxhighlight>
</pre>
To control the order that the provided and converted measurements are shown
To control the order that the provided and converted measurements are shown
<syntaxhighlight lang="wikitext">
<pre>
| height_order =
| height_order =
| weight_order =
| weight_order =
</syntaxhighlight>
</pre>


=== Parameters ===
=== Parameters ===
Line 339: Line 355:
|-
|-
| <code>image_size</code> || The size of the image. Use only when there is an image || ''Optional''
| <code>image_size</code> || The size of the image. Use only when there is an image || ''Optional''
|-
| <code>alt</code> || [[MOS:ALT|Alternate text for the image.]] Highly suggested to use with any image. Click the link for more info on writing alt text. || ''Optional''
|-
|-
| <code>caption</code> || 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''
| <code>caption</code> || 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''
|-
|-
| <code>number</code> || The person's current [[Squad number|jersey number]]. ||
| <code>number</code> || The person's current [[Squad number|jersey number]]. ||
|-
| <code>team</code> || The person's current team. Do not put the person's former team(s), as they belong to <code>teamN</code> or <code>cteamN</code> (below). Do not wikilink the team name. Put in <code>Free agent</code> if a player is a [[free agent]]. If a person has retired, this parameter should be left empty. || ''Optional''
|-
|-
| <code>position</code> || The person's position. For a player's [[Basketball#Positions and structures|position]], use one of the five official positions. Avoid using abbreviations. || ''Optional''
| <code>position</code> || The person's position. For a player's [[Basketball#Positions and structures|position]], use one of the five official positions. Avoid using abbreviations. || ''Optional''
Line 348: Line 368:
| <code>league</code> || The person's current league. Requires "team" to be set to be displayed. || ''Optional''
| <code>league</code> || The person's current league. Requires "team" to be set to be displayed. || ''Optional''
|-
|-
| <code>team</code> || The person's current team. Do not put the person's former team(s), as they belong to <code>teamN</code> or <code>cteamN</code> (below). Do not wikilink the team name. Put in <code>Free agent</code> if a player is a [[free agent]]. If a person has retired, this parameter should be left empty. || ''Optional''
| <code>conference</code> || The person's current conference. Requires "team" to be set and "league" not set to be displayed. || ''Optional''
|-
|-
| <code>birth_date</code> || The person's birth date. ||
| <code>birth_date</code> || The person's birth date. ||
|-
|-
| <code>birth_place</code> || The person's birth place. Typically <city>, <state>. Do not list country if consistent with nationality.<ref name=birth_place_fromat>[[Template_talk:Infobox_basketball_biography/Archive_2#Format_of_birth_place]]
| <code>birth_place</code> || The person's birth place. Typically <city>, <state>, <country>.<ref>[[Special:PermanentLink/1086423835#INFONAT]]</ref> ||
[[Wikipedia_talk:Manual_of_Style/Linking/Archive_20#Need_for_clarity_on_linking_major_American_cities]]</ref> ||
|-
|-
| <code>death_date</code> || The person's death date. || ''Optional''
| <code>death_date</code> || The person's death date. || ''Optional''
|-
|-
| <code>death_place</code> || The person's death place. Typically <city>, <state>. Do not list country if consistent with nationality.<ref name=birth_place_fromat/>|| ''Optional''
| <code>death_place</code> || The person's death place. Typically <city>, <state>, <country>. || ''Optional''
|-
|-
| <code>nationality</code> || The person's respective nationality. || ''Optional''
| <code>nationality</code>/<code>nationality_2</code> || The person's respective nationality. Avoid using if can be inferred from country of birth, per [[WP:INFONAT]]. || '''''[[Wikipedia talk:Manual of Style/Infoboxes#For sportspeople|Deprecated]]'''''
|-
|-
| <code>height_ft</code>/<code>height_in</code> || The player's height in feet and inches. When specifying, round to the nearest inch. For example, for a player {{convert|6|ft|11|in|m|2|abbr=on}} tall, the <code>height_ft</code> parameter should show "6", the <code>height_in</code> parameter "11". Use either <code>height_ft</code>/<code>height_in</code> or <code>height_cm</code> or <code>height_m</code> but not more than one type at the same time. ||
| <code>height_ft</code>/<code>height_in</code> || The player's height in feet and inches. When specifying, round to the nearest inch. For example, for a player {{convert|6|ft|11|in|m|2|abbr=on}} tall, the <code>height_ft</code> parameter should show "6", the <code>height_in</code> parameter "11". Use either <code>height_ft</code>/<code>height_in</code> or <code>height_cm</code> or <code>height_m</code> but not more than one type at the same time. ||
Line 383: Line 402:
| <code>college</code> || The college(s) the person attended prior to a professional basketball career. Players should follow the format:<br /> <code><nowiki>[[college basketball team article|college name]]([[season|year]]–[[season|year]])</nowiki></code><br /><small>If an article for the college basketball team does not exist, wikilink to the school's athletic team article, which is usually <code><nowiki>[[<school name> <team name>]]</nowiki></code> e.g. <code><nowiki>[[Loyola Marymount Lions|Loyola Marymount]]</nowiki></code>. 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.</small> || ''Optional''
| <code>college</code> || The college(s) the person attended prior to a professional basketball career. Players should follow the format:<br /> <code><nowiki>[[college basketball team article|college name]]([[season|year]]–[[season|year]])</nowiki></code><br /><small>If an article for the college basketball team does not exist, wikilink to the school's athletic team article, which is usually <code><nowiki>[[<school name> <team name>]]</nowiki></code> e.g. <code><nowiki>[[Loyola Marymount Lions|Loyola Marymount]]</nowiki></code>. 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.</small> || ''Optional''
|-
|-
| <code>draft_year</code> || The year in which the player entered the NBA draft. || ''Optional''
| <code>pro_club</code> || Pre-draft club || ''Optional''
|-
| <code>draft_year</code> || The year in which the player entered the draft. || ''Optional''
|-
|-
| <code>draft_round</code> || The player's draft round. If a player was not drafted, this parameter is not necessary. || ''Optional''
| <code>draft_round</code> || The player's draft round. If a player was not drafted, this parameter is not necessary. || ''Optional''
|-
|-
| <code>draft_pick</code> || The player's draft pick number. If a player was not drafted, this parameter is not necessary. If a player was a [[NBA territorial pick|territorial pick]], then put <code><nowiki>[[NBA territorial pick|Territorial]]</nowiki></code>. || ''Optional''
| <code>draft_pick</code> || The player's draft pick number. If a player was not drafted, this parameter is not necessary. If a player was an [[NBA territorial pick]], then put <code><nowiki>[[NBA territorial pick|territorial pick]]</nowiki></code>. || ''Optional''
|-
|-
| <code>draft_team</code> || The player's draft team. If a player was not drafted, this parameter is not necessary. || ''Optional''
| <code>draft_team</code> || The player's draft team. If a player was not drafted, this parameter is not necessary. || ''Optional''
|-
|-
| <code>draft_league</code> || 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''
| <code>draft_league</code> || 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''
|-
| <code>draft_pba</code>, <code>draft_year_pba</code>, <code>draft_round_pba</code>, <code>draft_pick_pba</code>, <code>draft_team_pba</code> || Parameters for [[Philippine Basketball Association draft]]. For examples, see [[June Mar Fajardo]] and [[Robert Jaworski]]. || ''Optional''
|-
|-
| <code>career_start</code> || The year in which the player started their career ||
| <code>career_start</code> || The year in which the player started their career ||
Line 405: Line 428:
| <code>coach_end</code> || The year in which the person's coaching career ended. ||
| <code>coach_end</code> || The year in which the person's coaching career ended. ||
|-
|-
| <code>referee_start</code> || The year in which the person's referee career began. ||
| <code>years1, team1,<br />years2, team2,<br />...<br />years40, team40</code> || All the team(s) the person has played for during their career.<br />Should follow the format:<br /><code><nowiki>|years1 = [[season|year]]–[[season|year]] |team1 = [[Team1]]</nowiki></code><br /><code><nowiki>|years2 = [[season|year]]–[[season|year]] |team2 = [[Team2]]</nowiki></code><br />…<br /><small>Separate stints with the same team should be separate <code>team/year</code> entries. [[MOS:DUPLINK|Do not link the same team]] multiple times.<br />A stint with a team that moved or was renamed should be listed as a single entry:<br /><code><nowiki>|teamN = [[TeamN]] / [[RenamedTeamN]]</nowiki></code><br />An NBA player in the [[NBA G League]] on [[NBA G League#allocations|assignment]] should be listed in the following format:<br /><code><nowiki>|years1 = [[season|year]]–[[season|year]] |team1 = [[NBA team]]</nowiki></code><br /><code><nowiki>|years2 = [[season|year]]–[[season|year]] |team2 = →[[G League team]]</nowiki></code><br />If a player is in the G League but does not have an NBA contract, no → should be used for the team entry.<br /> All stints for professional minor league and overseas leagues should be listed.</small> ||
|-
| <code>referee_end</code> || The year in which the person's referee career ended. ||
|-
| <code>years1, team1,<br />years2, team2,<br />...<br />years40, team40</code> || All the team(s) the person has played for during their career.<br />Should follow the format:<br /><code><nowiki>|years1 = [[season|year]]–[[season|year]] |team1 = [[Team1]]</nowiki></code><br /><code><nowiki>|years2 = [[season|year]]–[[season|year]] |team2 = [[Team2]]</nowiki></code><br />...<br /><small>Separate stints with the same team should be separate <code>team/year</code> entries. [[MOS:DUPLINK|Do not link the same team]] multiple times.<br />A stint with a team that moved or was renamed should be listed as a single entry:<br /><code><nowiki>|teamN = [[TeamN]] / [[RenamedTeamN]]</nowiki></code><br />An NBA player in the [[NBA G League]] on [[NBA G League#allocations|assignment]] should be listed in the following format:<br /><code><nowiki>|years1 = [[season|year]]–[[season|year]] |team1 = [[NBA team]]</nowiki></code><br /><code><nowiki>|years2 = [[season|year]]–[[season|year]] |team2 = →[[G League team]]</nowiki></code><br />If a player is in the G League but does not have an NBA contract, no → should be used for the team entry.<br /> All stints for professional minor league and overseas leagues should be listed.</small> ||
|-
|-
| <code>cyears1, cteam1,<br />cyears2, cteam2,<br />...<br />cyears15, cteam15</code> || All the team(s) the person has coached for during their career.{{refn|There is no consensus to include national teams.<ref>[[Wikipedia_talk:WikiProject_Basketball/Archive_12#National_teams_in_infoboxes]]</ref>}}
| <code>cyears1, cteam1,<br />cyears2, cteam2,<br />...<br />cyears15, cteam15</code> || All the team(s) the person has coached for during their career.{{refn|There is no consensus to include national teams.<ref>[[Wikipedia talk:WikiProject Basketball/Archive 12#National teams in infoboxes]]</ref>}}
| ''Optional''
| ''Optional''
|-
|-
Line 415: Line 442:
<nowiki>* #× [[Award 2]] ([[season|year]], [[season|year]])</nowiki>
<nowiki>* #× [[Award 2]] ([[season|year]], [[season|year]])</nowiki>
</code>
</code>
<br />Omit #× if the award is won only once.<br />To denote consecutive years, use endash instead of comma and omit the year(s) in between.<br />If possible, use the full name of the award.<br /><small>If a separate article exists for the highlight's specific year, link to that article instead of the general season:<br /><code><nowiki>*2× [[List of NBA All-Stars|NBA All-Star]] ([[2005 NBA All-Star Game|2005]], [[2011 NBA All-Star Game|2011]])</nowiki></code><br />Medals shall be listed under <code>medal_templates</code> and not under <code>highlights</code>.<br />Players with 5+ professional highlights should limit college highlights to [[NCAA Division I Men's Basketball Tournament|NCAA championships]], awards at [[Template:Men's college basketball award navbox]], and [[NCAA Basketball Tournament Most Outstanding Player|NCAA Tournament MOPs]].<br />For NBA biographies, see [[Wikipedia:WikiProject National Basketball Association/Style advice]] for more conventions on highlights.</small>
<br />Omit #× if the award is won only once.<br />To denote consecutive years, use endash instead of comma and omit the year(s) in between.<br />If possible, use the full name of the award.<br /><small>If a separate article exists for the highlight's specific year, link to that article instead of the general season:<br /><code><nowiki>*2× [[List of NBA All-Stars|NBA All-Star]] ([[2005 NBA All-Star Game|2005]], [[2011 NBA All-Star Game|2011]])</nowiki></code><br />Medals shall be listed under <code>medal_templates</code> and not under <code>highlights</code>.<br />Players with 5+ professional highlights should limit college highlights to [[NCAA Division I men's basketball tournament|NCAA championships]], awards at [[Template:Men's college basketball award navbox]], and [[NCAA basketball tournament Most Outstanding Player|NCAA Tournament MOPs]].<br />For NBA biographies, see [[Wikipedia:WikiProject National Basketball Association/Style advice]] for more conventions on highlights.</small>
| ''Optional''
| ''Optional''
|-
|-
Line 424: Line 451:
| ''Optional''
| ''Optional''
|-
|-
| <code>bbr</code> || For NBA players, the text between the last slash and <code>.html</code> in the [[Uniform Resource Locator|URL]] of the player's basketball-reference.com profile (linked at https://www.basketball-reference.com/players/). || ''Optional''
| <code>nbanew</code> || For NBA players, the numeric identifier after <code>nba.com/player/</code> in the [[Uniform Resource Locator|URL]] of the player's NBA.com profile (see links at [https://www.nba.com/players nba.com/players]). Example: ''1626178'' in ''nba.com/stats/player/1626178''. The default is the value in [[Wikidata]] property {{Wikidata property link|P3647}}. || ''Optional''
|-
|-
| <code>bbr_wnba</code> || For WNBA players, the text between the last slash and <code>.html</code> in the [[Uniform Resource Locator|URL]] of the player's basketball-reference.com profile (linked at https://www.basketball-reference.com/wnba/players/). || ''Optional''
| <code>wnba_profile</code> || For WNBA players, the text between the last and second-last slashes in the [[Uniform Resource Locator|URL]] of the player's WNBA.com profile (see links at [https://www.wnba.com/playerfile wnba.com/playerfile]). Example: ''marianna-tolo'' in ''wnba.com/player/marianna-tolo/''. This identifier may also be found in [[Wikidata]] property {{Wikidata property link|P3588}} (property not currently used by this infobox). || ''Optional''
|-
|-
| <code>nbanew</code> || The numeric id after https://nba.com/player/ in the [[Uniform Resource Locator|URL]] of the player's NBA.com profile (linked at [http://www.nba.com/players nba.com/players]). The default is [[Wikidata]]'s {{Wikidata property link|P3647}}<br /> || ''Optional''
| <code>bbr</code> || For NBA players, the text between the last slash and <code>.html</code> in the [[Uniform Resource Locator|URL]] of the player's basketball-reference.com profile (see links at [https://www.basketball-reference.com/players/ basketball-reference.com/players/]). Example: ''abdulka01'' in ''basketball-reference.com/players/a/abdulka01.html''. The default is the value in [[Wikidata]] property {{Wikidata property link|P2685}}. || ''Optional''
|-
|-
| <code>wnba_profile</code> || The text between the last and second-last slashes in the [[Uniform Resource Locator|URL]] of the player's WNBA.com profile (linked at [http://www.wnba.com/playerfile/ wnba.com/playerfile]).<br /> || ''Optional''
| <code>bbr_wnba</code> || For WNBA players, the text between the last slash and <code>.html</code> in the [[Uniform Resource Locator|URL]] of the player's basketball-reference.com profile (see links at [https://www.basketball-reference.com/wnba/players/ basketball-reference.com/wnba/players/]). Example: ''mccrani01w'' in ''basketball-reference.com/wnba/players/m/mccrani01w.html''. This identifier may also be found in [[Wikidata]] property {{Wikidata property link|P4561}} (property not currently used by this infobox). || ''Optional''
|-
|-
| <code>cstats_league1, cwin1, closs1<br/>cstats_league2, cwin2, closs2<br />...<br />cstats_league5, cwin5, closs5</code> || Win-loss record per league coached for retired coaches i.e. when <code>coach_end</code> is set || ''Optional''
| <code>cstats_league1, cwin1, closs1<br/>cstats_league2, cwin2, closs2<br />...<br />cstats_league5, cwin5, closs5</code> || Win-loss record per league coached for retired coaches i.e. when <code>coach_end</code> is set || ''Optional''
|-
|-
| <code>HOF</code>/<code>HOF_player</code>/<code>HOF_coach</code> || The text behind the last slash in the [[Uniform Resource Locator|URL]] of the person's [[Naismith Memorial Basketball Hall of Fame]] profile<br />For individual inducted as player, use <code>HOF_player</code><br />For individual inducted as coach, use <code>HOF_coach</code> || ''Optional''
| <code>HOF</code>, <code>HOF_player</code>, <code>HOF_coach</code> || For [[Naismith Memorial Basketball Hall of Fame]] inductees, the text after the last slash in the [[Uniform Resource Locator|URL]] of the person's HoopHall.com profile (see links at [https://www.hoophall.com/hall-of-famers/ hoophall.com/hall-of-famers/]). Example: ''rebecca-lobo'' in ''hoophall.com/hall-of-famers/rebecca-lobo''. This identifier may also be found in [[Wikidata]] property {{Wikidata property link|P3646}} (property not currently used by this infobox).<br />For individual inducted as a player, use <code>HOF_player</code>.<br />For individual inducted as a coach, use <code>HOF_coach</code>. || ''Optional''
|-
|-
| <code>WBHOF</code>, <code>womensHOF</code> || For [[Women's Basketball Hall of Fame]] inductees, the text after <code>famers/</code> and before the last slash in the [[Uniform Resource Locator|URL]] of the person's WBHOF.com profile (see links at [https://wbhof.com/hall-of-famers/alphabetical-list-of-inductees/ wbhof.com/hall-of-famers/alphabetical-list-of-inductees/]). Example: ''rebecca-lobo'' in ''wbhof.com/famers/rebecca-lobo/''. This identifier may also be found in [[Wikidata]] property {{Wikidata property link|P4410}} (property not currently used by this infobox). Infobox uses {{tl|wbhoflink}} to create the URL, check for valid identifiers, and place articles with unknown identifiers in {{clc|Pages with incorrect WBHOF links}}. || ''Optional''
| <code>WBHOF</code> || The text between the last slash in the [[Uniform Resource Locator|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''
|-
|-
| <code>FIBA_HOF_player</code>, <code>FIBA_HOF_coach</code>, <code>FIBA_HOF_official</code> || For [[FIBA Hall of Fame]] inductees, the text after the last slash in the [[Uniform Resource Locator|URL]] of the person's FIBA.basketball hall of fame profile (see links at [https://www.fiba.basketball/hall-of-fame fiba.basketball/hall-of-fame]). Examples: ''Toni-Kukoc'' in ''fiba.basketball/hall-of-fame/Toni-Kukoc'' or ''Sarunas-MARCIULIONIS'' in ''fiba.basketball/hall-of-fame/Sarunas-MARCIULIONIS''. This identifier may also be found in [[Wikidata]] property {{Wikidata property link|P8712}} (property not currently used by this infobox).<br />For individual inducted as a player, use <code>FIBA_HOF_player</code>.<br />For individual inducted as a coach, use <code>FIBA_HOF_coach</code>.<br />For individual inducted as an official, use <code>FIBA_HOF_official</code>. || ''Optional''
| <code>FIBA_HOF_player</code> || The name (with hyphens) in the [[Uniform Resource Locator|URL]] of the player's [[FIBA Hall of Fame]] profile || ''Optional''
|-
|-
| <code>CBBASKHOF_year</code> || Year inducted into the [[National Collegiate Basketball Hall of Fame]] || ''Optional''
| <code>CBBASKHOF_year</code> || Year inducted into the [[National Collegiate Basketball Hall of Fame]] || ''Optional''
Line 449: Line 476:
| name = Kevin Garnett
| name = Kevin Garnett
| image = Kevin Garnett 2008-01-13.jpg
| image = Kevin Garnett 2008-01-13.jpg
| caption = Garnett with the Boston Celtics in January 2008
| caption = Garnett with the Celtics in 2008
| position = [[Power forward (basketball)|Power forward]] / [[Center (basketball)|Center]]
| league = [[National Basketball Association|NBA]]
| team = Minnesota Timberwolves
| number = 21
| number = 21
| team = Minnesota Timberwolves
| birth_date = {{birth date and age|1976|5|19}}
| position = [[Power forward (basketball)|Power forward]]
| birth_place = [[Greenville, South Carolina]]
| nationality = American
| league = [[NBA]]
| birth_date = {{birth date and age|mf=yes|1976|5|19}}
| birth_place = [[Greenville, South Carolina]], U.S.
| height_ft = 6
| height_ft = 6
| height_in = 11
| height_in = 11
| weight_lb = 240
| weight_lb = 253
| high_school =
| high_school = [[Mauldin High School]]<br />[[Farragut Career Academy]]
| college =
*[[Mauldin High School|Mauldin]] ([[Mauldin, South Carolina]])
*{{nowrap|[[Farragut Career Academy|Farragut Academy]] ([[Chicago|Chicago, Illinois]])}}
| college =
| draft_year = 1995
| draft_round = 1
| draft_round = 1
| draft_pick = 5
| draft_pick = 5
| draft_year = 1995
| draft_team = [[Minnesota Timberwolves]]
| draft_team = [[Minnesota Timberwolves]]
| career_start = 1995
| career_start = 1995
| career_end =
| years1 = {{nbay|1995|start}}–{{nbay|2006|end}}
| years1 = 1995–2007
| team1 = [[Minnesota Timberwolves]]
| team1 = [[Minnesota Timberwolves]]
| years2 = {{nbay|2007|start}}–{{nbay|2012|end}}
| years2 = 2007–2013
| team2 = [[Boston Celtics]]
| team2 = [[Boston Celtics]]
| years3 = {{nbay|2013|start}}–{{nbay|2014|end}}
| years3 = 2013–2015
| team3 = [[Brooklyn Nets]]
| team3 = [[Brooklyn Nets]]
| years4 = {{nbay|2014|end}}–present
| years4 = 2015–present
| team4 = Minnesota Timberwolves
| team4 = Minnesota Timberwolves
| highlights=
| highlights =
* [[List of NBA champions|NBA champion]] ([[2008 NBA Finals|2008]])
*[[List of NBA champions|NBA champion]] ([[2008 NBA Finals|2008]])
* [[NBA Most Valuable Player Award|NBA Most Valuable Player]] ({{nbay|2003|end}})
*[[NBA Most Valuable Player Award|NBA Most Valuable Player]] ([[2003–04 NBA season|2004]])
*[[NBA Defensive Player of the Year Award|NBA Defensive Player of the Year]] ([[2007–08 NBA season|2008]])
* 15× [[List of NBA All-Stars|NBA All-Star]] ([[1997 NBA All-Star Game|1997]], [[1998 NBA All-Star Game|1998]], [[2000 NBA All-Star Game|2000]]–[[2011 NBA All-Star Game|2011]], [[2013 NBA All-Star Game|2013]])
* [[NBA All-Star Game Most Valuable Player Award|NBA All-Star Game MVP]] ([[2003 NBA All-Star Game|2003]])
*13× [[List of NBA All-Stars|NBA All-Star]] ([[1997 NBA All-Star Game|1997]]–[[1998 NBA All-Star Game|1998]], [[2000 NBA All-Star Game|2000]]–[[2010 NBA All-Star Game|2010]])
* 4× [[All-NBA Team|All-NBA First Team]] ({{nbay|1999|end}}, {{nbay|2002|end}}, {{nbay|2003|end}}, {{nbay|2007|end}})
*4× [[All-NBA Team|All-NBA First Team]] ([[1999–2000 NBA season|2000]], [[2002–03 NBA season|2003]]–[[2003–04 NBA season|2004]], [[2007–08 NBA season|2008]])
* 3× [[All-NBA Team|All-NBA Second Team]] ({{nbay|2000|end}}, {{nbay|2001|end}}, {{nbay|2004|end}})
*3× [[All-NBA Team|All-NBA Second Team]] ([[2000–01 NBA season|2001]]–[[2001–02 NBA season|2002]], [[2004–05 NBA season|2005]])
* 2× [[All-NBA Team|All-NBA Third Team]] ({{nbay|1998|end}}, {{nbay|2006|end}})
*2× [[All-NBA Team|All-NBA Third Team]] ([[1998–99 NBA season|1999]], [[2006–07 NBA season|2007]])
*8× [[NBA All-Defensive Team|All-Defensive First Team]] ([[1999–00 NBA season|2000]]–[[2004–05 NBA season|2005]], [[2007–08 NBA season|2008]]–[[2008–09 NBA season|2009]])
* [[NBA Defensive Player of the Year Award|NBA Defensive Player of the Year]] ({{nbay|2007|end}})
* [[NBA All-Defensive Team|NBA All-Defensive First Team]] ({{nbay|1999|end}}{{nbay|2004|end}}, {{nbay|2007|end}}, {{nbay|2008|end}}, {{nbay|2010|end}})
* [[NBA All-Defensive Team|All-Defensive Second Team]] ([[2005–06 NBA season|2006]][[2006–07 NBA season|2007]])
*[[NBA All-Defensive Team|NBA All-Defensive Second Team]] ({{nbay|2005|end}}, {{nbay|2006|end}}, {{nbay|2011|end}})
*[[NBA All-Rookie Team|NBA All-Rookie Second Team]] ([[1995–96 NBA season|1996]])
* [[NBA All-Rookie Team|NBA All-Rookie Second Team]] ({{nbay|1995|end}})
*[[NBA All-Star Game Most Valuable Player Award|NBA All-Star Game MVP]] ([[2002–03 NBA season|2003]])
* [[J. Walter Kennedy Citizenship Award]] ({{nbay|2005|end}})
*[[J. Walter Kennedy Citizenship Award]] ([[2005–06 NBA season|2006]])
| nbanew = 708
* 4× [[List of National Basketball Association season rebounding leaders|NBA rebounding champion]] ({{nbay|2003|end}}–{{nbay|2006|end}})
| letter = g
* [[List of National Basketball Association franchise career scoring leaders|Minnesota Timberwolves all-time leading scorer]]
| bbr = garneke01
* [[Mr. Basketball USA]] (1995)
| HOF_player = kevin-garnett
* [[McDonald's All-American Game]] MVP (1995)
| medal_templates =
* [[Illinois Mr. Basketball]] (1995)
{{Medal|Sport|Men's [[basketball]]}}
| bbr = garneke01
| nbanew = 708
| letter = g
| medaltemplates =
{{MedalSport|Men's [[Basketball|basketball]]}}
{{Medal|Country|the {{bk|USA}}}}
{{Medal|Country|the {{bk|USA}}}}
{{Medal|Competition|[[Olympic Games]]}}
{{Medal|Competition|[[Olympic Games]]}}
Line 507: Line 528:
}}
}}


<pre style="overflow: auto">
<syntaxhighlight lang="wikitext" style="overflow: auto">
{{Infobox basketball biography
{{Infobox basketball biography
| name = Kevin Garnett
| name = Kevin Garnett
| image = Kevin Garnett 2008-01-13.jpg
| image = Kevin Garnett 2008-01-13.jpg
| caption = Garnett with the Celtics on January 13, 2008
| caption = Garnett with the Celtics in 2008
| number = 21
| team = Minnesota Timberwolves
| position = [[Power forward (basketball)|Power forward]]
| position = [[Power forward (basketball)|Power forward]]
| league = [[NBA]]
| league = [[NBA]]
| team = Minnesota Timberwolves
| number = 21
| birth_date = {{birth date and age|mf=yes|1976|5|19}}
| birth_date = {{birth date and age|mf=yes|1976|5|19}}
| birth_place = [[Greenville, South Carolina]]
| birth_place = [[Greenville, South Carolina]], U.S.
| nationality = American
| height_ft = 6
| height_ft = 6
| height_in = 11
| height_in = 11
Line 551: Line 571:
*[[NBA All-Star Game Most Valuable Player Award|NBA All-Star Game MVP]] ([[2002–03 NBA season|2003]])
*[[NBA All-Star Game Most Valuable Player Award|NBA All-Star Game MVP]] ([[2002–03 NBA season|2003]])
*[[J. Walter Kennedy Citizenship Award]] ([[2005–06 NBA season|2006]])
*[[J. Walter Kennedy Citizenship Award]] ([[2005–06 NBA season|2006]])
| nbanew = 708
| nbanew = 708
| letter = g
| bbr = garneke01
| HOF_player = kevin-garnett
| medal_templates =
| medal_templates =
{{MedalSport|Men's [[Basketball|basketball]]}}
{{Medal|Sport|Men's [[basketball]]}}
{{Medal|Country|the {{bk|USA}}}}
{{Medal|Country|the {{bk|USA}}}}
{{Medal|Competition|[[Olympic Games]]}}
{{Medal|Competition|[[Olympic Games]]}}
Line 560: Line 583:
{{Medal|Gold|[[FIBA Americas Championship 1999|1999 San Juan]]|}}
{{Medal|Gold|[[FIBA Americas Championship 1999|1999 San Juan]]|}}
}}
}}
</syntaxhighlight>
</pre>


=== Microformats ===
=== Microformats ===
Line 581: Line 604:
"label": "Image",
"label": "Image",
"description": "The person's image.",
"description": "The person's image.",
"type": "wiki-page-name",
"type": "wiki-file-name",
"required": false
"required": false
},
},
Line 600: Line 623:
"description": "The person's current jersey number.",
"description": "The person's current jersey number.",
"type": "number",
"type": "number",
"required": false
},
"team": {
"label": "Team",
"description": "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.",
"type": "string",
"required": false
"required": false
},
},
Line 614: Line 643:
"required": false
"required": false
},
},
"team": {
"conference": {
"label": "Team",
"label": "Conference",
"description": "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.",
"description": "The person's current conference. Requires 'team' to be set and 'league' not set to be displayed.",
"type": "string",
"type": "string",
"required": false
"required": false
Line 628: Line 657:
"birth_place": {
"birth_place": {
"label": "Birth place",
"label": "Birth place",
"description": "The person's birth place. Typically <city>, <state>. Do not list country if consistent with 'Nationality'.",
"description": "The person's birth place. Typically <city>, <state>, <country>.",
"type": "string",
"type": "string",
"required": false
"required": false
Line 640: Line 669:
"death_place": {
"death_place": {
"label": "Death place",
"label": "Death place",
"description": "The person's birth place. Typically <city>, <state>. Do not list country if consistent with 'Nationality'.",
"description": "The person's birth place. Typically <city>, <state>, <country>.",
"type": "string",
"type": "string",
"required": false
"required": false
Line 646: Line 675:
"nationality": {
"nationality": {
"label": "Nationality",
"label": "Nationality",
"description": "The person's respective nationality.",
"description": "The person's respective nationality. Do not specify if it is consistent with their country of birth.",
"type": "string",
"type": "string",
"required": false
"required": false
Line 718: Line 747:
"draft_year": {
"draft_year": {
"label": "Draft year",
"label": "Draft year",
"description": "The year in which the player entered the NBA draft.",
"description": "The year in which the player entered the draft.",
"type": "string",
"type": "string",
"required": false
"required": false
Line 730: Line 759:
"draft_pick": {
"draft_pick": {
"label": "Draft pick",
"label": "Draft pick",
"description": "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 [[NBA territorial pick|Territorial]].",
"description": "The player's draft pick number. If a player was not drafted, this parameter is not necessary. If a player was an NBA territorial pick, then put [[NBA territorial pick|territorial pick]].",
"type": "string",
"type": "string",
"required": false
"required": false
Line 854: Line 883:
"type": "string",
"type": "string",
"required": false
"required": false
},
"alt": {
"label": "Alt text for image",
"description": "Alt text for the image. For more information, see MOS:ALT.",
"type": "string"
}
}
},
},
Line 864: Line 898:
* {{clc|Pages using infobox basketball biography with unsupported parameters}}
* {{clc|Pages using infobox basketball biography with unsupported parameters}}
* {{clc|Pages using infobox basketball biography with long career}}
* {{clc|Pages using infobox basketball biography with long career}}
* {{clc|Pages with incorrect WBHOF links}} – added via use of {{tl|wbhoflink}} template


== See also ==
== See also ==
Line 873: Line 908:
<includeonly>{{Basepage subpage|
<includeonly>{{Basepage subpage|
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Basketball infobox templates|Basketball biography]]
[[Category:Basketball infobox templates|Biography]]
[[Category:Sportsperson infobox templates|Basketball biography]]
[[Category:Sportsperson infobox templates|Basketball biography]]
[[Category:National Basketball Association infobox templates|Basketball biography]]
[[Category:NBA infobox templates|Basketball biography]]
[[Category:Biographical templates usable as a module|Basketball biography]]
[[Category:Biographical templates usable as a module|Basketball biography]]
[[Category:Templates that add a tracking category]]
[[Category:Templates that add a tracking category]]

Latest revision as of 16:10, 14 November 2024

Usage

[edit]

Blank template with parameters for active players

[edit]
{{Infobox basketball biography
| name         = 
| image        = 
| alt          =
| number       = 
| team         = 
| position     = 
| league       = 
| birth_date   = 
| birth_place  = 
| 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     = 
| wnba_profile = 
}}

Blank template with parameters for retired players

[edit]
{{Infobox basketball biography
| name            = 
| image           = 
| alt             =
| birth_date      = 
| birth_place     = 
| 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 = 
}}

Blank template with parameters for coaches

[edit]
{{Infobox basketball biography
| name        = 
| image       = 
| alt         =
| team        = 
| position    = 
| league      = 
| birth_date  = 
| birth_place = 
| height_ft   = 
| height_in   = 
| weight_lb   = 
| high_school = 
| college     = 
| coach_start = 
| coach_end   = 
| cyears1     = 
| cteam1      = 
| highlights  = 
| HOF_coach   = 
}}

Blank template with all parameters

[edit]
{{Infobox basketball biography
| embed           = 
| name            = 
| image           = 
| image_size      = 
| alt             = 
| caption         = 
| number          = 
| team            = 
| position        = 
| league          = 
| conference      = 
| birth_date      = 
| birth_place     = 
| death_date      = 
| death_place     = 
| height_ft       = 
| height_in       = 
| height_cm       = 
| height_order    = 
| height_footnote = 
| weight_lb       = 
| weight_kg       = 
| weight_order    = 
| weight_footnote = 
| high_school     = 
| college         = 
| pro_club        = 
| draft_year      = 
| draft_round     = 
| draft_pick      = 
| draft_team      = 
| draft_league    = 
| draft_pba       = 
| draft_year_pba  = 
| draft_round_pba = 
| draft_pick_pba  = 
| draft_team_pba  = 
| 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    = 
| nbanew          = 
| wnba_profile    = 
| bbr             = 
| bbr_wnba        = 
| 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 = 
| FIBA_HOF_coach  = 
| FIBA_HOF_official = 
| CBBASKHOF_year  = 
| medal_templates = 
}}

Height and weight units

[edit]

To specify the players height in feet and inches, and weight in pounds, use

| height_ft = 
| height_in = 
| weight_lb =

For centimeters and kilograms, use

| height_cm = 
| weight_kg =

For meters and kilograms, use

| height_m  = 
| weight_kg =

To control the order that the provided and converted measurements are shown

| height_order  = 
| weight_order =

Parameters

[edit]
Parameters Usage Note
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
alt Alternate text for the image. Highly suggested to use with any image. Click the link for more info on writing alt text. 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
conference The person's current conference. Requires "team" to be set and "league" not set to be displayed. Optional
birth_date The person's birth date.
birth_place The person's birth place. Typically <city>, <state>, <country>.[1]
death_date The person's death date. Optional
death_place The person's death place. Typically <city>, <state>, <country>. Optional
nationality/nationality_2 The person's respective nationality. Avoid using if can be inferred from country of birth, per WP:INFONAT. Deprecated
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 ft 11 in (2.11 m) 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 ft 11 in) 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 m (6 ft 11 in) 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]]([[season|year]]–[[season|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. [[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
pro_club Pre-draft club Optional
draft_year The year in which the player entered the 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 an NBA territorial pick, then put [[NBA territorial pick|territorial pick]]. 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
draft_pba, draft_year_pba, draft_round_pba, draft_pick_pba, draft_team_pba Parameters for Philippine Basketball Association draft. For examples, see June Mar Fajardo and Robert Jaworski. 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.
referee_start The year in which the person's referee career began.
referee_end The year in which the person's referee career ended.
years1, team1,
years2, team2,
...
years40, team40
All the team(s) the person has played for during their career.
Should follow the format:
|years1 = [[season|year]]–[[season|year]] |team1 = [[Team1]]
|years2 = [[season|year]]–[[season|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 = [[season|year]]–[[season|year]] |team1 = [[NBA team]]
|years2 = [[season|year]]–[[season|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,
cyears2, cteam2,
...
cyears15, cteam15
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:

* #× [[Award 1]] ([[season|year]], [[season|year]])
* #× [[Award 2]] ([[season|year]], [[season|year]])

Omit #× if the award is won only once.
To denote consecutive years, use endash instead of comma and omit the year(s) in between.
If possible, use the full name of the award.
If a separate article exists for the highlight's specific year, link to that article instead of the general season:
*2× [[List of NBA All-Stars|NBA All-Star]] ([[2005 NBA All-Star Game|2005]], [[2011 NBA All-Star Game|2011]])
Medals shall be listed under medal_templates and not under highlights.
Players with 5+ professional highlights should limit college highlights to NCAA championships, awards at Template:Men's college basketball award navbox, and NCAA Tournament MOPs.
For NBA biographies, see Wikipedia:WikiProject National Basketball Association/Style advice for more conventions on highlights.

Optional
stat1label, stat1value,
stat2label, stat2value,
stat3label, stat3value
Career statistics for retired players i.e. when "career_end" is set Optional
stats_league League(s) for career statistics specified Optional
nbanew For NBA players, the numeric identifier after nba.com/player/ in the URL of the player's NBA.com profile (see links at nba.com/players). Example: 1626178 in nba.com/stats/player/1626178. The default is the value in Wikidata property NBA.com player ID (P3647). Optional
wnba_profile For WNBA players, the text between the last and second-last slashes in the URL of the player's WNBA.com profile (see links at wnba.com/playerfile). Example: marianna-tolo in wnba.com/player/marianna-tolo/. This identifier may also be found in Wikidata property WNBA player ID (P3588) (property not currently used by this infobox). Optional
bbr For NBA players, the text between the last slash and .html in the URL of the player's basketball-reference.com profile (see links at basketball-reference.com/players/). Example: abdulka01 in basketball-reference.com/players/a/abdulka01.html. The default is the value in Wikidata property Basketball Reference NBA player ID (P2685). 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 (see links at basketball-reference.com/wnba/players/). Example: mccrani01w in basketball-reference.com/wnba/players/m/mccrani01w.html. This identifier may also be found in Wikidata property Basketball Reference WNBA player ID (P4561) (property not currently used by this infobox). Optional
cstats_league1, cwin1, closs1
cstats_league2, cwin2, closs2
...
cstats_league5, cwin5, closs5
Win-loss record per league coached for retired coaches i.e. when coach_end is set Optional
HOF, HOF_player, HOF_coach For Naismith Memorial Basketball Hall of Fame inductees, the text after the last slash in the URL of the person's HoopHall.com profile (see links at hoophall.com/hall-of-famers/). Example: rebecca-lobo in hoophall.com/hall-of-famers/rebecca-lobo. This identifier may also be found in Wikidata property Naismith Memorial Basketball Hall of Fame ID (P3646) (property not currently used by this infobox).
For individual inducted as a player, use HOF_player.
For individual inducted as a coach, use HOF_coach.
Optional
WBHOF, womensHOF For Women's Basketball Hall of Fame inductees, the text after famers/ and before the last slash in the URL of the person's WBHOF.com profile (see links at wbhof.com/hall-of-famers/alphabetical-list-of-inductees/). Example: rebecca-lobo in wbhof.com/famers/rebecca-lobo/. This identifier may also be found in Wikidata property Women's Basketball Hall of Fame ID (P4410) (property not currently used by this infobox). Infobox uses {{wbhoflink}} to create the URL, check for valid identifiers, and place articles with unknown identifiers in Category:Pages with incorrect WBHOF links (0). Optional
FIBA_HOF_player, FIBA_HOF_coach, FIBA_HOF_official For FIBA Hall of Fame inductees, the text after the last slash in the URL of the person's FIBA.basketball hall of fame profile (see links at fiba.basketball/hall-of-fame). Examples: Toni-Kukoc in fiba.basketball/hall-of-fame/Toni-Kukoc or Sarunas-MARCIULIONIS in fiba.basketball/hall-of-fame/Sarunas-MARCIULIONIS. This identifier may also be found in Wikidata property FIBA Hall of Fame ID (P8712) (property not currently used by this infobox).
For individual inducted as a player, use FIBA_HOF_player.
For individual inducted as a coach, use FIBA_HOF_coach.
For individual inducted as an official, use FIBA_HOF_official.
Optional
CBBASKHOF_year Year inducted into the National Collegiate Basketball Hall of Fame Optional
medal_templates For medal templates only Optional

Examples

[edit]
Kevin Garnett
Garnett with the Celtics in 2008
No. 21 – Minnesota Timberwolves
PositionPower forward
LeagueNBA
Personal information
Born (1976-05-19) May 19, 1976 (age 48)
Greenville, South Carolina, U.S.
Listed height6 ft 11 in (2.11 m)
Listed weight253 lb (115 kg)
Career information
High schoolMauldin High School
Farragut Career Academy
NBA draft1995: 1st round, 5th overall pick
Selected by the Minnesota Timberwolves
Playing career1995–present
Career history
1995–2007Minnesota Timberwolves
2007–2013Boston Celtics
2013–2015Brooklyn Nets
2015–presentMinnesota Timberwolves
Career highlights and awards
Stats at NBA.com
Stats at Basketball Reference
Basketball Hall of Fame
Medals
Men's basketball
Representing the  United States
Olympic Games
Gold medal – first place 2000 Sydney Team Event
FIBA Americas Championship
Gold medal – first place 1999 San Juan
{{Infobox basketball biography
| name         = Kevin Garnett
| image        = Kevin Garnett 2008-01-13.jpg
| caption      = Garnett with the Celtics in 2008
| number       = 21
| team         = Minnesota Timberwolves
| position     = [[Power forward (basketball)|Power forward]]
| league       = [[NBA]]
| birth_date   = {{birth date and age|mf=yes|1976|5|19}}
| birth_place  = [[Greenville, South Carolina]], U.S.
| height_ft    = 6
| height_in    = 11
| weight_lb    = 253
| high_school  = [[Mauldin High School]]<br />[[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   = 
*[[List of NBA champions|NBA champion]] ([[2008 NBA Finals|2008]])
*[[NBA Most Valuable Player Award|NBA Most Valuable Player]] ([[2003–04 NBA season|2004]])
*[[NBA Defensive Player of the Year Award|NBA Defensive Player of the Year]] ([[2007–08 NBA season|2008]])
*13× [[List of NBA All-Stars|NBA All-Star]] ([[1997 NBA All-Star Game|1997]][[1998 NBA All-Star Game|1998]], [[2000 NBA All-Star Game|2000]][[2010 NBA All-Star Game|2010]])
*4× [[All-NBA Team|All-NBA First Team]] ([[1999–2000 NBA season|2000]], [[2002–03 NBA season|2003]][[2003–04 NBA season|2004]], [[2007–08 NBA season|2008]])
*3× [[All-NBA Team|All-NBA Second Team]] ([[2000–01 NBA season|2001]][[2001–02 NBA season|2002]], [[2004–05 NBA season|2005]])
*2× [[All-NBA Team|All-NBA Third Team]] ([[1998–99 NBA season|1999]], [[2006–07 NBA season|2007]])
*8× [[NBA All-Defensive Team|All-Defensive First Team]] ([[1999–00 NBA season|2000]][[2004–05 NBA season|2005]], [[2007–08 NBA season|2008]][[2008–09 NBA season|2009]])
*2× [[NBA All-Defensive Team|All-Defensive Second Team]] ([[2005–06 NBA season|2006]][[2006–07 NBA season|2007]])
*[[NBA All-Rookie Team|NBA All-Rookie Second Team]] ([[1995–96 NBA season|1996]])
*[[NBA All-Star Game Most Valuable Player Award|NBA All-Star Game MVP]] ([[2002–03 NBA season|2003]])
*[[J. Walter Kennedy Citizenship Award]] ([[2005–06 NBA season|2006]])
| nbanew          = 708
| letter          = g
| bbr             = garneke01
| HOF_player      = kevin-garnett
| medal_templates = 
{{Medal|Sport|Men's [[basketball]]}}
{{Medal|Country|the {{bk|USA}}}}
{{Medal|Competition|[[Olympic Games]]}}
{{Medal|Gold|[[2000 Summer Olympics|2000 Sydney]] | [[Basketball at the 2000 Summer Olympics – Men's tournament|Team Event]]}}
{{Medal|Competition|[[FIBA Americas Championship]]}}
{{Medal|Gold|[[FIBA Americas Championship 1999|1999 San Juan]]|}}
}}

Microformats

[edit]

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

[edit]

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

[edit]

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

Template Data

[edit]
TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Infobox basketball biography in articles based on its TemplateData.

TemplateData for Infobox basketball biography

An infobox for basketball biography.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The person's name, in first-last format. Do not put nicknames, sourced or not.

Stringoptional
Imageimage

The person's image.

Fileoptional
Image sizeimage_size

The size of the image. Use only when there is an image.

Numberoptional
Captioncaption

The caption of the image. Write a concise and accurate statement. Image with only a person's face usually do not need a caption.

Stringoptional
Numbernumber

The person's current jersey number.

Numberoptional
Teamteam

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.

Stringoptional
Positionposition

The person's position. For a player's position, use one of the five official positions. Avoid using abbreviations.

Stringoptional
Leagueleague

The person's current league. Requires 'team' to be set to be displayed.

Stringoptional
Conferenceconference

The person's current conference. Requires 'team' to be set and 'league' not set to be displayed.

Stringoptional
Birth datebirth_date

The person's birth date.

Stringoptional
Birth placebirth_place

The person's birth place. Typically <city>, <state>, <country>.

Stringoptional
death datedeath_date

The person's death date.

Stringoptional
Death placedeath_place

The person's birth place. Typically <city>, <state>, <country>.

Stringoptional
Nationalitynationality

The person's respective nationality. Do not specify if it is consistent with their country of birth.

Stringoptional
Height in feetheight_ft

The player's height in feet when specified in feet and inches. When specifying, round to the nearest inch. For example, for a player 6 ft 11 in (2.11 m) tall, the 'height in feet' parameter should show '6', and the 'height in inches' parameter, '11'. Use either height_ft/height_in or height_cm or height_m but not more than one type at the same time.

Numberoptional
Height in inchesheight_in

The player's height in inches when specifying in feet and inches. When specifying, round to the nearest inch. For example, for a player 6 ft 11 in (2.11 m) tall, the 'height in feet' parameter should show '6', and the 'height in inches' parameter, '11'. Use either height_ft/height_in or height_cm or height_m but not more than one type at the same time.

Numberoptional
Height in centimetersheight_cm

The player's height in centimeters. When specifying, round to the nearest cm. For example, for a player 211 cm (6 ft 11 in) 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.

Numberoptional
Height in metersheight_m

The player's height in meters. When specifying, use two digits of precision. For example, for a player 2.11 m (6 ft 11 in) 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.

Numberoptional
Height display orderheight_order

Height is shown in the provided units first. Set to ''flip'' to show the converted units first.

Stringoptional
Height footnoteheight_footnote

Use only if an additional note needs to be placed next to the height, e.g. an explanatory note for a disputed height.

Stringoptional
Weight in poundsweight_lb

The player's weight in pounds. Use either weight_lb or weight_kg but not both.

Numberoptional
Weight in kilogramsweight_kg

The player's weight in kilograms. Use either weight_kg or weight_lb but not both.

Numberoptional
Weight display orderweight_order

Weight is shown in the provided units first. Set to ''flip'' to show the converted units first.

Stringoptional
High schoolhigh_school

The person's high school.

Stringoptional
Collegecollege

The college(s) the person attended prior to a professional basketball career. Players should follow the format:[[college basketball team article|college name]]([[season|year]]–[[season|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. [[Loyola Marymount Lions|Loyola Marymount]]. Otherwise, wikilink to the school's article.

Lineoptional
Draft yeardraft_year

The year in which the player entered the draft.

Stringoptional
Draft rounddraft_round

The player's draft round. If a player was not drafted, this parameter is not necessary.

Stringoptional
Draft pickdraft_pick

The player's draft pick number. If a player was not drafted, this parameter is not necessary. If a player was an NBA territorial pick, then put [[NBA territorial pick|territorial pick]].

Stringoptional
Draft teamdraft_team

The player's draft team. If a player was not drafted, this parameter is not necessary.

Stringoptional
Draft leaguedraft_league

The league of the player's draft team. If a player was not drafted, this parameter is not necessary.

Default
NBA
Stringoptional
Career startcareer_start

The year in which the player started their career

Stringoptional
Career endcareer_end

The year in which the player ended their career

Stringoptional
Career positioncareer_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.

Stringoptional
Career numbercareer_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.

Numberoptional
Coach startcoach_start

The year in which the person's coaching career began.

Stringoptional
Coach endcoach_end

The year in which the person's coaching career ended.

Stringoptional
Years and Teamsyears1,team1

All the team(s) the person has played for during their career.Should follow the format:|years1 = [[season|year]]–[[season|year]] | team1 = [[Team1]].

Stringoptional
Coached teams in the yearscyears1,cteam1

All the team(s) the person has coached for during their career.

Stringoptional
Highlightshighlights

All notable highlights and awards that the person has won. Should follow the format: * #× [[Award 1]] ([[season|year]], [[season|year]])-Omit #× if the award is won only once.To denote consecutive years, use endash instead of comma and omit the year(s) in between.If possible, use the full name of the award.

Stringoptional
BBRbbr

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/).

Stringoptional
BBR WNBAbbr_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/).

Stringoptional
NBA profilenbanew

The numeric id after https://nba.com/player/ in the URL of the player's NBA.com profile (linked at [http://www.nba.com/players nba.com/players]).

Stringoptional
WNBA profilewnba_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).

Stringoptional
Hall of FameHOF/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.

Stringoptional
Women's Hall of FameWBHOF

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

Stringoptional
FIBA HOF playerFIBA_HOF_player

The number between the last and second-last slash in the URL of the player's FIBA Hall of Fame profile

Stringoptional
CBBASKHOF yearCBBASKHOF_year

Year inducted into the National Collegiate Basketball Hall of Fame

Stringoptional
Medal templatesmedal_templates

For medal templates only

Stringoptional
Alt text for imagealt

Alt text for the image. For more information, see MOS:ALT.

Stringoptional

Tracking categories

[edit]

See also

[edit]

Notes

[edit]