Template:Ukrainian Premier League player/doc
This is a documentation subpage for Template:Ukrainian Premier League player. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| Number | optional |
Name | name 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)".
| String | optional |