Difference between revisions of "Template:Canada Soccer player/doc"

From blackwiki
Jump to navigation Jump to search
imported>MonFrontieres
(Created page with '{{Documentation subpage}} <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Template shortcut|Canada Soccer}} {{U...')
 
imported>MonFrontieres
Line 88: Line 88:
  
 
<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
+
<!--Categories below this line; interwikis at Wikidata-->
 
[[Category:Association football external link templates]]
 
[[Category:Association football external link templates]]
 +
[[Category:Sports governing body external link templates]]
 
[[Category:People and person external link templates]]
 
[[Category:People and person external link templates]]
[[Category:Sports governing body external link templates]]
+
[[Category:Canada soccer templates]]
 
[[Category:External link templates using Wikidata]]
 
[[Category:External link templates using Wikidata]]
 
[[Category:Templates that add a tracking category]]
 
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 03:45, 3 September 2020

Template:Uses Wikidata Template:Tracks Wikidata

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

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).:

Template:Tlcw
Template:Tlcw

Examples

Unnamed parameters

Usage:

Template:Tlcw

Output:

URLs:

https://www.canadasoccer.com/profile/?id=5810

Named parameters

Usage:

Template:Tlcw

Output:

URL:

https://www.canadasoccer.com/profile/?id=2971

No parameters and Wikidata property not defined

Usage:

Template:Tlcw

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 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" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 5810 is the ID portion of https://www.canadasoccer.com/profile/?id=5810. This parameter is optional if Wikidata label Q98607121 exists, but required if not.

Default
Wikidata label Q98607121
Numberoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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

Tracking categories

template with ID
template missing ID