Template:FFF player/doc
This is a documentation subpage for Template:FFF player. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:FFF player displays an external link to an association football (soccer) player's profile at the official website of the French Football Federation (Fédération Française de Football or FFF), the national sport governing body for association football in France. It is intended for use in the external links section of an article.
Usage
Unnamed parameters:
{{FFF player | ID }}
{{FFF player | ID | NAME }}
Named parameters:
{{FFF player | id= ID }}
{{FFF player | id= ID | name= NAME }}
Using Wikidata property (P9264):
{{FFF player}}
{{FFF player | name= NAME }}
Examples
Unnamed parameters
Usage:
* {{FFF player | 8046-m-barek-sarah | Sarah M'Barek }}
Output:
- Sarah M'Barek at the French Football Federation (in French)
URL:
Named parameters
Usage:
* {{FFF player | id= 8800-bakayoko-tiemoue | name= Tiémoué Bakayoko }}
Output:
- Tiémoué Bakayoko at the French Football Federation (in French)
URL:
No parameters and Wikidata property not defined
Usage:
* {{FFF player}}
Output:
- FFF player/doc at the French Football Federation (in French)
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 FFF player
<templatedata> {
"description": "This template displays an external link to an association football (soccer) player's profile at the official website of the French Football Federation (Fédération Française de Football or FFF), the national sport governing body for association football in France. It is intended for use in the external links section of an article.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID from the URL. Example: 8800-bakayoko-tiemoue is the ID in https://www.fff.fr/equipe-nationale/joueur/8800-bakayoko-tiemoue/fiche.html. This parameter is optional if Wikidata property P9264 exists, but required if not.", "type": "string", "required": false, "default": "Wikidata property P9264" }, "name": { "label": "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": "FFF player/doc" } }, "paramOrder": [ "id", "name" ]
} </templatedata>
Related pages
- {{FFF male player}} for link to web archive of male player's former profile page
- {{FFF female player}} for link to web archive of female player's former profile page