Template:SOK profile/doc
![]() | This is a documentation subpage for Template:SOK profile. It may contain usage information, categories and other content that is not part of the original template page. |

NO LABEL (P2323) (see uses)
![]() | This template uses Lua: |
Template:SOK profile displays an external link to an athlete's profile at the official website of the Swedish Olympic Committee, known in Swedish as Sveriges Olympiska Kommitté (SOK). It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
{{SOK profile | ID }}
{{SOK profile | ID | NAME }}
- Named parameters
{{SOK profile | id= ID }}
{{SOK profile | id= ID | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{SOK profile | c/charlotte-kalla | Charlotte Kalla }}
- Output
-
- Charlotte Kalla at the Sveriges Olympiska Kommitté (in Swedish) (English translation)
Named parameters
- Usage
* {{SOK profile | id= m/marcus-hellner | name= Marcus Hellner }}
- Output
-
- Marcus Hellner at the Sveriges Olympiska Kommitté (in Swedish) (English translation)
No parameters and Wikidata property not defined
- Usage
* {{SOK profile}}
- Output
-
- {{SOK profile}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for SOK profile
This template displays an external link to an athlete's profile at the official website of the Swedish Olympic Committee, known in Swedish as Sveriges Olympiska Kommitté (SOK). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: c/charlotte-kalla is the ID portion of http://sok.se/idrottare/idrottare/c/charlotte-kalla.html. This parameter is optional if Wikidata property P2323 exists, but required if not.
| String | optional |
name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".
| String | optional |
Tracking categories
Templates and modules used
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
See also
Olympic profile templates
External links
- Athlete search at the Swedish Olympic Committee (in Swedish)