Template:UEFA player/doc
This is a documentation subpage for Template:UEFA player. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 6,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
- UEFA player ID (P2276) (see uses)
This template uses Lua: |
Template:UEFA player displays an external link to a web archive of an association football (soccer) player's profile at UEFA.com, the official website of the Union of European Football Associations (UEFA). It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{UEFA player | ID }}
{{UEFA player | ID | NAME }}
{{UEFA player | ID | NAME | archive= NUMBER }}
- Named parameters
{{UEFA player | id= ID }}
{{UEFA player | id= ID | name= NAME }}
{{UEFA player | id= ID | name= NAME | archive= NUMBER }}
- Using Wikidata property UEFA player ID (P2276)
{{UEFA player}}
{{UEFA player | name= NAME }}
{{UEFA player | name= NAME | archive= NUMBER }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{UEFA player | 250076574 | Kylian Mbappé }}
- Output
-
- Kylian Mbappé – UEFA competition record (archive)
- URLs in template
- https://www.uefa.com/uefachampionsleague/clubs/players/250076574/
- https://web.archive.org/web/2020/https://www.uefa.com/teamsandplayers/players/player=250076574/profile/index.html
- Current URLs at UEFA.com
- https://www.uefa.com/uefachampionsleague/clubs/players/250076574--kylian-mbappe/
- https://www.uefa.com/uefanationsleague/teams/players/250076574--kylian-mbappe/
- Former URLs at UEFA.com
- https://www.uefa.com/teamsandplayers/players/player=250076574/profile/index.html
- https://www.uefa.com/teamsandplayers/players/player=250076574/profile/
- https://www.uefa.com/teamsandplayers/players/player=250076574
Unnamed parameters (archived link only)
[edit]- Usage
* {{UEFA player | 95803 | Lionel Messi | archive= 20200617002500 }}
- Output
-
- Lionel Messi – UEFA competition record (archived)
- URLs in template
- https://www.uefa.com/uefachampionsleague/clubs/players/95803/
- https://web.archive.org/web/20200617002500/https://www.uefa.com/teamsandplayers/players/player=95803/profile/index.html
- Current URLs at UEFA.com
- https://www.uefa.com/uefachampionsleague/clubs/players/95803--lionel-messi/
- https://www.uefa.com/finalissima/teams/players/95803--lionel-messi/
- Former URLs at UEFA.com
- https://www.uefa.com/teamsandplayers/players/player=95803/profile/index.html
- https://www.uefa.com/teamsandplayers/players/player=95803/profile/
- https://www.uefa.com/teamsandplayers/players/player=95803
Named parameters
[edit]- Usage
* {{UEFA player | id= 250002096 | name= Robert Lewandowski }}
- Output
-
- Robert Lewandowski – UEFA competition record (archive)
- URLs in template
- https://www.uefa.com/uefachampionsleague/clubs/players/250002096/
- https://web.archive.org/web/2020/https://www.uefa.com/teamsandplayers/players/player=250002096/profile/index.html
- Current URLs at UEFA.com
- https://www.uefa.com/uefachampionsleague/clubs/players/250002096--robert-lewandowski/
- https://www.uefa.com/uefanationsleague/teams/players/250002096--robert-lewandowski/
- Former URLs at UEFA.com
- https://www.uefa.com/teamsandplayers/players/player=250002096/profile/index.html
- https://www.uefa.com/teamsandplayers/players/player=250002096/profile/
- https://www.uefa.com/teamsandplayers/players/player=250002096
Named parameters (archived link only)
[edit]- Usage
* {{UEFA player | id= 250027349 | name= Sara Däbritz | archive= 20200622163054 }}
- Output
-
- Sara Däbritz – UEFA competition record (archived)
- URL in template
- https://web.archive.org/web/20200622163054/https://www.uefa.com/teamsandplayers/players/player=250027349/profile/index.html
- Current URLs at UEFA.com
- https://www.uefa.com/uefachampionsleague/clubs/players/250027349--sara-dabritz/
- https://www.uefa.com/womensworldcup/teams/players/250027349--sara-dabritz/
- Former URLs at UEFA.com
- https://www.uefa.com/teamsandplayers/players/player=250027349/profile/index.html
- https://www.uefa.com/teamsandplayers/players/player=250027349/profile/
- https://www.uefa.com/teamsandplayers/players/player=250027349
No parameters and Wikidata property not defined
[edit]- Usage
* {{UEFA player}}
- Output
-
- {{UEFA player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for UEFA player
This template displays an external link to a web archive of an association football (soccer) player's profile at UEFA.com, the official website of the Union of European Football Associations (UEFA). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
UEFA.com player ID | id 1 | The ID portion of the URL, such as 250076574 in https://www.uefa.com/uefachampionsleague/clubs/players/250076574/. This parameter is optional if Wikidata property P2276 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 |
Internet Archive date/time | archive | A number indicating the date and time of an archive at the Internet Archive website. Example: 20200617002500 is the "archive" number in https://web.archive.org/web/20200617002500/https://www.uefa.com/teamsandplayers/players/player=95803/profile/index.html, which is an archive of https://www.uefa.com/teamsandplayers/players/player=95803/profile/index.html created on 2020-06-17 00:25:00. | Number | optional |
Tracking categories
[edit]- template with ID
- template missing ID
See also
[edit]- {{UEFA coach}}
- Other player templates
- {{FIFA player}}
- {{AFC player}}
- {{BDFutbol}}
- {{NFT player}}
- {{Soccerbase}}
- {{Soccerway}}
External links
[edit]