Difference between revisions of "Template:Eliteprospects/doc"
Jump to navigation
Jump to search
imported>Pigsonthewing (udpate) |
imported>Pigsonthewing m (→TemplateData: update) |
||
| Line 28: | Line 28: | ||
"type": "number", | "type": "number", | ||
"default": "", | "default": "", | ||
| − | "required": | + | "required": false |
}, | }, | ||
"2": { | "2": { | ||
Revision as of 14:33, 31 July 2016
| This is a documentation subpage for Template:Eliteprospects. It contains usage information, categories and other content that is not part of the original template page. |
Template:Eliteprospects displays an external link to an ice hockey player's profile at EliteProspects.com.
Usage
- No parameters
- (Uses ID from Wikidata, and page name)
{{Eliteprospects}}- Unnamed parameters
{{Eliteprospects|ID|NAME}}{{Eliteprospects|ID}}- Named parameters
{{Eliteprospects|id=ID|name=NAME}}{{Eliteprospects|id=ID}}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Eliteprospects
This template displays an external link to an ice hockey player's profile at EliteProspects.com.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | 1 id | Player's ID number in the URL. Example: 2092 is the ID in http://www.eliteprospects.com/player.php?player=2092&lang=en
| Number | optional |
| Name | 2 name title | Name of player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (ice hockey).
| String | optional |
Examples
Unnamed parameters
Usage:
{{Eliteprospects | 2092 | Tomi Kallio }}
Output:
- Tomi Kallio career statistics at EliteProspects.comScript error: No such module "EditAtWikidata".Template:WikidataCheck
URL:
Named parameters
- name
Usage:
{{Eliteprospects |id= 9678 |name= Wayne Gretzky }}
Output:
- Wayne Gretzky career statistics at EliteProspects.comScript error: No such module "EditAtWikidata".Template:WikidataCheck
URL:
- title
Usage:
{{Eliteprospects |id= 8627 |title= Jaromír Jágr }}
Output:
- Jaromír Jágr career statistics at EliteProspects.comScript error: No such module "EditAtWikidata".Template:WikidataCheck
URL:
See also
Ice hockey player external link templates:
- Official league websites:
- {{AHL profile}}
- {{ECHL profile}}
- {{EIHL profile}}
- {{NHL profile}}
- {{KHL profile}}
- {{OHL profile}}
- Other websites:
- {{Eurohockey}}
- {{Hockeydb}}
- {{Hockey-reference}}
- {{Legendsmember}}
- {{Legendsofhockey}}
- {{TSN-NHL profile}}