Template:KSÍ player 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.

Usage

edit
Unnamed parameters
{{KSÍ player | ID }}
{{KSÍ player | ID | NAME }}
Named parameters
{{KSÍ player | id= ID }}
{{KSÍ player | id= ID | name= NAME }}
Using Wikidata property
{{KSÍ player}}
{{KSÍ player | name= NAME }}

Examples

edit

Unnamed parameters

edit

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

Usage
* {{KSÍ player | 181734 | Sigríður Lára Garðarsdóttir }}
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

edit

Example for Alex Þór Hauksson

Usage
* {{KSÍ player | id= 186688 | name= Alex Þór Hauksson }}
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

edit
Usage
* {{KSÍ player}}
Output
  • {{KSÍ player}} template missing ID and not present in Wikidata.

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:KSÍ player in articles based on its TemplateData.

TemplateData for KSÍ player

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.

Template parameters

ParameterDescriptionTypeStatus
idid 1

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.

Default
Wikidata property P6495
Numberoptional
namename 2

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)".

Default
{{PAGENAMEBASE}}
Stringoptional