Template:Eliteprospects/doc
![]() | 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:Uses Wikidata Template:Tracks Wikidata
![]() | This template uses Lua: |
Template:Eliteprospects displays an external link to an ice hockey player's profile at EliteProspects.com. It is intended for use in the external links section of an article.
Contents
Usage
Unnamed parameters:
{{Eliteprospects | ID }}
{{Eliteprospects | ID | NAME }}
Named parameters:
{{Eliteprospects | id= ID }}
{{Eliteprospects | id= ID | name= NAME }}
Using Wikidata property Template:Property:
{{Eliteprospects}}
{{Eliteprospects | name= NAME }}
Examples
Unnamed parameters
URLs:
- http://www.eliteprospects.com/player.php?player=2092&lang=en
- https://www.eliteprospects.com/player/2092/tomi-kallio
Usage:
* {{Eliteprospects | 2092 | Tomi Kallio }}
Output:
- Tomi Kallio career statistics at EliteProspects.comScript error: No such module "EditAtWikidata".Template:WikidataCheck
Named parameters
URLs:
- http://www.eliteprospects.com/player.php?player=13346&lang=en
- https://www.eliteprospects.com/player/13346/hayley-wickenheiser
Usage:
* {{Eliteprospects | id= 13346 | name= Hayley Wickenheiser }}
Output:
- Hayley Wickenheiser career statistics at EliteProspects.comScript error: No such module "EditAtWikidata".Template:WikidataCheck
No parameters and Wikidata property not defined
Usage:
* {{Eliteprospects}}
Output:
- Template:PAGENAMEBASE career statistics at EliteProspects.comScript error: No such module "EditAtWikidata".Template:WikidataCheck
TemplateData
TemplateData for Eliteprospects
This template displays an external link to an ice hockey player's profile at EliteProspects.com. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
EliteProspects player ID | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 2092 is the ID portion of http://www.eliteprospects.com/player.php?player=2092&lang=en. This parameter is optional if Wikidata property P2481 exists, but required if not.
| Number | optional |
Player's name | name title 2 | The "name" parameter (or "title" or unnamed parameter "2") may be used to specify 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)".
| String | optional |
Tracking categories
- "id" parameter exists
- Category:Elite Prospects player ID different from Wikidata (0)
- Category:Elite Prospects player ID not in Wikidata (0)
- "id" parameter does not exist
See also
Ice hockey player external link templates:
- {{Ice hockey stats}}
- 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}}