Template:CapFriendly/doc
![]() | This is a documentation subpage for Template:CapFriendly. It contains usage information, categories and other content that is not part of the original template page. |
Template:CapFriendly displays an external link to a web page about an ice hockey player at CapFriendly. It is intended for use in the external links section of an article.
Contents
Usage
Unnamed parameters:
{{CapFriendly | ID }}
{{CapFriendly | ID | NAME }}
Named parameters:
{{CapFriendly | id= ID }}
{{CapFriendly | id= ID | name= NAME }}
Examples
Unnamed parameters
URL:
Usage:
* {{CapFriendly | sidney-crosby | Sidney Crosby }}
Output:
Named parameters
URL:
Usage:
* {{CapFriendly | id= eric-staal | name= Eric Staal }}
Output:
TemplateData
TemplateData for CapFriendly
This template displays an external link to a web page about an ice hockey player at CapFriendly. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Player ID | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL for the player's profile. Example: sidney-crosby is the ID portion of https://www.capfriendly.com/players/sidney-crosby. | String | required |
Player name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify 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
Ice hockey player external link templates:
- {{Ice hockey stats}}
- Official league websites:
- {{AHL profile}}
- {{ECHL profile}}
- {{EIHL profile}}
- {{KHL profile}}
- {{OHL profile}}
- Other websites:
- {{Eliteprospects}}
- {{Eurohockey}}
- {{HockeyDB}}
- {{Hockey-reference}}
- {{Legendsmember}}
- {{Legendsofhockey}}
- {{TSN-NHL profile}}
External links