Jump to content

Template:Athletics Canada/doc

From Wikipedia, the free encyclopedia

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

TemplateData

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

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P11278
Example
shawnacy-barber
Stringoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Example
Shawnacy Barber
Stringoptional

See also

[edit]
[edit]