Template:PHF profile/doc
Appearance
This is a documentation subpage for Template:PHF profile. It may contain usage information, categories and other content that is not part of the original template page. |
Template:PHF profile displays an external link to an ice hockey player's official page at the Premier Hockey Federation (PHF) web site. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{PHF profile | ID }}
{{PHF profile | ID | NAME }}
- Named parameters
{{PHF profile | id= ID }}
{{PHF profile | id= ID | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{PHF profile | 431678 | Brooke White-Lancette }}
- Output
Named parameters
[edit]- Usage
* {{PHF profile | id= 532475 | name= Mikyla Grant-Mentis }}
- Output
No parameters
[edit]- Usage
* {{PHF profile}}
- Output
-
- {{PHF profile}} template missing ID
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:PHF profile in articles based on its TemplateData.
TemplateData for PHF profile
This template displays an external link to an ice hockey player's official page at the Premier Hockey Federation (PHF) web site. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Player ID | id 1 | The ID number in the URL for the player's profile, such as 532475 in https://www.premierhockeyfederation.com/stats#/player/532475. | Number | required |
Player name | name 2 | The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(ice hockey)".
| String | optional |
See also
[edit]