Difference between revisions of "Template:Basketballstats/doc"
(+th) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:12, 22 March 2014
40px | This is a documentation subpage for Template:Basketballstats. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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
See also
- {{Cite basketball-reference}}, for usage of Basketball-Reference.com player pages as citations