Template:Team Canada/doc

From Simple English Wikipedia, the free encyclopedia

Template:Team Canada displays an external link to an athlete's profile at Olympic.ca, the official website of Team Canada. It is intended for use in the external links section of an article.

Usage[change source]

Unnamed parameters
{{Team Canada | ID }}
{{Team Canada | ID | NAME }}
Named parameters
{{Team Canada | id= ID }}
{{Team Canada | id= ID | name= NAME }}
Using Wikidata property
{{Team Canada}}
{{Team Canada | name= NAME }}

Examples[change source]

Unnamed parameters[change source]

URL
http://olympic.ca/team-canada/karine-sergerie/
Usage
* {{Team Canada | karine-sergerie | Karine Sergerie }}
Output

Named parameters[change source]

URL
http://olympic.ca/team-canada/tory-nyhaug-heinonen/
Usage
* {{Team Canada | id= tory-nyhaug-heinonen | name= Tory Nyhaug }}
Output

No parameters and Wikidata property not defined[change source]

Usage
* {{Team Canada}}
Output
  • {{Team Canada}} template missing ID and not present in Wikidata.

TemplateData[change source]

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

TemplateData for Team Canada

This template displays an external link to an athlete's profile at Olympic.ca, the official website of Team 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. Example: karine-sergerie is the ID portion of http://olympic.ca/team-canada/karine-sergerie/. This parameter is optional if Wikidata property P4054 exists, but required if not.

Default
Wikidata property P4054
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}}
Stringoptional

Tracking categories[change source]

Templates and modules used[change source]

See also[change source]

Olympic profile templates[change source]

Template:Olympic profile templates

External links[change source]