Template:FIFA player/doc
This is a documentation subpage for Template:FIFA player. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata Template:Tracks Wikidata
This template uses Lua: |
Template:FIFA player displays an external link to an association football (soccer) player's 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.
Contents
Usage
Unnamed parameters:
{{FIFA player | ID }}
{{FIFA player | ID | NAME }}
Named parameters:
{{FIFA player | id= ID }}
{{FIFA player | id= ID | name= NAME }}
{{FIFA player | id= ID | archive= NUMBER }}
{{FIFA player | id= ID | name= NAME | archive= NUMBER }}
Using Wikidata property Template:Property:
{{FIFA player}}
{{FIFA player | name= NAME }}
{{FIFA player | archive= NUMBER }}
{{FIFA player | name= NAME | archive= NUMBER }}
Examples
Unnamed parameters
Usage:
* {{FIFA player | 63869 | PELÉ (Edson Arantes do Nascimento) }}
Output:
- PELÉ (Edson Arantes do Nascimento) – FIFA competition recordScript error: No such module "EditAtWikidata". Template:WikidataCheck
Current URLs:
- https://static.fifa.com/fifa-tournaments/players-coaches/people=63869/index.html
- https://www.fifa.com/worldcup/players/player/63869/
Former URL:
Named parameters
Usage:
* {{FIFA player | id= 284 | name= Brandi CHASTAIN }}
* {{FIFA player | id= 284 | name= Brandi CHASTAIN | archive= 20160305161836 }}
Output:
- Brandi CHASTAIN – FIFA competition recordScript error: No such module "EditAtWikidata". Template:WikidataCheck
- Brandi CHASTAIN – FIFA competition recordScript error: No such module "EditAtWikidata". Template:WikidataCheck
Current URLs:
- https://static.fifa.com/fifa-tournaments/players-coaches/people=284/index.html
- https://www.fifa.com/worldcup/players/player/284/
Former URL:
No parameters and Wikidata property not defined
Usage:
* {{FIFA player}}
Output:
- Template:PAGENAMEBASE – FIFA competition recordScript error: No such module "EditAtWikidata". Template:WikidataCheck
TemplateData
TemplateData for FIFA player
This template displays an external link to an association football (soccer) player's 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" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 63869 is the ID portion of 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 name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify 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 |
archive | archive | Number representing the date/time in an Internet Archive URL, such as 20150905215836 in https://web.archive.org/web/20150905215836/http://www.fifa.com/fifa-tournaments/players-coaches/people=63869/index.html. | Number | optional |
Tracking categories
- template with ID
- template missing ID
See also
- {{UEFA player}}
- {{AFC player}}
- {{NFT player}}
- {{Soccerbase}}
- {{Soccerway}}