Template:USL Championship player/doc
| This is a documentation subpage for Template:USL Championship player. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Template:USL Championship player displays an external link to a soccer (association football) player's profile at the official website of the USL Championship league, formerly known as United Soccer League (USL) and USL Pro. It is intended for use in the external links section of an article.
Usage
[edit source]- Unnamed parameters
{{USL Championship player | ID }}{{USL Championship player | ID | NAME }}
- Named parameters
{{USL Championship player | id= ID }}{{USL Championship player | id= ID | name= NAME }}
- Using Wikidata property
{{USL Championship player}}{{USL Championship player | name= NAME }}
Examples
[edit source]Unnamed parameters
[edit source]- Usage
* {{USL Championship player | donovan-ricketts | Donovan Ricketts }}
- Output
- Current URL
- https://www.uslchampionship.com/donovan-ricketts
- Former URL
- http://www.uslsoccer.com/donovan-ricketts (archive)
Named parameters
[edit source]- Usage
* {{USL Championship player | id= jimmy-mclaughlin | name= Jimmy McLaughlin }}
- Output
- Current URL
- https://www.uslchampionship.com/jimmy-mclaughlin
- Former URL
- http://www.uslsoccer.com/jimmy-mclaughlin (archive)
No parameters and Wikidata property not defined
[edit source]- Usage
* {{USL Championship player}}
- Output
-
- USL Championship player/doc at USL ChampionshipLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]TemplateData for USL Championship player
This template displays an external link to a soccer (association football) player's profile at the official website of the USL Championship league, formerly known as United Soccer League (USL) and USL Pro. 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 jimmy-mclaughlin in https://www.uslchampionship.com/jimmy-mclaughlin. This parameter is optional if Wikidata property P4019 exists, but required if not.
| String | 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 "(soccer)" or "(footballer)".
| String | optional |
Tracking categories
[edit source]- template with ID
- Category:USL Championship player ID different from Wikidata (39)
- Category:USL Championship player ID not in Wikidata (45)
- template missing ID
See also
[edit source]- {{MLS player}} for links to player pages at Major League Soccer website
- {{USL League One player}} for links to player pages at USL League One website
External links
[edit source]