Template:KSÍ player/doc

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

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

Unnamed parameters
Example for Sigríður Lára Garðarsdóttir


 * Usage


 * Output


 * URL in template
 * https://www.ksi.is/mot/leikmadur/?leikmadur=181734


 * Other URLs
 * https://www.ksi.is/mot/leikmadur/$PlayerDetails/Games/?leikmadur=181734
 * https://www.ksi.is/mot/leikmadur/$PlayerDetails/Caps/?leikmadur=181734
 * https://www.ksi.is/mot/leikmadur/$PlayerDetails/FirstTier/?leikmadur=181734
 * https://www.ksi.is/mot/leikmadur/?pLeikmadurNr=181734
 * https://www.ksi.is/mot/motalisti/felagsmadur/?pLeikmadurNr=181734 (redirects to URL above)

Named parameters
Example for Alex Þór Hauksson


 * Usage


 * Output


 * URL in template
 * https://www.ksi.is/mot/leikmadur/?leikmadur=186688


 * Other URLs
 * https://www.ksi.is/mot/leikmadur/$PlayerDetails/Games/?leikmadur=186688
 * https://www.ksi.is/mot/leikmadur/$PlayerDetails/Caps/?leikmadur=186688
 * https://www.ksi.is/mot/leikmadur/$PlayerDetails/FirstTier/?leikmadur=186688
 * https://www.ksi.is/mot/leikmadur/?pLeikmadurNr=186688
 * https://www.ksi.is/mot/motalisti/felagsmadur/?pLeikmadurNr=186688 (redirects to URL above)

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to an association football (soccer) player's profile at KSI.is, the official website of the Football Association of Iceland (Icelandic: Knattspyrnusamband Íslands, KSÍ). It is intended for use in the external links section of an article.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "The ID number in the URL for the player, such as 181734 in https://www.ksi.is/mot/leikmadur/?leikmadur=181734 or https://www.ksi.is/mot/leikmadur/?pLeikmadurNr=181734. This parameter is optional if Wikidata property P6495 exists, but required if not.", "type": "number", "required": false, "default": "Wikidata property P6495" },   "name": { "label": "name", "aliases": ["2"], "description": "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" ] }