Template:SOK profile
{{{name}}} at Sveriges Olympiska Kommitté (in Swedish) (in English)
| 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
Omit the ID to use the Wikidata property.
- Article name as link text
{{SOK profile | ID }}{{SOK profile | id= ID }}
- Parameter as link text
{{SOK profile | ID | NAME }}{{SOK profile | id= ID | name= NAME }}
Examples
Unnamed parameters
- Usage
* {{SOK profile | c/charlotte-kalla | Charlotte Kalla }}
- Output
-
- Charlotte Kalla at Sveriges Olympiska Kommitté (in Swedish) (in English)
Named parameters
- Usage
* {{SOK profile | id= m/marcus-hellner | name= Marcus Hellner }}
- Output
-
- Marcus Hellner at Sveriges Olympiska Kommitté (in Swedish) (in English)
No parameters and Wikidata property not defined
- Usage
* {{SOK profile}}
- Output
-
- SOK profile at Sveriges Olympiska Kommitté (in Swedish) (in English)Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
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 portion of the URL, such as c/charlotte-kalla in 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 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
- Category:SOK profile template with ID different from Wikidata (0)
- Category:SOK profile template with ID not in Wikidata (0)
- Category:SOK profile template missing ID and not in Wikidata (0)
Templates and modules used
- {{PAGENAMEBASE}} and {{First word}}, implemented with Module:String
- {{EditAtWikidata}}, implemented with Module:EditAtWikidata
- {{WikidataCheck}}, implemented with Module:WikidataCheck
See also
Olympic profile templates
External links
- Athlete search at the Swedish Olympic Committee (in Swedish)