Difference between revisions of "Template:Eliteprospects/doc"
Jump to navigation
Jump to search
imported>B2project |
imported>Pigsonthewing (udpate) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| + | {{Uses Wikidata|P2481}} | ||
| + | |||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
| Line 5: | Line 7: | ||
== Usage == | == Usage == | ||
| − | Unnamed parameters: | + | ;No parameters: |
| − | + | :(Uses ID from Wikidata, and page name) | |
| − | + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> | |
| − | + | ;Unnamed parameters: | |
| − | Named parameters: | + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|''ID''|''NAME''<nowiki>}}</nowiki></code> |
| − | + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|''ID''<nowiki>}}</nowiki></code> | |
| − | + | ;Named parameters: | |
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|id=''ID''|name=''NAME''<nowiki>}}</nowiki></code> | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|id=''ID''<nowiki>}}</nowiki></code> | ||
== TemplateData == | == TemplateData == | ||
Revision as of 14:26, 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 | required |
| 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}}