Template:Ice hockey stats/sandbox
Career statistics and player information from NHL.com, or Eliteprospects.com, or ESPN.com, or Eurohockey.com, or Hockey-Reference.com, or Legends of Hockey, or Legends of Hockey, or The Internet Hockey Database, or TSN.ca
![]() | This is the template sandbox page for Template:Ice hockey stats (diff). See also the companion subpage for test cases. |
Template:Uses Wikidata Template:Uses Wikidata Template:Uses Wikidata Template:Uses Wikidata Template:Uses Wikidata Template:Uses Wikidata
Template:Ice hockey stats displays external links to multiple websites containing an ice hockey player's statistics. It is intended for use in the external links section of an article.
Usage
To add ice hockey links based the properties stored in an article's Wikidata item, copy and paste this text to an ice hockey player's external links section:
* {{Ice hockey stats}}
To use this template with manual values follow the examples below.
Examples
Example for Eric Staal:
* {{Ice hockey stats |nhl=8470595 |elite=3656 |espn=2378 |euro=491796 |hr=s/staaler01 |legends=20889 |hockeydb=55283 |tsn=eric-staal }}
- Biographical information and career statistics from NHL.com, or Eliteprospects.com, or ESPN.com, or Eurohockey.com, or Hockey-Reference.com, or Legends of Hockey, or The Internet Hockey Database, or TSN.ca
Example for Bobby Orr:
* {{Ice hockey stats |nhl=8450070 |elite=19145 |hr=o/orrbo01 |legendsm=P197902 |hockeydb=4085 }}
- Biographical information and career statistics from NHL.com, or Eliteprospects.com, or ESPN.com, or Eurohockey.com, or Hockey-Reference.com, or Legends of Hockey, or The Internet Hockey Database
To find a player's ID, find the player's page on a website and locate a string of numbers or letters in the URL similar to the ones above. That is the player's ID.
Parameters
- ↑ Wikidata property P3567 is not automatically used in the template at this time.
The above documentation is transcluded from Template:Ice hockey stats/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |