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
{{AHL profile}}
{{AHL profile | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{AHL profile | 2080 | Jordan Henry }}
- Current URLs
- https://theahl.com/stats/player/2080 (in template)
- https://theahl.com/stats/player/2080/jordan-henry (at website)
- Former URL
- http://theahl.com/stats/player.php?id=2080 (archive)
Named parameters
[edit]- Usage
* {{AHL profile | id= 1853 | name= Chris Blight }}
- Current URLs
- https://theahl.com/stats/player/1853 (in template)
- https://theahl.com/stats/player/1853/chris-blight (at website)
- Former URL
- http://theahl.com/stats/player.php?id=1853 (archive)
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 | The ID number in the URL of the player's official AHL page, such as 2080 in https://theahl.com/stats/player.php?id=2080 or https://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 | The 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]- template with ID
- Category:AHL profile template with ID different from Wikidata (0)
- Category:AHL profile template with ID not in Wikidata (0)
- template missing ID
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}}