Template:KSÍ player/doc
![]() | This is a documentation subpage for Template:KSÍ player. It may contain usage information, categories and other content that is not part of the original template page. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
KSÍ player ID (P6495) (see uses)
![]() | This template uses Lua: |
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
-
- Sigríður Lára Garðarsdóttir at the Football Association of Iceland (in Icelandic)
- 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
-
- Alex Þór Hauksson at the Football Association of Iceland (in Icelandic)
- 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]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 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.
| Number | optional |
name | name 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)".
| String | optional |