Template:HockeyDB/doc

It is intended for use in the external links section of an article.

Usage
Unnamed parameters:

Named parameters:

Using Wikidata property :

Unnamed parameters
URL:
 * http://www.hockeydb.com/ihdb/stats/pdisplay.php?pid=

Usage:

Output:

Named parameters
URL:
 * http://www.hockeydb.com/ihdb/stats/pdisplay.php?pid=

Usage:

Output:

No parameters and Wikidata property not defined
Usage:

Output:

TemplateData
{ "description": "This template displays an external link to ice hockey player's statistics at HockeyDB.com. It is intended for use in the external links section of an article.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "Player's ID number in the URL. Example: 73288 is the ID in http://www.hockeydb.com/ihdb/stats/pdisplay.php?pid=73288. This parameter is optional if Wikidata property P2602 exists, but required if not.", "type": "number", "required": false, "default": "Wikidata property P2602" },   "name": { "label": "name", "aliases": ["2"], "description": "Name of player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (ice hockey).", "type": "string", "required": false, "default": "" } },  "paramOrder": [ "id", "name" ] }