Template:Team Canada/doc
This is a documentation subpage for Template:Team Canada. It contains usage information, categories and other content that is not part of the original template page. |
This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
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
- 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
- Usage
* {{Team Canada | karine-sergerie | Karine Sergerie }}
- Output
Named parameters
- 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
- 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
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
See also
- {{CPC profile}} for athlete profiles from the Canadian Paralympic Committee
Olympic profile templates
Template:Olympic profile templates
External links