Difference between revisions of "Template:Eliteprospects/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(create documentation, including TemplateData)
 
imported>B2project
Line 71: Line 71:
 
** {{tl|NHL profile}}
 
** {{tl|NHL profile}}
 
** {{tl|KHL profile}}
 
** {{tl|KHL profile}}
 +
** {{tl|OHL profile}}
 
* Other websites:
 
* Other websites:
 
** {{tl|Eurohockey}}
 
** {{tl|Eurohockey}}

Revision as of 20:41, 27 July 2014

Template:Eliteprospects displays an external link to an ice hockey player's profile at EliteProspects.com.

Usage

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.

Template parameters

ParameterDescriptionTypeStatus
ID1 id

Player's ID number in the URL. Example: 2092 is the ID in http://www.eliteprospects.com/player.php?player=2092&lang=en

Default
Numberrequired
Name2 name title

Name of player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (ice hockey).

Default
{{PAGENAME}}
Stringoptional

Examples

Unnamed parameters

Usage:

  • {{Eliteprospects | 2092 | Tomi Kallio }}

Output:

URL:

Named parameters

name

Usage:

  • {{Eliteprospects |id= 9678 |name= Wayne Gretzky }}

Output:

URL:

title

Usage:

  • {{Eliteprospects |id= 8627 |title= Jaromír Jágr }}

Output:

URL:

See also

Ice hockey player external link templates: