close
Sayahna Sayahna
Search

Difference between revisions of "Template:EIHL profile/doc"


(update description for "name" parameter, update examples)
 
m (1 revision)
 
(No difference)

Latest revision as of 04:12, 22 March 2014

Template:EIHL profile displays an external link to an ice hockey player's official EIHL profile and statistics page.

Usage

Unnamed parameters:

  • {{EIHL profile|ID|NAME}}
  • {{EIHL profile|ID}}

Named parameters:

  • {{EIHL profile|id=ID|name=NAME}}
  • {{EIHL profile|id=ID}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

EIHL profile

<templatedata>{ "description": "This template displays an external link to an ice hockey player's official EIHL (Elite Ice Hockey League) profile and statistics page.", "params": {

 "1": {
   "label": "ID",
   "aliases": ["id"], 
   "description": "ID number found in URL of the player's official EIHL page. Example: 56 for http://www.eliteleague.co.uk/stats/player.php?id=56",
   "type": "number",
   "default": "",
   "required": true
 },
 "2": {
   "label": "Name",
   "aliases": ["name"], 
   "description": "Name of player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (ice hockey).",
   "type": "string",
   "default": "EIHL profile/doc",
   "required": false
 }

}}</templatedata>

Examples

Unnamed parameters:

Named parameters:

See also

Ice hockey player external link templates: