Jump to content

Template:Ukrainian Premier League player/doc

From Wikipedia, the free encyclopedia

Template:Ukrainian Premier League player displays an external link to an association football (soccer) player's page at UPL.ua, the official website of the Ukrainian Premier League (UPL). It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{Ukrainian Premier League player | ID }}
{{Ukrainian Premier League player | ID | NAME }}
Named parameters
{{Ukrainian Premier League player | id= ID }}
{{Ukrainian Premier League player | id= ID | name= NAME }}
Using Wikidata property
{{Ukrainian Premier League player}}
{{Ukrainian Premier League player | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage in Bohdan Kohut
* {{Ukrainian Premier League player | 53481 }}
Output
URLs
https://upl.ua/en/people/view/53481 (in English)
https://upl.ua/ua/people/view/53481 (in Ukranian)

Named parameters

[edit]
Usage in Andriy Yarmolenko
* {{Ukrainian Premier League player | id= 54635 }}
Output
URLs
https://upl.ua/en/people/view/54635 (in English)
https://upl.ua/ua/people/view/54635 (in Ukranian)

No ID in template or Wikidata

[edit]
Usage
* {{Ukrainian Premier League player}}
Output
  • {{UPL}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Ukrainian Premier League player in articles based on its TemplateData.

TemplateData for Ukrainian Premier League player

This template displays an external link to an association football (soccer) player's page at UPL.ua, the official website of the Ukrainian Premier League (UPL). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as 53481 in https://upl.ua/en/people/view/53481 or https://upl.ua/ua/people/view/53481. This parameter is optional if Wikidata property P7362 exists, but required if not.

Default
Wikidata property P7362
Numberoptional
Namename 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 "(footballer)" or "(soccer)".

Default
{{PAGENAMEBASE}}
Stringoptional