Jump to content

Template:PHF profile/doc

From Wikipedia, the free encyclopedia

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]
URL
https://www.premierhockeyfederation.com/stats#/player/431678
Usage
* {{PHF profile | 431678 | Brooke White-Lancette }}
Output

Named parameters

[edit]
URL
https://www.premierhockeyfederation.com/stats#/player/532475
Usage
* {{PHF profile | id= 532475 | name= Mikyla Grant-Mentis }}
Output

No parameters

[edit]
Usage
* {{PHF profile}}
Output

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.

Template parameters

ParameterDescriptionTypeStatus
Player IDid 1

The ID number in the URL for the player's profile, such as 532475 in https://www.premierhockeyfederation.com/stats#/player/532475.

Numberrequired
Player namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also

[edit]