Template:Team Canada
Appearance
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
This template uses the Wikidata property:
Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
File:Lua-Logo.svg | This template uses Lua: |
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]
- 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]
Unnamed parameters[change]
- Usage
* {{Team Canada | karine-sergerie | Karine Sergerie }}
- Output
Named parameters[change]
- Usage
* {{Team Canada | id= tory-nyhaug-heinonen | name= Tory Nyhaug }}
- Output
No parameters and Wikidata property not defined[change]
- Usage
* {{Team Canada}}
- Output
TemplateData[change]
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
<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", "type": "string", "required": false } }, "paramOrder": [ "id", "name" ]
} </templatedata>
Tracking categories[change]
- Category:Team Canada template with ID different from Wikidata (0)
- Category:Team Canada template with ID not in Wikidata (0)
- Category:Team Canada template missing ID and not in Wikidata (0)
Templates and modules used[change]
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
See also[change]
- {{CPC profile}} for athlete profiles from the Canadian Paralympic Committee
Olympic profile templates[change]
External links[change]
Categories:
- Pages with script errors
- Templates using data from Wikidata
- Templates tracking Wikidata
- Lua-based templates
- Canada sports templates
- Canada people and person external link templates
- Olympics external link templates
- Commonwealth Games external link templates
- External link templates using Wikidata
- Templates that add a tracking category