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.

Usage edit

Unnamed parameters:

{{CapFriendly | ID }}
{{CapFriendly | ID | NAME }}

Named parameters:

{{CapFriendly | id= ID }}
{{CapFriendly | id= ID | name= NAME }}

Examples edit

Unnamed parameters edit

URL:

https://www.capfriendly.com/players/sidney-crosby

Usage:

* {{CapFriendly | sidney-crosby | Sidney Crosby }}

Output:

Named parameters edit

URL:

https://www.capfriendly.com/players/eric-staal

Usage:

* {{CapFriendly | id= eric-staal | name= Eric Staal }}

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:CapFriendly in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
Player IDid 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.

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

Default
{{PAGENAMEBASE}}
Stringoptional

See also edit

Ice hockey player external link templates:

External links edit