Template:Premier League player
This template uses Lua: |
Template:Premier League player displays an external link to an association football (soccer) player's profile at PremierLeague.com, the official website of the Premier League. It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
{{Premier League player | ID }}
{{Premier League player | ID | NAME }}
- Named parameters
{{Premier League player | id= ID }}
{{Premier League player | id= ID | name= NAME }}
- Using Wikidata property
{{Premier League player}}
{{Premier League player | name= NAME }}
Examples
Unnamed parameters
- Usage in Cristiano Ronaldo
* {{Premier League player | 2522 }}
- Output
- URLs
- https://www.premierleague.com/players/2522/
- https://www.premierleague.com/players/2522/Cristiano-Ronaldo/overview
Named parameters
- Usage in Steven Gerrard
* {{Premier League player | id= 1575 }}
- Output
- URLs
- https://www.premierleague.com/players/1575/
- https://www.premierleague.com/players/1575/Steven-Gerrard/overview
No parameters and Wikidata property not defined
- Usage
* {{Premier League player}}
- Output
-
- {{Premier League player}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for Premier League player
This template displays an external link to an association football (soccer) player's profile at PremierLeague.com, the official website of the Premier League. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Player's ID number | id 1 | The ID number in the URL, such as 3472 in https://www.premierleague.com/players/3472/ or https://www.premierleague.com/players/3472/Sulley-Muntari/overview. This parameter is optional if Wikidata property P12539 exists, but required if not.
| Number | optional |
Player's 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 |
Tracking category
- template with ID
- Category:Premier League player template with ID different from Wikidata (0)
- Category:Premier League player template with ID not in Wikidata (0)
- template missing ID