Template:TNOC profile/doc

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

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

Unnamed parameters

 * Usage


 * Output


 * URLs
 * https://olimpiyatkomitesi.org.tr/Athlete-Detail/10585 (in English)
 * https://olimpiyatkomitesi.org.tr/Sporcu-Detay/10585 (in Turkish)
 * https://www.olimpiyat.org.tr/Athlete-Detail/10585 (in English)
 * https://www.olimpiyat.org.tr/Sporcu-Detay/10585 (in Turkish)

Named parameters

 * Usage


 * Output


 * URLs
 * https://olimpiyatkomitesi.org.tr/Athlete-Detail/7862 (in English)
 * https://olimpiyatkomitesi.org.tr/Sporcu-Detay/7862 (in Turkish)
 * https://www.olimpiyat.org.tr/Athlete-Detail/7862 (in English)
 * https://www.olimpiyat.org.tr/Sporcu-Detay/7862 (in Turkish)

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 Turkish National Olympic Committee (TNOC), known in Turkish as Türkiye Milli Olimpiyat Komitesi (TMOK). It is intended for use in the external links section of an article.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "The ID number in the URL, such as 10585 in https://olimpiyatkomitesi.org.tr/Athlete-Detail/10585, https://olimpiyatkomitesi.org.tr/Sporcu-Detay/10585, https://www.olimpiyat.org.tr/Athlete-Detail/10585, or https://www.olimpiyat.org.tr/Sporcu-Detay/10585. This parameter is optional if Wikidata property P9973 exists, but required if not.", "default": "Wikidata property P9973", "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)\".", "default": "", "type": "string", "required": false } },  "paramOrder": [ "id", "name" ] }

Templates and modules used

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