Template:OKS profile/doc

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

Usage

 * Active link with ID in template


 * Archived link with ID in template


 * Former link with ID in template


 * Using Wikidata property

Active link
In the article Ervin Holpert:


 * Usage


 * Output


 * URL
 * https://oks.org.rs/sportisti/ervin-holpert/


 * Former URL
 * http:// oksis.oks.org.rs/portal/public/index.php/athlete/213 (archive 2016-10-17)

Active link with numeric ID
In the article Katarina Simonović:


 * Usage


 * Output


 * URL
 * https://oks.org.rs/sportisti/3249/


 * Former URL
 * http:// oksis.oks.org.rs/portal/public/index.php/athlete/1254 (archive 2016-10-10)

Archived link
In the article Tijana Ajduković:


 * Usage


 * Output


 * URL
 * http://web.archive.org/web/20211107032553/https://oks.org.rs/sportisti/tijana-ajdukovic/


 * Former URL
 * http:// oksis.oks.org.rs/portal/public/index.php/athlete/1289 (archive 2016-10-13)

Former link only
In the article Dejan Tomašević:


 * Usage


 * Output


 * Former URL
 * http:// oksis.oks.org.rs/portal/public/index.php/athlete/1004 (archive 2020-07-18)

No parameters

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to an athlete's profile at the official website of the Olympic Committee of Serbia, known in Serbian as Olimpijski Komitet Srbije (OKS). It is intended for use in the external links section of an article.", "params": { "id": { "label": "ID", "aliases": ["1"], "description": "The ID portion of the current URL at oks.org.rs/sportisti/, such as ervin-holpert in https://oks.org.rs/sportisti/ervin-holpert/ or 3249 in https://oks.org.rs/sportisti/3249/. This parameter is optional if Wikidata property P10978 exists, but required if not.", "default": "Wikidata property P10978", "example": "ervin-holpert", "type": "string", "required": false },   "name": { "label": "Name", "aliases": ["2"], "description": "The link text, which should be the name of the person. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(athlete)\".", "default": "", "example": "Ervin Holpert", "type": "string", "required": false },   "archive": { "label": "Archive Date/Time", "description": "Number representing the date/time in an Internet Archive URL for the oks.org.rs/sportisti/ link, such as 20211107032553 in https://web.archive.org/web/20211107032553/https://oks.org.rs/sportisti/tijana-ajdukovic/. This parameter causes the template to use an archived URL link starting https://web.archive.org/web//.", "example": "20211107032553", "type": "number", "required": false },   "old_id": { "label": "Old ID", "description": "The old ID number in the former URL at oksis.oks.org.rs/portal/public/index.php/athlete/, such as 213 in http://oksis.oks.org.rs/portal/public/index.php/athlete/213. When using this parameter, the template automatically displays an archived link. This is the same ID as found in Wikidata property P4547.", "example": "213", "type": "number", "required": false } },  "paramOrder": [ "id", "name", "archive", "old_id" ] }