close
Sayahna Sayahna
Search

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


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

Latest revision as of 04:12, 22 March 2014

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

Usage

Unnamed parameters:

  • {{ECHL profile|ID|NAME}}
  • {{ECHL profile|ID}}

Named parameters:

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

TemplateData

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

ECHL profile

<templatedata>{ "description": "This template displays an external link to an ice hockey player's official ECHL profile and statistics page.", "params": {

 "1": {
   "label": "ID",
   "aliases": ["id"], 
   "description": "ID number found in URL of the player's official ECHL page. Example: 2886 for URL http://www.echl.com/stats/player.php?id=2886",
   "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": "ECHL profile/doc",
   "required": false
 }

}}</templatedata>

Examples

Unnamed parameters:

Named parameters:

See also

Ice hockey player external link templates: