Template:CONI profile/doc

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

Usage

 * With ID in template


 * With ID in Wikidata property

With name in template

 * Usage


 * Output


 * Current URLs using new ID number
 * https://www.coni.it/it/italia-team/atleti/scheda-atleta/scheda_atleta/1865-Carolina_Kostner.html (at website)
 * https://www.coni.it/it/italia-team/atleti/scheda-atleta/scheda_atleta/1865 (in template)


 * Former URLs using old ID number
 * https:// www.coni.it/it/italia-team/atleti/scheda-atleta/scheda_atleta/998-Carolina_Kostner.html (archived 2022-07-02)
 * https:// www.coni.it/it/italia-team/atleti/scheda-atleta/scheda_atleta/998 (archived 2022-03-12)
 * http:// www.coni.it/it/atleti/scheda-atleta/scheda_atleta/998 (archived 2020-11-23)


 * URL for same person with different ID (PyeongChang 2018 Winter Olympics)
 * http://www.pyeongchang2018.coni.it/en/home-english/athletes/scheda_atleta/946-Carolina_Kostner.html

With name of Wikipedia article

 * Usage in article Simone Buti


 * Output


 * Current URLs using new ID number
 * https://www.coni.it/it/italia-team/atleti/scheda-atleta/scheda_atleta/1006-SIMONE_BUTI.html (at website)
 * https://www.coni.it/it/italia-team/atleti/scheda-atleta/scheda_atleta/1006 (in template)


 * Former URLs using old ID number
 * https:// www.coni.it/it/italia-team/atleti/scheda-atleta/scheda_atleta/1067-Simone_Buti.html (archived 2022-07-02)
 * https:// www.coni.it/it/italia-team/atleti/scheda-atleta/scheda_atleta/1067 (archived 2021-07-31)
 * http:// www.coni.it/it/atleti/scheda-atleta/scheda_atleta/1067 (archived 2020-11-22)


 * URL for same person with different ID (Rio 2016 Summer Olympics)
 * http://www.rio2016.coni.it/en/home-english/italia-team/the-team/scheda_atleta/296-SIMONE_BUTI.html

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 Italian National Olympic Committee, known in Italian as Comitato Olimpico Nazionale Italiano (CONI). It is intended for use in the external links section of an article.", "params": { "new_id": { "label": "New ID", "description": "The new ID number in the new URL, such as 1865 in https://www.coni.it/it/italia-team/atleti/scheda-atleta/scheda_atleta/1865-Carolina_Kostner.html. This parameter is optional if Wikidata property P4069 exists, but required if not.", "default": "Wikidata property P4069", "example": "1865", "type": "number", "required": false },   "name": { "label": "Name", "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": "Carolina Kostner", "type": "string", "required": false } },  "paramOrder": [ "new_id", "name" ] }

Templates and modules used

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