Permanently protected template

Template:Basketballstats

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search


Template documentation[view] [edit] [history] [purge]

Guidelines

This will create an external link to the statistics for a basketball player.

Usage

This template takes up to two parameters:

  • nba, for National Basketball Association (NBA) players (active or retired):
    • For active players, you may use the player's name, all lowercase, with underscores replacing spaces (see example below), or you may use the ID number (appears at the end of the URL): http://www.nba.com/players/lebron/james/2544
    • For retired/historical players, you must use the player's ID number as it appears the end of the NBA.com URL: http://stats.nba.com/player/959/. The URL may may have career/ at the end, which may be ignored.
  • 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

Examples

NBA player LeBron James (using name – lowercase, replace spaces with underscores):

{{basketballstats|nba=lebron_james|bbr=j/jamesle01}}

Output:

Retired NBA player Kareem Abdul-Jabbar (must use ID):

{{basketballstats|nba=76003|bbr=a/abdulka01}}

Output:

See also