Template:Ice hockey stats/doc: Difference between revisions
m update table formatting and URLs |
m →Examples: remove test |
||
Line 23: | Line 23: | ||
* {{{{BASEPAGENAME}} |nhl=8470595 |elite=3656 |espn=2378 |euro=491796 |hr=s/staaler01 |legends=20889 |hockeydb=55283 |tsn=eric-staal }} |
* {{{{BASEPAGENAME}} |nhl=8470595 |elite=3656 |espn=2378 |euro=491796 |hr=s/staaler01 |legends=20889 |hockeydb=55283 |tsn=eric-staal }} |
||
* {{{{BASEPAGENAME}} |nhl=8470595 |elite=3656 |espn=2378 |euro=491796 |hr=s/staaler01 |legends=20889 |legendsm=XXXX |hockeydb=55283 |tsn=eric-staal }} |
|||
Example for [[Bobby Orr]]: |
Example for [[Bobby Orr]]: |
Revision as of 04:38, 12 March 2020
This is a documentation subpage for Template:Ice hockey stats. It may contain usage information, categories and other content that is not part of the original template page. |
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 The Internet Hockey Database, or TSN.ca
Example for Bobby Orr:
* {{Ice hockey stats |nhl=8450070 |elite=19145 |hr=o/orrbo01 |legendsm=P197902 |legendstype=Player |hockeydb=4085 }}
- Biographical information and career statistics from NHL.com, or Eliteprospects.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.