Template:LFP Ligue 1/doc

It is intended for use in the external links section of an article.

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

ID in template

 * Usage in the article Cheick Traoré, with article name as link text


 * Usage with name parameter as link text


 * Output


 * URLs
 * https://www.ligue1.com/player?id=cheick-omar-traore (in English)
 * https://www.ligue1.fr/joueur?id=cheick-omar-traore (in French)

ID in Wikidata

 * Usage in the article Clévid Dikamona:


 * Output
 * OOjs UI icon edit-ltr-progressive.svg
 * OOjs UI icon edit-ltr-progressive.svg


 * URLs
 * https://www.ligue1.com/player?id=clevid-dikamona (in English)
 * https://www.ligue1.fr/joueur?id=clevid-dikamona (in French)

No ID in template or Wikidata

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to an association football (soccer) player's LFP Ligue 1 profile at Ligue1.com (in English) and Ligue1.fr (in French). 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 portion of the URL. Example: cheick-omar-traore is the ID portion of https://www.ligue1.com/player?id=cheick-omar-traore or https://www.ligue1.fr/joueur?id=cheick-omar-traore. This parameter is optional if Wikidata property P9266 exists, but required if not.", "type": "number", "required": false, "default": "Wikidata property P9266" },   "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": "" } },  "paramOrder": [ "id", "name" ] }