Bản mẫu:Infobox basketball biography

Bách khoa toàn thư mở Wikipedia
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Usage[sửa mã nguồn]

Height and weight units[sửa mã nguồn]

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 = 

Thông số[sửa mã nguồn]

Thông số Sử dụng Ghi chú
name Tên của nhân vật đó. Không đặt biệt danh, bí danh. Optional
image Hình ảnh nhân vật. Optional
image_size Kích thước của hình ảnh. Chỉ sử dụng khi có một hình ảnh Optional
caption Chú thích của hình ảnh. Viết một cách ngắn gọn và chính xác. Hình ảnh chỉ có khuôn mặt của một người thường không cần phải chú thích. Optional
number Số áo hiện tại của nhân vật.
position The person's position. For a player's position, use one of the five official positions. Avoid using abbreviations. 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 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)[chuyển đổi: số không hợp lệ] 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_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_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
league The person's current league. Requires "team" to be set to be displayed. Optional
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
team_link Use only if the team name does not match the team's article title. Optional
birth_date The person's birth date.
birth_place The person's birth place.
death_date The person's death date. Optional
death_place The person's death place. Optional
nationality The person's respective nationality. 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.
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 [[NBA territorial pick|Territorial]]. Optional
draft_team The player's draft team. If a player was not drafted, this parameter is not necessary. Optional
career_start The year in which the player started his/her career
career_end The year in which the player ended this/her career
career_position The position(s) played while a player. Used when a former player is now an active coach.
career_number The number(s) worn while a player. Used when a former player is now an active coach, or an active player that has worn other 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,
years2, team2,
...
years40, team40
All the team(s) the person has played for during his 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.
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 Development League on assignment should be listed in the following format:
|years1 = [[season|year]]–[[season|year]] |team1 = [[NBA team]]
|years2 = [[season|year]]–[[season|year]] |team2 = →[[D-League team]] ([[NBA Development League|D-League]])
If a player is in the D-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. The country which an overseas team is based should be listed with the format:
|teamN = [[OverseasTeam]] ([[OverseasLeague|country]])
cyears1, cteam1,
cyears2, cteam2,
...
cyears15, cteam15
All the team(s) the person has coached for during his career. 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/Article guidelines for more conventions on highlights.

Optional
letter The text between the last and second-last slashes in the URL of the player's basketball-reference.com profile Optional
bbr The text between the last slash and .html in the URL of the player's basketball-reference.com profile Optional
nba_profile The text between the last and second-last slashes in the URL of the player's NBA.com profile (linked at nba.com/players).
Optional
nba_historical_profile Normally not used, a flag to force use of NBA.com profile at stats.nba.com/playerProfile.html?PlayerID=. For example, use if player's career is not over but is no longer playing in the NBA and the profile at nba.com/players is a dead link. Set to any non-empty value to enable. As a matter of style, only pass in "y" (without quotes). 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
FIBA_HOF_player The number between the last and second-last slash 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

Ví dụ[sửa mã nguồn]

Kevin Garnett
Garnett with the Celtics on January 13, 2008
Số 2 – Brooklyn Nets
Vị tríPower forward
Giải đấuNBA
Thông tin cá nhân
Sinh19 tháng 5, 1976 (47 tuổi)
Greenville, South Carolina
Quốc tịchAmerican
Thống kê chiều cao6 ft 11 in (211 cm)
Thống kê cân nặng253 lb (115 kg)
Thông tin sự nghiệp
Trung họcTrung học Mauldin
Học viện Farragut Career
NBA Draft1995 / Vòng: 1 / Chọn: 5 tổng
Được lựa chọn bởi Minnesota Timberwolves
Sự nghiệp thi đấu1995–hiện tại
Quá trình thi đấu
1995–2007Minnesota Timberwolves
2007–nayBoston Celtics
Danh hiệu nổi bật và giải thưởng
Thống kê tại NBA.com
Danh hiệu
Đại diện cho  Hoa Kỳ
Basketball
Olympic Games
Huy chương vàng – vị trí thứ nhất 2000 Sydney United States
{{Infobox basketball biography
| name = Kevin Garnett
| image = Kevin Garnett 2008-01-13.jpg
| caption = Garnett with the Celtics on January 13, 2008
| position = [[Power forward (basketball)|Power forward]] 
| height_ft = 6
| height_in = 11
| weight_lb = 253
| league = [[NBA]]
| team = Brooklyn Nets
| team_link = 
| number = 2
| birth_date = {{birth date and age|mf=yes|1976|5|19}}
| birth_place = [[Greenville, South Carolina]]
| nationality = American
| 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–present
| team2 = [[Boston Celtics]]
| 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]])
| nba_profile = kevin_garnett
| medal_templates = 
{{MedalCountry|{{USA}}}}
{{MedalSport|[[Basketball]]}}
{{MedalCompetition|[[Olympic Games]]}}
{{MedalGold|[[2000 Summer Olympics|2000 Sydney]] | [[Basketball at the 2000 Summer Olympics|United States]]}}
}}

Microformats[sửa mã nguồn]

Các dấu HTML cung cấp bởi bản mẫu này bao gồm một microformat chuẩn hCard, mà làm cho các chi tiết của một người được phân tách bằng máy tính, hoặc tự động tạo danh mục bài viết trên Wikipedia hoặc thông qua một công cụ trình duyệt điều hành bởi một người đọc, để (ví dụ) thêm chủ đề vào sổ địa chỉ hay cơ sở dữ liệu. Để biết thêm thông tin về việc sử dụng các microformat trên Wikipedia, xin xem thêm dự án về microformat.

Bản mẫu con[sửa mã nguồn]

