Template:Athletics Canada
{{{name}}} at Athletics Canada
This template uses Lua: |
Template:Athletics Canada displays an external link to an athlete's profile at Athletics.ca, the official website of Athletics Canada. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{Athletics Canada | ID }}
{{Athletics Canada | ID | NAME }}
- Named parameters
{{Athletics Canada | id= ID }}
{{Athletics Canada | id= ID | name= NAME }}
- Using Wikidata property
{{Athletics Canada}}
{{Athletics Canada | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{Athletics Canada | christabel-nettey | Christabel Nettey }}
- Output
- Current URL
- https://athletics.ca/athlete/christabel-nettey/
- Former URL
- http://athletics.ca/national-team/our-team/400986/ (archive)
Named parameters
[edit]- Usage
* {{Athletics Canada | id= shawnacy-barber | name= Shawnacy Barber }}
- Output
- Current URL
- https://athletics.ca/athlete/shawnacy-barber/
- Former URL
- http://athletics.ca/national-team/our-team/459003/ (archive)
No parameters and Wikidata property not defined
[edit]- Usage
* {{Athletics Canada}}
- Output
-
- {{Athletics Canada}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Athletics Canada
This template displays an external link to an athlete's profile at Athletics.ca, the official website of Athletics 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 shawnacy-barber in https://athletics.ca/athlete/shawnacy-barber/. This parameter is optional if Wikidata property P11278 exists, but required if not.
| String | optional |
name | name 2 | 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)".
| String | optional |
See also
[edit]- {{World Athletics}}
- {{Team Canada}}