Jump to content

Template:USL Championship player/doc

From Wikipedia, the free encyclopedia

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:

https://www.uslchampionship.com/donovan-ricketts

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:

https://www.uslchampionship.com/jimmy-mclaughlin

Former URL:

http://www.uslsoccer.com/jimmy-mclaughlin (archive)

No parameters and Wikidata property not defined[edit]

Usage:

* {{USL Championship 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:USL Championship player in articles based on its TemplateData.

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.

Template parameters

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

Default
Wikidata property P4019
Stringoptional
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 "(soccer)" or "(footballer)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories[edit]

template with ID
template missing ID

See also[edit]

External links[edit]