Jump to content

Template:UPL/doc

From Wikipedia, the free encyclopedia

Template:UPL 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
{{UPL | ID }}
{{UPL | ID | NAME }}
Named parameters
{{UPL | id= ID }}
{{UPL | id= ID | name= NAME }}
Using Wikidata property
{{UPL}}
{{UPL | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage in Bohdan Kohut
* {{UPL | 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
* {{UPL | 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
* {{UPL}}
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:UPL in articles based on its TemplateData.

TemplateData for UPL

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