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
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:AHL profile in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P3651
Numberoptional
namename 2

Name of player. If not given it defaults to the Wikipedia article name, without any disambiguation such as (ice hockey).

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

edit

See also

edit

Ice hockey player external link templates:

edit