Jump to content

Template:Canada Soccer player/doc

From Wikipedia, the free encyclopedia

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
URL
https://canadasoccer.com/profile/?id=5810
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
URL
https://canadasoccer.com/profile/?id=2971
Former URL
http://www.canadasoccer.com/?t=profile&pid=2971 (archive)

No parameters and Wikidata property not defined

[edit]
Usage
* {{Canada Soccer player}}
Output

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Canada Soccer player in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P7459
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional
access dateaccessdate

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.

Dateoptional

Tracking categories

[edit]
template with ID
template missing ID