Template:UEFA player

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

{{{name}}}UEFA competition record

Template documentation[view] [edit] [history] [purge]

Template:UEFA player displays an external link to an association football (soccer) player's profile at UEFA.com, the official website of the Union of European Football Associations (UEFA). It is intended for use in the external links section of an article.

Usage[change source]

Unnamed parameters:

{{UEFA player | ID }}
{{UEFA player | ID | NAME }}

Named parameters:

{{UEFA player | id= ID }}
{{UEFA player | id= ID | name= NAME }}

Using Wikidata property UEFA player ID (P2276):

{{UEFA player}}
{{UEFA player | name= NAME }}

Examples[change source]

Unnamed parameters[change source]

Usage:

* {{UEFA player | 14670 | David Beckham }}

Output:

URLs:

https://www.uefa.com/teamsandplayers/players/player=14670/profile/index.html
https://www.uefa.com/teamsandplayers/players/player=14670/profile/
https://www.uefa.com/teamsandplayers/players/player=14670

Named parameters[change source]

Usage:

* {{UEFA player | id= 250027349 | name= Sara Däbritz }}

Output:

URLs:

https://www.uefa.com/teamsandplayers/players/player=250027349/profile/index.html
https://www.uefa.com/teamsandplayers/players/player=250027349/profile/
https://www.uefa.com/teamsandplayers/players/player=250027349

No parameters and Wikidata property not defined[change source]

Usage:

* {{UEFA player}}

Output:

  • {{UEFA player}} template missing ID and not present in Wikidata.

TemplateData[change source]

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 UEFA player

This template displays an external link to an association football (soccer) player's profile at UEFA.com, the official website of the Union of European Football Associations (UEFA). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
UEFA.com player IDid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 14670 is the ID portion of https://www.uefa.com/teamsandplayers/players/player=14670/profile/index.html. This parameter is optional if Wikidata property P2276 exists, but required if not.

Default
Wikidata property P2276
Numberoptional
Player's 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[change source]

template with ID
template missing ID

See also[change source]