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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update category)
imported>Zyxw
(→‎See also: update)
Line 72: Line 72:
  
 
== See also ==
 
== See also ==
* {{tl|COC profile}} for links to profiles from the [[Canadian Olympic Committee]]
+
* {{tl|COC profile}} for athlete profiles from the [[Canadian Olympic Committee]]
* {{tl|IPC athlete}} for links to profiles from the [[International Paralympic Committee]]
+
* {{tl|IPC athlete}} for athlete profiles from the [[International Paralympic Committee]]
 +
* {{tl|Paralympics Australia}} for athlete profiles from [[Paralympics Australia]]
 +
* {{tl|Team USA}} for athlete profiles from the [[United States Olympic & Paralympic Committee]]
  
 
== External links ==
 
== External links ==

Revision as of 14:18, 29 December 2019

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