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]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 ID (P4019):
{{USL Championship player}}
{{USL Championship player | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]Usage:
* {{USL Championship player | donovan-ricketts | Donovan Ricketts }}
Output:
Current URL:
Former URL:
- http://www.uslsoccer.com/donovan-ricketts (archive)
Named parameters
[edit]Usage:
* {{USL Championship player | id= jimmy-mclaughlin | name= Jimmy McLaughlin }}
Output:
Current URL:
Former URL:
- http://www.uslsoccer.com/jimmy-mclaughlin (archive)
No parameters and Wikidata property not defined
[edit]Usage:
* {{USL Championship player}}
Output:
- {{USL Championship player}} template missing ID and not present in Wikidata.
TemplateData
[edit]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" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: jimmy-mclaughlin is the ID portion of 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 "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 "(soccer)" or "(footballer)".
| String | optional |
Tracking categories
[edit]- template with ID
- Category:USL Championship player ID different from Wikidata (43)
- Category:USL Championship player ID not in Wikidata (52)
- template missing ID
See also
[edit]- {{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]