Template:Swimming Canada
Appearance
Template:Swimming Canada displays an external link to a swimmer's profile at Swimming.ca, the official website of Swimming Canada. It is intended for use in the external links section of an article.
Usage
[edit]- Article name as link text
{{Swimming Canada | ID }}
{{Swimming Canada | id= ID }}
- Parameter as link text
{{Swimming Canada | ID | NAME }}
{{Swimming Canada | id= ID | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{Swimming Canada | margaret-macneil | Margaret Mac Neil }}
- Output
- Former URL
- https://www.swimming.ca/en/swimmer/margaret-macneil/ (redirects to current URL)
Named parameters
[edit]- Usage
* {{Swimming Canada | id= aurelie-rivard | name= Aurélie Rivard }}
- Output
- Current URL
- https://www.swimming.ca/swimmer/aurelie-rivard/
- Former URL
- https://www.swimming.ca/en/swimmer/aurelie-rivard/ (redirects to current URL)
No parameters
[edit]- Usage
* {{Swimming Canada}}
- Output
-
- {{Swimming Canada}} template missing ID.
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Swimming Canada in articles based on its TemplateData.
TemplateData for Swimming Canada
This template displays an external link to a swimmer's profile at Swimming.ca, the official website of Swimming Canada. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL, such as margaret-macneil in https://www.swimming.ca/swimmer/margaret-macneil/.
| String | required |
Name | name 2 | The link text, which should be the name of the swimmer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(swimmer)".
| String | optional |
See also
[edit]- {{World Aquatics}}
- {{Swimrankings}}
- {{Team Canada}}
- {{CPC profile}}