Difference between revisions of "Template:HockeyDB/doc"
Jump to navigation
Jump to search
imported>RockMFR (moved from Template:Hockeydb) |
imported>GregorB (+cat) |
||
| Line 19: | Line 19: | ||
<includeonly> | <includeonly> | ||
| − | [[Category: | + | [[Category:People and person external link templates|Hockeydb.com]] |
| + | [[Category:Sports external link templates|Hockeydb.com]] | ||
[[Category:WikiProject Ice Hockey templates|Hockeydb.com]] | [[Category:WikiProject Ice Hockey templates|Hockeydb.com]] | ||
[[fr:Modèle:Hockeydb]] | [[fr:Modèle:Hockeydb]] | ||
</includeonly> | </includeonly> | ||
Revision as of 22:55, 21 September 2008
| 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:
idis the numeric id found in urlhttp://www.hockeydb.com/ihdb/stats/pdisplay.php3?pid=XXXXXfor players orhttp://www.hockeydb.com/ihdb/stats/teamseasons.php?tid=XXXfor teamsnameis the player/team nameteam=yesis an optional field that will make the template work to display team statistics instead of individual
Example:
{{Hockeydb|73288|Sidney Crosby}}
produces: Sidney Crosby career statistics at The Internet Hockey DatabaseScript error: No such module "EditAtWikidata".
Team example:
{{Hockeydb|690|Colorado Avalanche|team=yes}}
produces: Colorado Avalanche career statistics at The Internet Hockey DatabaseScript error: No such module "EditAtWikidata".