Template:Professional Football League of Ukraine profile link/doc
This is a documentation subpage for Template:Professional Football League of Ukraine profile link. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Professional Football League of Ukraine profile link displays an external link to an association football (soccer) player's page at PFL.ua, the official website of the Professional Football League of Ukraine (PFL). It is intended for use in the external links section of an article.
Usage
[edit]- Using Wikidata property
{{Professional Football League of Ukraine profile link}}
{{Professional Football League of Ukraine profile link | name= NAME }}
- Old ID (same as Wikidata)
{{Professional Football League of Ukraine profile link | ID | NAME }}
{{Professional Football League of Ukraine profile link | id= ID | name= NAME }}
- New ID
{{Professional Football League of Ukraine profile link | new_id= ID | name= NAME }}
Examples
[edit]Old ID
[edit]These profiles were formerly located at pfl.ua/players/ and were moved to old.pfl.ua/players/ in 2023.
This is the ID stored in Wikidata property Professional Football League of Ukraine player ID (old) (P7423).
- URLs
- https://old.pfl.ua/players/16806
- http://pfl.ua/players/16806 (archive 2023-06-24)
- Usage in Bohdan Kohut (Когут Богдан Ігорович)
* {{Professional Football League of Ukraine profile link | 16806 }}
* {{Professional Football League of Ukraine profile link | id= 16806 }}
- Output
-
- Bohdan Kohut at the Professional Football League (in Ukrainian)
New ID
[edit]These profiles start with pfl.ua/player/view/. They use a different ID number (not in Wikidata) than former profiles at pfl.ua/players/ or old.pfl.ua/players/.
- URL
- https://pfl.ua/player/view/54635
- Usage in Andriy Yarmolenko (Ярмоленко Андрій Миколайович)
* {{Professional Football League of Ukraine profile link | new_id= 54635 }}
- Output
-
- Andriy Yarmolenko at the Professional Football League (in Ukrainian)
No ID in template or Wikidata
[edit]- Usage
* {{Professional Football League of Ukraine profile link}}
- Output
-
- {{PFL}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Professional Football League of Ukraine profile link
This template displays an external link to an association football (soccer) player's page at PFL.ua, the official website of the Professional Football League of Ukraine (PFL). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Old ID | id 1 | The ID portion of the old URL, such as 7135 in https://old.pfl.ua/players/16806 or http://pfl.ua/players/7135. This parameter is optional if Wikidata property P7423 exists or when using "new_id", 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 |
New ID | new_id | The ID portion of the new URL, such as 7135 in https://pfl.ua/player/view/54635. | Number | optional |