close
Sayahna Sayahna
Search

Difference between revisions of "Template:Hockeydb"


m (Changed protection level of Template:Hockeydb: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite)))
 
m (1 revision)
 
(No difference)

Latest revision as of 04:06, 22 March 2014

Hockeydb's career statistics at The Internet Hockey Database

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

Usage

{{Hockeydb|id|name|[team=yes]}}

where:

  • id is the numeric id found in url http://www.hockeydb.com/ihdb/stats/pdisplay.php?pid=XXXXX for players or http://www.hockeydb.com/ihdb/stats/teamseasons.php?tid=XXX for teams
  • name is the player/team name
  • team=yes is an optional field that will make the template work to display team statistics instead of individual

Example:

{{Hockeydb|73288|Sidney Crosby}}

produces: Sidney Crosby's career statistics at The Internet Hockey Database

Team example:

{{Hockeydb|690|Colorado Avalanche|team=yes}}

produces: Colorado Avalanche season statistics and records at The Internet Hockey Database

fr:Modèle:Hockeydb ja:Template:Hockeydb no:Mal:Hockeydb