Jump to content

Template:TSN-NHL profile/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Fix Linter errors using AutoEd
See also: remove link to deleted template
 
Line 63: Line 63:
== See also ==
== See also ==
* {{tl|NHL profile}}
* {{tl|NHL profile}}
* {{tl|ESPN NHL}}


<includeonly>{{sandbox other||
<includeonly>{{sandbox other||

Latest revision as of 15:38, 1 August 2022

Template:TSN-NHL profile displays an external link to an NHL ice hockey player's profile at The Sports Network (TSN). It is intended for use in the external links section of an article.

Usage

[edit]

Unnamed parameters:

{{TSN-NHL profile | ID }}
{{TSN-NHL profile | ID | NAME }}

Named parameters:

{{TSN-NHL profile | id= ID }}
{{TSN-NHL profile | id= ID | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]

URL:

http://tsn.ca/nhl/player-bio/sidney-crosby

Usage:

{{TSN-NHL profile | sidney-crosby | Sidney Crosby }}

Output:

Sidney Crosby player profile at TSN.ca

Named parameters

[edit]

URL:

http://tsn.ca/nhl/player-bio/jason-arnott

Usage:

{{TSN-NHL profile | id= jason-arnott | name= Jason Arnott }}

Output:

Jason Arnott player profile at TSN.ca

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:TSN-NHL profile in articles based on its TemplateData.

TemplateData for TSN-NHL profile

This template displays an external link to an NHL ice hockey player's profile at The Sports Network (TSN). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

ID portion of the URL for the TSN profile. Example: sidney-crosby is the ID portion of http://tsn.ca/nhl/player-bio/sidney-crosby.

Stringrequired
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

See also

[edit]