Thông tin ngày sinh ("bday") sẽ chỉ được thêm vào microformat nếu {{birth date}}, hoặc {{birth date and age}} được sử dụng trong infobox. (Không sử dụng nếu ngày sinh nằm trước năm 1583). Hãy thận trọng về việc sử dụng những mục này nếu người đó còn sống, xem thêm Wikipedia:Tiểu sử người đang sống.

Để thêm một đường dẫn URL, sử dụng {{URL}}.

Xin đừng xóa các trường hợp bản mẫu con này.

Các lớp[sửa mã nguồn]

hCard sử dụng các lớp (class) của HTML bao gồm:

  • 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

Xin đừng đổi tên hoặc xoá các lớp này hay gộp các thành phần ẩn mà sử dụng các lớp đó.

Template Data[sửa mã nguồn]

Đây là tài liệu Dữ liệu bản mẫu cho bản mẫu này được sử dụng bởi Trình soạn thảo trực quan và các công cụ khác; xem báo cáo sử dụng tham số hàng tháng cho bản mẫu này.

Dữ liệu bản mẫu cho Infobox basketball biography

An infobox for basketball biography.

Tham số bản mẫu[Quản lý Dữ liệu bản mẫu]

Tham sốMiêu tảKiểuTrạng thái
Namename

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

Mặc định
Chuỗi dàitùy chọn
Imageimage

The person's image.

Mặc định
Tên trangtùy chọn
Image sizeimage_size

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

Mặc định
Sốtùy chọn
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.

Mặc định
Chuỗi dàitùy chọn
Numbernumber

The person's current jersey number.

Mặc định
Sốtùy chọn
Positionposition

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

Mặc định
Chuỗi dàitùy chọn
Height in feet OR inchesheight_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.

Mặc định
Sốtùy chọn
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.

Mặc định
Sốtùy chọn
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.

Mặc định
Sốtùy chọn
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.

Mặc định
Chuỗi dàitùy chọn
Weight in poundsweight_lb

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

Mặc định
Sốtùy chọn
Weight in kilogramsweight_kg

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

Mặc định
Sốtùy chọn
Weight footnoteweight_footnote

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

Mặc định
Chuỗi dàitùy chọn
Leagueleague

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

Mặc định
Chuỗi dàitùy chọn
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.

Mặc định
Chuỗi dàitùy chọn
Team linkteam_link

Use only if the team name does not match the team's article title.

Mặc định
Chuỗi dàitùy chọn
Birth datebirth_date

The person's birth date.

Mặc định
Chuỗi dàitùy chọn
Birth placebirth_place

The person's birth place.

Mặc định
Chuỗi dàitùy chọn
death datedeath_date

The person's death date.

Mặc định
Chuỗi dàitùy chọn
Death placedeath_place

The person's birth place.

Mặc định
Chuỗi dàitùy chọn
Nationalitynationality

The person's respective nationality.

Mặc định
Chuỗi dàitùy chọn
High schoolhigh_school

The person's high school.

Mặc định
Chuỗi dàitùy chọn
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.

Mặc định
Chuỗi ngắntùy chọn
Draft yeardraft_year

The year in which the player entered the NBA draft.

Mặc định
Chuỗi dàitùy chọn
Draft rounddraft_round

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

Mặc định
Chuỗi dàitùy chọn
Draft pickdraft_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 [[NBA territorial pick|Territorial]].

Mặc định
Chuỗi dàitùy chọn
Draft teamdraft_team

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

Mặc định
Chuỗi dàitùy chọn
Career startcareer_start

The year in which the player started his/her career

Mặc định
Chuỗi dàitùy chọn
Career endcareer_end

The year in which the player ended his/her career

Mặc định
Chuỗi dàitùy chọn
Career positioncareer_position

The position(s) played while a player. Used when a former player is now an active coach.

Mặc định
Chuỗi dàitùy chọn
Career numbercareer_number

The number(s) worn while a player. Used when a former player is now an active coach, or an active player that has worn other numbers.

Mặc định
Sốtùy chọn
Coach startcoach_start

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

Mặc định
Chuỗi dàitùy chọn
Coach endcoach_end

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

Mặc định
Chuỗi dàitùy chọn
Years and Teamsyears1,team1

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

Mặc định
Chuỗi dàitùy chọn
Coached teams in the yearscyears1,cteam1

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

Mặc định
Chuỗi dàitùy chọn
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.

Mặc định
Chuỗi ngắntùy chọn
Letterletter

The text between the last and second-last slashes in the URL of the player's basketball-reference.com profile

Mặc định
Chuỗi dàitùy chọn
BBRbbr

The text between the last slash and.html in the URL of the player's basketball-reference.com profile

Mặc định
Chuỗi dàitùy chọn
NBA profilenba_profile

The text between the last and second-last slashes in the URL of the player's NBA.com profile (linked at nba.com/players).

Mặc định
Chuỗi dàitùy chọn
NBA historical profilenba_historical_profile

Normally not used, a flag to force use of NBA.com profile at stats.nba.com/playerProfile.html?PlayerID=. For example, use if player's career is not over but is no longer playing in the NBA and the profile at nba.com/players is a dead link. Set to any non-empty value to enable. As a matter of style, only pass in 'y'.

Mặc định
Chuỗi dàitùy chọn
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.

Mặc định
Chuỗi dàitùy chọn
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

Mặc định
Chuỗi dàitùy chọn
CBBASKHOF yearCBBASKHOF_year

Year inducted into the National Collegiate Basketball Hall of Fame

Mặc định
Chuỗi dàitùy chọn
Medal templatesmedal_templates

For medal templates only

Mặc định
Chuỗi dàitùy chọn