Template:Hockey-reference/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


 * Usage


 * Output

Named parameters

 * URL


 * Usage


 * Output

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to an ice hockey player's profile at Hockey-Reference.com. It is intended for use in the external links section of an article.", "params": { "id": { "label": "Player ID", "aliases": ["1"], "description": "The ID portion of the URL for the player's profile, such as k/kanepa01 in https://www.hockey-reference.com/players/k/kanepa01.html. This parameter is optional if Wikidata property P3598 exists, but required if not.", "type": "string", "required": false, "default": "Wikidata property P3598" },   "name": { "label": "Player name", "aliases": ["2"], "description": "The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(ice hockey)\".", "type": "string", "required": false, "default": "" } },  "paramOrder": [ "id", "name" ] }