Template:Basketballstats
- Career statistics and player information from
Guidelines
changeThis will create an external link to the statistics for a basketball player.
Usage
changeThis template takes up to four parameters:
- nba, for active National Basketball Association (NBA) players, the player's name as it appears after
http://www.nba.com/playerfile/
in its NBA.com player page url - nba_historical, for former NBA player, the player's name as it appears after
http://www.nba.com/historical/playerfile/index.html?player=
in its NBA.com player page url - bbr, for NBA or original American Basketball Association players, the id as it appears after
https://www.basketball-reference.com/players/
and before.html
in its Basketball-Reference.com player page url - dleague for NBA D-League players, the player's name as it appears after
http://www.nba.com/dleague/playerfile/
and before/index.html
in its NBA.com/dleague player page url
Examples
changeActive NBA player Kobe Bryant:
{{basketballstats|nba=kobe_bryant|bbr=b/bryanko01}}
Output:
- Career statistics and player information from NBA.com, or Basketball-Reference.com
Retired NBA player Kareem Abdul-Jabbar:
{{basketballstats|nba_historical=kareem_abdul-jabbar|bbr=a/abdulka01}}
Output:
- Career statistics and player information from NBA.com, or Basketball-Reference.com
Active NBA player and former D-Leaguer Jeremy Lin:
{{basketballstats|nba=jeremy_lin|bbr=l/linje01|dleague=jeremy_lin}}
Output:
- Career statistics and player information from NBA.com, or Basketball-Reference.com, or NBA.com/dleague
Related pages
change- {{Cite basketball-reference}}, for usage of Basketball-Reference.com player pages as citations
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |