Template:Basketballstats
- Career statistics and player information from
Guidelines
This will create an external link to the statistics for a basketball player.
Usage
This 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
http://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
Active 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
- {{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. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
The above documentation is transcluded from Template:Basketballstats/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |