Template:CPC profile/doc
| icon | This is a documentation subpage for Template:CPC profile. It may contain usage information, categories and other content that is not part of the original template page. |
| File:Lua-Logo.svg | This template uses Lua: |
Template:CPC profile displays an external link to an athlete's profile at Paralympic.ca, the official website of the Canadian Paralympic Committee (CPC). It is intended for use in the external links section of an article.
Usage
[edit source]Omit the ID to use the Wikidata property.
- Article name as link text
{{CPC profile | ID }}{{CPC profile | id= ID }}
- Parameter as link text
{{CPC profile | ID | NAME }}{{CPC profile | id= ID | name= NAME }}
Examples
[edit source]Unnamed parameters
[edit source]- Usage
* {{CPC profile | colette-bourgonje | Colette Bourgonje }}
- Output
Named parameters
[edit source]- Usage
* {{CPC profile | id= patrick-anderson | name= Patrick Anderson }}
- Output
No parameters and Wikidata property not defined
[edit source]- Usage
* {{CPC profile}}
- Output
-
- CPC profile/doc at the Canadian Paralympic CommitteeLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]TemplateData for CPC profile
This template displays an external link to an athlete's profile at Paralympic.ca, the official website of the Canadian Paralympic Committee (CPC). It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | The ID portion of the URL, such as colette-bourgonje in https://paralympic.ca/team-canada/colette-bourgonje. This parameter is optional if Wikidata property P10929 exists, but required if not.
| String | optional |
| Name | name 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)".
| String | optional |
Tracking categories
[edit source]- Category:CPC profile template with ID different from Wikidata (0)
- Category:CPC profile template with ID not in Wikidata (0)
- Category:CPC profile template missing ID and not in Wikidata (0)
Templates and modules used
[edit source]- {{PAGENAMEBASE}} and {{First word}}, implemented with Module:String
- {{EditAtWikidata}}, implemented with Module:EditAtWikidata
- {{WikidataCheck}}, implemented with Module:WikidataCheck
See also
[edit source]- {{Team Canada}} for athlete profiles from the Canadian Olympic Committee
Paralympic profile templates
[edit source]| Country | Template | Wikidata property |
|---|---|---|
| {{International Paralympic Committee}} | P7550 | |
| Australia | {{Paralympics Australia}} | P10976 |
| Brazil | {{CPB profile}} | |
| Canada | {{CPC profile}} | P10929 |
| Czech Republic | {{CPV profile}} | P12673 |
| France | {{CPSF profile}} | P8797 |
| France | {{Team France}} | P11934 |
| Germany | {{Team Deutschland Paralympics}} | P9814 |
| Great Britain | {{BPA profile}} | P10971 |
| Italy | {{CIP profile}} | P12133 |
| Netherlands | {{TeamNL profile}} | P9822 |
| New Zealand | {{Paralympics New Zealand}} | P10977 |
| Poland | {{PKPar profile}} | P11032 |
| Slovakia | {{SPV profile}} | P12672 |
| Spain | {{CPE profile}} | P4593 |
| Turkey | {{TMPK profile}} | P11017 |
| United States | {{Team USA}} | P13540 P4063 |
External links
[edit source]