Difference between revisions of "Template:AHL profile"
(trim whitespace from ID# used in URL, remove disambiguation if using {{PAGENAME}} as player name) |
m (1 revision) |
(No difference)
| |
Latest revision as of 04:07, 22 March 2014
{{{name}}}'s profile and statistics at TheAHL.com
Template:AHL profile displays an external link to an ice hockey player's official AHL profile and statistics page.
Contents
Usage
Unnamed parameters:
{{AHL profile|ID|NAME}}{{AHL profile|ID}}
Named parameters:
{{AHL profile|id=ID|name=NAME}}{{AHL profile|id=ID}}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
AHL profile
<templatedata>{ "description": "This template displays an external link to an ice hockey player's official AHL (American Hockey League) profile and statistics page.", "params": {
"1": {
"label": "ID",
"aliases": ["id"],
"description": "ID number found in URL of the player's official AHL page. Example: 2080 for URL http://theahl.com/stats/player.php?id=2080",
"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": "AHL profile",
"required": false
}
}}</templatedata>
Examples
Unnamed parameters:
- Usage:
{{AHL profile | 2080 | Jordan Hendry}}- Result: Jordan Hendry's profile and statistics at TheAHL.com
- Usage:
{{AHL profile|2080}}- Result: AHL profile's profile and statistics at TheAHL.com
Named parameters:
- Usage:
{{AHL profile |id= 2080 |name= Jordan Hendry}}- Result: Jordan Hendry's profile and statistics at TheAHL.com
- Usage:
{{AHL profile|id=2080}}- Result: AHL profile's profile and statistics at TheAHL.com
See also
Ice hockey player external link templates:
- Official league websites:
- {{ECHL profile}}
- {{EIHL profile}}
- {{KHL profile}}
- {{NHL profile}}
- Other websites:
- {{Eliteprospects}}
- {{Eurohockey}}
- {{Hockeydb}}
- {{Hockey-reference}}
- {{Legendsmember}}
- {{Legendsofhockey}}
- {{TSN-NHL profile}}
| The above documentation is transcluded from Template:AHL profile/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |