Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Basketballstats/doc

From Wikipedia, the free encyclopedia


Guidelines

[edit]

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

Usage

[edit]

This template can accept a nobullet= parameter which will prevent it from emitting a bullet. The template takes up to two additional parameters:

NBA

[edit]
  • nba, for National Basketball Association (NBA) players (active or retired):
    • For active players, you may use the ID which appears at the end of the URL: https://www.nba.com/players/first/last/12345
    • For retired/historical players, you must use the player's ID number as it appears the end of the URL: https://stats.nba.com/player/12345/. The URL 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

WNBA

[edit]
  • wnba, for Women's National Basketball Association (WNBA) players.
    • For active players, you may use the ID which appears at the end of the URL: https://www.wnba.com/player/12345/first-last
    • For retired/historical players, you must use the player's ID number as it appears the end of the URL: https://stats.wnba.com/player/12345/.
  • wbbr, for WNBA players, the id as it appears after https://www.basketball-reference.com/wnba/players/ and before .html in its Basketball-Reference.com player page URL

Sports Reference

[edit]
  • sr for players who don't have a Basketball Reference page. If a Basketball Reference page is specified Sports Reference won't be linked
    • The id is the part after https://www.sports-reference.com/cbb/players/ and before .html

Examples

[edit]

NBA

[edit]
NBA player Stephen Curry (using ID from URL)

Usage

* {{Basketballstats |nba= stephen/curry/201939 }}
* {{Basketballstats |bbr= c/curryst01 }}
* {{Basketballstats |nba= stephen/curry/201939 |bbr= c/curryst01 }}

Output

URLs

https://www.nba.com/players/stephen/curry/201939 (redirects to https://www.nba.com/player/201939)
https://www.basketball-reference.com/players/c/curryst01.html
Retired NBA player Kareem Abdul-Jabbar (must use ID number)

Usage

* {{Basketballstats |nba= 76003 }}
* {{Basketballstats |bbr= a/abdulka01 }}
* {{Basketballstats |nba= 76003 |bbr= a/abdulka01 }}

Output

URLs

https://stats.nba.com/player/76003/ (redirects to https://www.nba.com/stats/player/76003)
https://www.basketball-reference.com/players/a/abdulka01.html

WNBA

[edit]
Current WNBA player Natasha Howard (using ID from URL)

Usage

* {{Basketballstats |wnba= 203827/natasha-howard }}
* {{Basketballstats |wbbr= h/howarna01w }}
* {{Basketballstats |wnba= 203827/natasha-howard |wbbr= h/howarna01w }}

Output

URLs

https://www.wnba.com/player/203827/natasha-howard (formerly https://www.wnba.com/player/natasha-howard/)
https://www.basketball-reference.com/wnba/players/h/howarna01w.html
Retired WNBA player Vicki Hall (must use ID number)

Usage

* {{Basketballstats |wnba= 100458 }}
* {{Basketballstats |wbbr= h/hallvi01w }}
* {{Basketballstats |wnba= 100458 |wbbr= h/hallvi01w }}

Output

URLs

https://stats.wnba.com/player/100458/
https://www.basketball-reference.com/wnba/players/h/hallvi01w.html

See also

[edit]