Template:FIFA player/doc
This is a documentation subpage for Template:FIFA 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 10,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. |
This template uses Lua: |
Template:FIFA player displays an external link to a web archive an association football (soccer) player's former profile at FIFA.com, the official website of the International Federation of Association Football (FIFA: Fédération Internationale de Football Association). It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{FIFA player | ID }}
{{FIFA player | ID | NAME }}
{{FIFA player | ID | NAME | archive= NUMBER }}
- Named parameters
{{FIFA player | id= ID }}
{{FIFA player | id= ID | name= NAME }}
{{FIFA player | id= ID | name= NAME | archive= NUMBER }}
- Using Wikidata property
{{FIFA player}}
{{FIFA player | name= NAME }}
{{FIFA player | name= NAME | archive= NUMBER }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{FIFA player | 63869 | Pelé }}
* {{FIFA player | 63869 | Pelé | archive= 20150905215836 }}
- URLs in template
- https://web.archive.org/web/20150905/https://www.fifa.com/fifa-tournaments/players-coaches/people=63869/index.html
- https://web.archive.org/web/20150905215836/https://www.fifa.com/fifa-tournaments/players-coaches/people=63869/index.html
- Former URLs
- https://www.fifa.com/fifa-tournaments/players-coaches/people=63869/index.html
- https://static.fifa.com/fifa-tournaments/players-coaches/people=63869/index.html
- https://www.fifa.com/worldcup/players/player/63869/
Named parameters
[edit]- Usage
* {{FIFA player | id= 284 | name= Brandi Chastain }}
* {{FIFA player | id= 284 | name= Brandi Chastain | archive= 20160305161836 }}
- Output
-
- Brandi Chastain – FIFA competition record (archived)
- Brandi Chastain – FIFA competition record (archived)
- URLs in template
- https://web.archive.org/web/20150905/https://www.fifa.com/fifa-tournaments/players-coaches/people=284/index.html
- https://web.archive.org/web/20160305161836/https://www.fifa.com/fifa-tournaments/players-coaches/people=284/index.html
- Former URLs
- https://www.fifa.com/fifa-tournaments/players-coaches/people=284/index.html
- https://static.fifa.com/fifa-tournaments/players-coaches/people=284/index.html
- https://www.fifa.com/worldcup/players/player/284/
No parameters and Wikidata property not defined
[edit]- Usage
* {{FIFA player}}
- Output
-
- {{FIFA player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for FIFA player
This template displays an external link to a web archive an association football (soccer) player's former profile at FIFA.com, the official website of the International Federation of Association Football (FIFA: Fédération Internationale de Football Association). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
FIFA.com player ID | id 1 | The ID number in the URL, such as 63869 in https://static.fifa.com/fifa-tournaments/players-coaches/people=63869/index.html or https://www.fifa.com/worldcup/players/player/63869/. This parameter is optional if Wikidata property P1469 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, such as 20150905215836 in https://web.archive.org/web/20150905215836/https://www.fifa.com/fifa-tournaments/players-coaches/people=63869/index.html, which is an archive of https://www.fifa.com/fifa-tournaments/players-coaches/people=63869/index.html created on 2015-09-05 21:58:36. | Number | optional |
Tracking categories
[edit]- template with ID
- template missing ID
See also
[edit]- {{UEFA player}}
- {{AFC player}}
- {{NFT player}}
- {{Soccerbase}}
- {{Soccerway}}