Jump to content

Template:Eliteprospects/doc

From Wikipedia, the free encyclopedia

Template:Eliteprospects displays an external link to an ice hockey player's profile at the Elite Prospects website. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{Eliteprospects | ID }}
{{Eliteprospects | ID | NAME }}
Named parameters
{{Eliteprospects | id= ID }}
{{Eliteprospects | id= ID | name= NAME }}
Using Wikidata property
{{Eliteprospects}}
{{Eliteprospects | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{Eliteprospects | 2092 | Tomi Kallio }}
Output
URLs
http://www.eliteprospects.com/player.php?player=2092&lang=en
https://www.eliteprospects.com/player/2092/tomi-kallio

Named parameters

[edit]
Usage
* {{Eliteprospects | id= 13346 | name= Hayley Wickenheiser }}
Output
URLs
http://www.eliteprospects.com/player.php?player=13346&lang=en
https://www.eliteprospects.com/player/13346/hayley-wickenheiser

No parameters and Wikidata property not defined

[edit]
Usage
* {{Eliteprospects}}
Output

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Eliteprospects in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
EliteProspects player IDid 1

The ID number the URL, such as 2092 in http://www.eliteprospects.com/player.php?player=2092&lang=en. This parameter is optional if Wikidata property P2481 exists, but required if not.

Default
Wikidata property P2481
Numberoptional
Player's namename title 2

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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]
"id" parameter exists
"id" parameter does not exist

See also

[edit]