Difference between revisions of "Template:CPC profile/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(→‎See also: add link)
imported>Zyxw
(→‎See also: add link)
 
Line 75: Line 75:
 
* {{tl|IPC athlete}} for athlete profiles from the [[International Paralympic Committee]]
 
* {{tl|IPC athlete}} for athlete profiles from the [[International Paralympic Committee]]
 
* {{tl|BPA profile}} for athlete profiles from the [[British Paralympic Association]]
 
* {{tl|BPA profile}} for athlete profiles from the [[British Paralympic Association]]
 +
* {{tl|CPSF profile}} for athlete profiles from the [[French Paralympic and Sports Committee|''Comité Paralympique et Sportif Français'']]
 
* {{tl|Paralympics Australia}} for athlete profiles from [[Paralympics Australia]]
 
* {{tl|Paralympics Australia}} for athlete profiles from [[Paralympics Australia]]
 
* {{tl|Paralympics New Zealand}} for athlete profiles from [[Paralympics New Zealand]]
 
* {{tl|Paralympics New Zealand}} for athlete profiles from [[Paralympics New Zealand]]

Latest revision as of 03:25, 4 April 2020

Template:CPC profile displays an external link to an athlete's profile at Paralympic.ca, the official website of the Canadian Paralympic Committee (CPC). It is intended for use in the external links section of an article.

Usage

Unnamed parameters
{{CPC profile | ID }}
{{CPC profile | ID | NAME }}
Named parameters
{{CPC profile | id= ID }}
{{CPC profile | id= ID | name= NAME }}

Examples

Unnamed parameters

URL
https://paralympic.ca/team-canada/colette-bourgonje
Usage
* {{CPC profile | colette-bourgonje | Colette Bourgonje }}
Output

Named parameters

URL
https://paralympic.ca/team-canada/patrick-anderson
Usage
* {{CPC profile | id= patrick-anderson | name= Patrick Anderson }}
Output

No parameters

Usage
* {{CPC profile}}
Output

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for CPC profile

This template displays an external link to an athlete's profile at Paralympic.ca, the official website of the Canadian Paralympic Committee (CPC). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: colette-bourgonje is the ID portion of https://paralympic.ca/team-canada/colette-bourgonje.

Stringrequired
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

Default
{{PAGENAMEBASE}}
Stringoptional

See also

External links