Template:FIFA player
{{{name}}} – FIFA competition record
This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
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.
Usage
Unnamed parameters:
{{FIFA player | ID }}
{{FIFA player | ID | NAME }}
Named parameters:
{{FIFA player | id= ID }}
{{FIFA player | id= ID | name= NAME }}
Using Wikidata property P1469:
{{FIFA player}}
{{FIFA player | name= NAME }}
Examples
Unnamed parameters
URLs:
- https://www.fifa.com/fifa-tournaments/players-coaches/people=63869/
- https://www.fifa.com/fifa-tournaments/players-coaches/people=63869/index.html
Usage:
{{FIFA player | 63869 | PELÉ (Edson Arantes do Nascimento) }}
Output:
- PELÉ (Edson Arantes do Nascimento) – FIFA competition record
Named parameters
URLs:
- https://www.fifa.com/fifa-tournaments/players-coaches/people=284/
- https://www.fifa.com/fifa-tournaments/players-coaches/people=284/index.html
Usage:
{{FIFA player | id= 284 | name= Brandi CHASTAIN }}
Output:
- Brandi CHASTAIN – FIFA competition record
No parameters and Wikidata property not defined
Usage:
{{FIFA player}}
Output:
- FIFA player – FIFA competition record
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for FIFA player
<templatedata> {
"description": "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.", "params": { "id": { "label": "FIFA.com player ID", "aliases": ["1"], "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: 63869 is the ID portion of https://www.fifa.com/fifa-tournaments/players-coaches/people=63869/index.html. This parameter is optional if Wikidata property P1469 exists, but required if not.", "type": "number", "required": false, "default": "Wikidata property P1469" }, "name": { "label": "Player name", "aliases": ["2"], "description": "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)\".", "type": "string", "required": false, "default": "FIFA player" } }, "paramOrder": [ "id", "name" ]
} </templatedata>
Tracking categories
- "id" parameter exists
- Category:FIFA player ID not in Wikidata (93)
- Category:FIFA player ID different from Wikidata (0)
- Category:FIFA player ID same as Wikidata (0)
- "id" parameter does not exist
See also
- {{UEFA player}}
- {{NFT player}}
- {{Soccerbase}}
- {{Soccerway}}
The above documentation is transcluded from Template:FIFA player/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |