Template:Team Canada/doc

< Template:Team Canada

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

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

Unnamed parameters

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

Named parameters

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

Usage
* {{Team Canada}}
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 Team Canada

<templatedata> {

 "description": "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.",
 "params": {
   "id": {
     "label": "ID",
     "aliases": ["1"], 
     "description": "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",
     "type": "string",
     "required": false
   },
   "name": {
     "label": "Name",
     "aliases": ["2"], 
     "description": "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": "Team Canada/doc",
     "type": "string",
     "required": false
   }
 },
 "paramOrder": [
   "id",
   "name"
 ]

} </templatedata>

Tracking categories

Templates and modules used

See also

Olympic profile templates

Template:Olympic profile templates

External links