Template:AHL profile
{{{name}}} profile and statistics at TheAHL.com
This template uses Lua: |
Template:AHL profile displays an external link to an ice hockey player's official American Hockey League (AHL) profile and statistics page. It is intended for use in the external links section of an article.
Usage
[edit]Unnamed parameters:
{{AHL profile | ID }}
{{AHL profile | ID | NAME }}
Named parameters:
{{AHL profile | id= ID }}
{{AHL profile | id= ID | name= NAME }}
Using Wikidata property P3651:
{{AHL profile}}
{{AHL profile | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]URLs:
- Old: http://theahl.com/stats/player.php?id=2080
- New: http://theahl.com/stats/player/2080/jordan-henry
- New: http://theahl.com/stats/player/2080
Usage:
* {{AHL profile | 2080 | Jordan Henry }}
Output:
Named parameters
[edit]URLs:
- Old: http://theahl.com/stats/player.php?id=1853
- New: http://theahl.com/stats/player/2080/chris-blight
- New: http://theahl.com/stats/player/2080
Usage:
* {{AHL profile | id= 1853 | name= Chris Blight }}
Output:
No parameters and Wikidata property not defined
[edit]Usage:
* {{AHL profile}}
Output:
- {{AHL profile}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for AHL profile
This template displays an external link to an ice hockey player's official American Hockey League (AHL) profile and statistics page. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | ID number found in URL of the player's official AHL page. Example: 2080 for URL http://theahl.com/stats/player.php?id=2080 or http://theahl.com/stats/player/2080/jordan-henry. This parameter is optional if Wikidata property P3651 exists, but required if not.
| Number | optional |
name | name 2 | Name of player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (ice hockey).
| String | optional |
Tracking categories
[edit]- Category:AHL profile not in Wikidata (0)
- Category:AHL profile different from Wikidata (0)
- Category:AHL profile same as Wikidata (24)
See also
[edit]Ice hockey player external link templates:
- Official league websites:
- {{NHL profile}}
- {{KHL profile}}
- {{ECHL profile}}
- {{EIHL profile}}
- {{OHL profile}}
- Other websites:
- {{Eliteprospects}}
- {{Eurohockey}}
- {{HockeyDB}}
- {{Hockey-reference}}
- {{Legendsmember}}
- {{Legendsofhockey}}
- {{TSN-NHL profile}}