Template:UPL/doc
This is a documentation subpage for Template:UPL. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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]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.
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 |