Template:LOK profile
{{{name}}} at the Latvijas Olimpiskā Komiteja (in Latvian)Template:WikidataCheck
Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
Template:LOK profile displays an external link to an athlete's profile at the official website of the Latvian Olympic Committee, known in Latvian as Latvijas Olimpiskā Komiteja (LOK). It is intended for use in the external links section of an article.
Contents
Usage
- Unnamed parameters
{{LOK profile | ID }}
{{LOK profile | ID | NAME }}
- Named parameters
{{LOK profile | id= ID }}
{{LOK profile | id= ID | name= NAME }}
- Using Wikidata property Template:Property
{{LOK profile}}
{{LOK profile | name= NAME }}
Examples
Unnamed parameters
- URLs
- http://olimpiade.lv/en/olympic-athletes/jelena-rublevska-456
- http://olimpiade.lv/lv/latvijas-olimpiesi/jelena-rublevska-456
- http://olimpiade.lv/lat/lok/olimpiesi/olimpietis/456/ (redirect to link above)
- Usage
* {{LOK profile | jelena-rublevska-456 | Jeļena Rubļevska }}
- Output
-
- Jeļena Rubļevska at the Latvijas Olimpiskā Komiteja (in Latvian)Script error: No such module "EditAtWikidata".Template:WikidataCheck
Named parameters
- URLs
- http://olimpiade.lv/en/olympic-athletes/maris-strombergs-453
- http://olimpiade.lv/lv/latvijas-olimpiesi/maris-strombergs-453
- http://olimpiade.lv/lat/lok/olimpiesi/olimpietis/453/ (redirect to link above)
- Usage
* {{LOK profile | id= maris-strombergs-453 | name= Māris Štrombergs }}
- Output
-
- Māris Štrombergs at the Latvijas Olimpiskā Komiteja (in Latvian)Script error: No such module "EditAtWikidata".Template:WikidataCheck
No parameters and Wikidata property not defined
- Usage
* {{LOK profile}}
- Output
-
- Template:PAGENAMEBASE at the Latvijas Olimpiskā Komiteja (in Latvian)Script error: No such module "EditAtWikidata".Template:WikidataCheck
TemplateData
TemplateData for LOK profile
This template displays an external link to an athlete's profile at the official website of the Latvian Olympic Committee, known in Latvian as Latvijas Olimpiskā Komiteja (LOK). 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: jelena-rublevska-456 is the ID portion of http://olimpiade.lv/en/olympic-athletes/jelena-rublevska-456 or http://olimpiade.lv/lv/latvijas-olimpiesi/jelena-rublevska-456. This parameter is optional if Wikidata property P2593 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
- {{IOC profile}} for links to profiles from the International Olympic Committee
- {{AOC profile}} for links to profiles from the Australian Olympic Committee
- {{BOC profile}} for links to profiles from the Brazilian Olympic Committee
- {{Chinese Olympic Committee profile}} for links to profiles from the Chinese Olympic Committee
- {{CNOSF profile}} for links to profiles from the Comité National Olympique et Sportif Français
- {{COA profile}} for links to profiles from the Comité Olímpico Argentino
- {{COC profile}} for links to profiles from the Canadian Olympic Committee
- {{COE profile}} for links to profiles from the Comité Olímpico Español
- {{CONI profile}} for links to profiles from the Comitato Olimpico Nazionale Italiano
- {{COSR profile}} for links to profiles from the Comitetul Olimpic și Sportiv Român
- {{COV profile}} for links to profiles from the Český olympijský výbor
- {{DOSB profile}} for links to profiles from the Deutscher Olympischer Sportbund
- {{MOB profile}} for links to profiles from the Magyar Olimpiai Bizottság
- {{NZOC profile}} for links to profiles from the New Zealand Olympic Committee
- {{OKS profile}} for links to profiles from the Olimpijski Komitet Srbije
- {{PKOl profile}} for links to profiles from the Polski Komitet Olimpijski
- {{SNOC profile}} for links to profiles from the Singapore National Olympic Council
- {{SOK profile}} for links to profiles from the Sveriges Olympiska Kommitté
- {{Team GB}} for links to profiles from Team GB (the British Olympic Association)
- {{USOPC profile}} for links to profiles from the United States Olympic & Paralympic Committee
External links
- Athlete search at the Latvian Olympic Committee (English language website, but some text in Latvian)
- Athlete search at the Latvian Olympic Committee (in Latvian)
The above documentation is transcluded from Template:LOK profile/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |