Template:LOK profile/doc

It is intended for use in the external links section of an article.

Usage

 * Current ID




 * Former ID




 * Former ID using Wikidata property



Current ID in template

 * Usage


 * Output


 * 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


 * Output


 * 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


 * Output


 * 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


 * Output

TemplateData
{ "description": "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.", "params": { "id": { "label": "Current ID", "aliases": ["1"], "description": "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.", "example": "323", "type": "number", "required": false },   "name": { "label": "Name", "aliases": ["2"], "description": "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)\".", "example": "Māris Bružiks", "default": "", "type": "string", "required": false },   "old_id": { "label": "Former ID", "description": "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/.", "default": "Wikidata property P2593", "example": "maris-bruziks-323", "type": "string", "required": false },   "archive": { "label": "Archive Date/Time", "description": "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//http://olimpiade.lv/lv/latvijas-olimpiesi/.", "default": "20210730", "example": "20210724141010", "type": "number", "required": false } },  "paramOrder": [ "id", "name", "old_id", "archive" ] }

Templates and modules used

 * Template:First word, implemented with Module:String
 * Module:EditAtWikidata
 * Module:WikidataCheck