Template:Hockeydb/doc
40px | This is a documentation subpage for Template:Hockeydb. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{Hockeydb|id|name|[team=yes]}}
where:
id
is the numeric id found in urlhttp://www.hockeydb.com/ihdb/stats/pdisplay.php?pid=XXXXX
for players orhttp://www.hockeydb.com/ihdb/stats/teamseasons.php?tid=XXX
for teamsname
is the player/team nameteam=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