Template:Canada Soccer player/doc
This is a documentation subpage for Template:Canada Soccer player. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Canada Soccer player displays an external link to an association football (soccer) player's profile at the official website of the Canadian Soccer Association (Canada Soccer), the national sport governing body for association football in Canada. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{Canada Soccer player | ID }}
{{Canada Soccer player | ID | NAME }}
- Named parameters
{{Canada Soccer player | id= ID }}
{{Canada Soccer player | id= ID | name= NAME }}
{{Canada Soccer player | id= ID | name= NAME | accessdate= ACCESS DATE }}
- Using Wikidata property
{{Canada Soccer player}}
{{Canada Soccer player | name= NAME }}
{{Canada Soccer player | name= NAME | accessdate= ACCESS DATE }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{Canada Soccer player | 5810 | Alphonso Davies }}
- Output
- Former URL
- https://www.canadasoccer.com/?pid=5810&team_tag=canM18&t=profile& (archive)
Named parameters
[edit]- Usage
* {{Canada Soccer player | id= 2971 | name= Christine Sinclair | accessdate= November 24, 2024 }}
- Output
-
- Christine Sinclair at the Canadian Soccer Association. Retrieved November 24, 2024.
- Former URL
- http://www.canadasoccer.com/?t=profile&pid=2971 (archive)
No parameters and Wikidata property not defined
[edit]- Usage
* {{Canada Soccer player}}
- Output
-
- {{Canada Soccer player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Canada Soccer player
This template displays an external link to an association football (soccer) player's profile at the official website of the Canadian Soccer Association (Canada Soccer), the national sport governing body for association football in Canada. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID number in the URL, such as 5810 in https://canadasoccer.com/profile/?id=5810. This parameter is optional if Wikidata property P7459 exists, but required if not.
| Number | optional |
name | name 2 | The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(footballer)" or "(soccer)".
| String | optional |
access date | accessdate | The date when the Canada Soccer profile was last accessed. It allows the template to be used as a reference, rather than as an external link. This parameter is optional. | Date | optional |
Tracking categories
[edit]- template with ID
- Category:Canada Soccer player ID different from Wikidata (0)
- Category:Canada Soccer player ID not in Wikidata (33)
- template missing ID