Jump to content

Template:CONI profile/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Zyxw (talk | contribs) at 22:13, 23 January 2023 (remove deprecated parameters and tracking category - all templates were updated and category is empty). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Template:CONI profile 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.

Usage

With ID in template
{{CONI profile | new_id= ID }}
{{CONI profile | new_id= ID | name= NAME }}
With ID in Wikidata property
{{CONI profile}}
{{CONI profile | name= NAME }}

Examples

With name in template

Usage
* {{CONI profile | new_id= 1865 | name= Carolina Kostner }}
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
* {{CONI profile | new_id= 1006 }}
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
* {{CONI profile}}
Output
  • {{CONI profile}} template missing ID and not present in Wikidata.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:CONI profile in articles based on its TemplateData.

TemplateData for CONI profile

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.

Template parameters

ParameterDescriptionTypeStatus
New IDnew_id

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
Numberoptional
Namename

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
{{PAGENAMEBASE}}
Example
Carolina Kostner
Stringoptional

Tracking categories

Templates and modules used

See also