Template:LOK profile
{{{name}}} at the Latvijas Olimpiskā komiteja (in Latvian) (English translation)
This template uses Lua: |
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.
Usage
- Current ID
{{LOK profile | ID }}
{{LOK profile | ID | NAME }}
{{LOK profile | id= ID }}
{{LOK profile | id= ID | name= NAME }}
- Former ID
{{LOK profile | old_id= ID }}
{{LOK profile | old_id= ID | archive= NUMBER }}
{{LOK profile | old_id= ID | name= NAME }}
{{LOK profile | old_id= ID | name= NAME | archive= NUMBER }}
- Former ID using Wikidata property Latvian Olympic Committee athlete ID (archived) (P2593)
{{LOK profile}}
{{LOK profile | archive= NUMBER }}
{{LOK profile | name= NAME }}
{{LOK profile | name= NAME | archive= NUMBER }}
Examples
Current ID in template
- Usage
* {{LOK profile | 427 | Ineta Radeviča }}
* {{LOK profile | id= 427 | name= Ineta Radeviča }}
- Output
-
- Ineta Radeviča at the Latvijas Olimpiskā komiteja (in Latvian) (English translation)
- Ineta Radeviča at the Latvijas Olimpiskā komiteja (in Latvian) (English translation)
- Current URL
- https://www.olimpiade.lv/olimpietis/427
- Former URLs
- http://olimpiade.lv/lv/latvijas-olimpiesi/ineta-radevica-427 (archived 2021-07-24)
- http://olimpiade.lv/en/olympic-athletes/ineta-radevica-427 (archived 2021-09-17)
- http://olimpiade.lv/lat/lok/olimpiesi/olimpietis/427/ (archived 2013-05-21)
- http://www.olimpiade.lv/eng/olympians/olimpietis/427/ (archived 2013-05-22)
Former ID in template
- Usage
* {{LOK profile | old_id= ineta-radevica-427 | name= Ineta Radeviča }}
* {{LOK profile | old_id= ineta-radevica-427 | name= Ineta Radeviča | archive= 20210724091419 }}
- Output
-
- Ineta Radeviča at the Latvijas Olimpiskā komiteja (archived) (in Latvian)
- Ineta Radeviča at the Latvijas Olimpiskā komiteja (archived) (in Latvian)
- URLs
- https://web.archive.org/web/20210730/http://olimpiade.lv/lv/latvijas-olimpiesi/ineta-radevica-427
- https://web.archive.org/web/20210724091419/http://olimpiade.lv/lv/latvijas-olimpiesi/ineta-radevica-427
Both IDs in template
- Usage
* {{LOK profile | 323 | Māris Bružiks | old_id= maris-bruziks-323 }}
* {{LOK profile | 323 | Māris Bružiks | old_id= maris-bruziks-323 | archive= 20210724141010 }}
- Output
-
- Māris Bružiks at the Latvijas Olimpiskā komiteja (in Latvian) (English translation, archive)
- Māris Bružiks at the Latvijas Olimpiskā komiteja (in Latvian) (English translation, archive)
- Current URL
- https://www.olimpiade.lv/olimpietis/323
- Former URLs
- http://olimpiade.lv/lv/latvijas-olimpiesi/maris-bruziks-323 (archived 2021-07-24)
- http://olimpiade.lv/en/olympic-athletes/maris-bruziks-323 (archived 2021-09-25)
- http://olimpiade.lv/lat/lok/olimpiesi/olimpietis/323/ (archived 2013-05-22)
- http://www.olimpiade.lv/eng/olympians/olimpietis/323/ (archived 2013-05-22)
No parameters and Wikidata property not defined
- Usage
* {{LOK profile}}
- Output
-
- {{LOK profile}} template missing ID and not present in Wikidata.
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 | |
---|---|---|---|---|
Current ID | id 1 | The ID number from the athlete's current URL at Olimpiade.lv. This parameter is optional if Wikidata property P2593 exists or if "old_id" is used.
| Number | 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 |
Former ID | old_id | The ID portion of the former URL at Olimpiade.lv. It causes the template to include a link to https://web.archive.org/web/20210730/http://olimpiade.lv/lv/latvijas-olimpiesi/{{old_id}}.
| String | optional |
Archive Date/Time | archive | Number representing the date/time in an Internet Archive URL for the Olimpiade.lv link. It causes the template to include a link to https://web.archive.org/web/{{archive}}/http://olimpiade.lv/lv/latvijas-olimpiesi/{{old_id}}.
| Number | optional |
Tracking categories
- Category:LOK profile template with ID different from Wikidata (0)
- Category:LOK profile template with ID not in Wikidata (0)
- Category:LOK profile template using Wikidata (1)
- Category:LOK profile template missing ID and not in Wikidata (0)
- Category:Pages using LOK profile with unknown parameters (0)
Templates and modules used
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck
See also
Olympic profile templates
Country | Template | Wikidata property |
---|---|---|
{{Olympics.com profile}} | P5815: Olympics.com athlete ID | |
Argentina | {{COA profile}} | P4065: Argentine Olympic Committee athlete ID |
Australia | {{AOC profile}} | P3682: Australian Olympic Committee athlete ID |
Azerbaijan | {{Olympic.az profile}} | P10975: National Olympic Committee of the Republic of Azerbaijan athlete ID |
Belarus | {{NOC Belarus}} | |
Belgium | {{Team Belgium}} | P10963: Belgian Olympic and Interfederal Committee athlete ID |
Brazil | {{COB profile}} | P4060: Brazilian Olympic Committee athlete ID |
Canada | {{Team Canada}} | P4054: Team Canada athlete ID |
China | {{Chinese Olympic Committee profile}} | P4068: Chinese Olympic Committee athlete ID (archived) |
Croatia | {{HOO profile}} | P4541: Croatian Olympic Committee athlete ID (archived) |
Czech Republic | {{COV profile}} | P4062: Czech Olympic Committee athlete ID |
Estonia | {{ESBL profile}} | P4042: ESBL athlete ID |
Estonia | {{EOK profile}} | |
Finland | {{Olympiakomitea.fi}} | |
France | {{CNOSF profile}} | P4050: EspritBleu athlete ID (archived) |
France | {{Team France}} | P11934: Team France athlete ID |
Germany | {{DOSB profile}} | P4053: Team Deutschland athlete ID |
Great Britain | {{Team GB}} | P4490: Team GB athlete ID |
Greece | {{HOC profile}} | P4489: Hellenic Olympic Committee athlete ID (archived) |
Hungary | {{MOB profile}} | P4066: Hungarian Olympic Committee athlete ID |
Ireland | {{OFI profile}} | P10914: Olympic Federation of Ireland athlete ID |
Israel | {{OCI profile}} | P9669: Olympic Committee of Israel athlete ID (archived) |
Italy | {{CONI profile}} | P4069: Italian National Olympic Committee athlete ID |
Japan | {{JOC profile}} | |
Kazakhstan | {{Olympic.kz profile}} | P11024: National Olympic Committee of the Republic of Kazakhstan athlete ID |
Latvia | {{LOK profile}} | P2593: Latvian Olympic Committee athlete ID (archived) |
Lithuania | {{LTOK profile}} | P4061: Lithuanian National Olympic Committee athlete ID |
Luxembourg | {{COSL profile}} | P12372: Luxembourg Olympic and Sports Committee profile ID |
Morocco | {{CNOM profile}} | P11019: Moroccan Olympic Committee athlete ID |
Netherlands | {{TeamNL profile}} | P9822: TeamNL athlete ID number (archived) |
Netherlands | {{NOCNSF profile}} | P10957: NOC*NSF athlete ID |
New Zealand | {{NZOC profile}} | P4056: New Zealand Olympic Committee athlete ID |
Norway | {{Team Norway}} | |
Poland | {{PKOl profile}} | P6071: Polish Olympic Committee athlete ID (archived) |
Qatar | {{Team Qatar}} | |
Romania | {{COSR profile}} | P4067: Romanian Olympic and Sports Committee athlete ID (archived) |
Serbia | {{OKS profile}} | P10978: Olympic Committee of Serbia athlete ID (new) |
Singapore | {{SNOC profile}} | P10979: Singapore National Olympic Council athlete ID |
Slovakia | {{SOSV profile}} | P10647: Slovak Olympic and Sports Committee athlete ID |
Spain | {{COE profile}} | P8421: Spanish Olympic Committee athlete ID |
Sweden | {{SOK profile}} | P2323: Swedish Olympic Committee athlete ID |
Turkey | {{TMOK profile}} | P9973: Turkish National Olympic Committee athlete ID |
Turkey | {{Olimpedya}} | |
United States | {{USOPC profile}} | P4063: Team USA athlete former ID (archived) |