Jump to content

Template:COSR profile/doc

From Wikipedia, the free encyclopedia

Template:COSR profile displays an external link to an athlete's profile at the official website of the Romanian Olympic and Sports Committee, known in Romanian as Comitetul Olimpic și Sportiv Român (COSR). It is intended for use in the external links section of an article.

Usage

[edit]
Using article for name
{{COSR profile | new_id= NEW ID }}
{{COSR profile | new_id= NEW ID | old_id= OLD ID }}
{{COSR profile | old_id= OLD ID }}
{{COSR profile | id= OLD ID }}
{{COSR profile | OLD ID }}
Using parameter for name
{{COSR profile | new_id= NEW ID | name= NAME }}
{{COSR profile | new_id= NEW ID | old_id= OLD ID | name= NAME }}
{{COSR profile | old_id= OLD ID | name= NAME }}
{{COSR profile | id= OLD ID | name= NAME }}
{{COSR profile | OLD ID | NAME }}
Using Wikidata property
{{COSR profile}}
{{COSR profile | name= NAME }}

Examples

[edit]

Example 1

[edit]
Usage in Ancuța Bobocel
* {{COSR profile | new_id= bobocel-ancuta }}
* {{COSR profile | new_id= bobocel-ancuta | old_id= ancuta-bobocel }}
* {{COSR profile | old_id= ancuta-bobocel }}
* {{COSR profile | ancuta-bobocel }}
Output
Current URLs with new ID
https://www.cosr.ro/sportive/bobocel-ancuta
https://www.cosr.ro/public/index.php/sportive/bobocel-ancuta
Former URL with old ID
https://www.cosr.ro/sportiv/ancuta-bobocel (archive)

Example 2

[edit]
Usage in Nicolae Istrate
* {{COSR profile | new_id= istrate-nicolae }}
* {{COSR profile | new_id= istrate-nicolae | old_id= nicolae-istrate }}
* {{COSR profile | old_id= nicolae-istrate }}
* {{COSR profile | id= nicolae-istrate }}
Output
Current URLs with new ID
https://www.cosr.ro/sportive/istrate-nicolae
https://www.cosr.ro/public/index.php/sportive/istrate-nicolae
Former URL with old ID
https://www.cosr.ro/sportiv/nicolae-istrate (archive)

No parameters and Wikidata property not defined

[edit]
Usage
* {{COSR profile}}
Output
  • {{COSR profile}} template missing ID and not present in Wikidata.

TemplateData

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

TemplateData for COSR profile

This template displays an external link to an athlete's profile at the official website of the Romanian Olympic and Sports Committee, known in Romanian as Comitetul Olimpic și Sportiv Român (COSR). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
Current IDnew_id

The ID portion of the current URL, such as bobocel-ancuta in https://www.cosr.ro/sportive/bobocel-ancuta. This parameter is optional if using the "old_id" parameter or if Wikidata property P4067 exists, but required if not.

Stringoptional
Former IDold_id id 1

The ID portion of the former URL, such as ancuta-bobocel in https://www.cosr.ro/sportiv/ancuta-bobocel. This parameter is optional if using the "new_id" parameter or if Wikidata property P4067 exists, but required if not.

Default
Wikidata property P4067
Stringoptional
Namename 2

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

Tracking categories

[edit]
template with ID
template missing ID

Templates and modules used

[edit]

See also

[edit]

Olympic profile templates

[edit]
Country Template Wikidata property
{{Olympics.com profile}} P5815: Olympics.com athlete ID
Argentina {{COA profile}} P4065: Argentine Olympic Committee athlete ID
Australia {{AOC profile}} P3682: Australian Olympic Committee athlete ID
Azerbaijan {{Olympic.az profile}} P10975: National Olympic Committee of the Republic of Azerbaijan athlete ID
Belarus {{NOC Belarus}}
Belgium {{Team Belgium}} P10963: Belgian Olympic and Interfederal Committee athlete ID
Brazil {{COB profile}} P4060: Brazilian Olympic Committee athlete ID
Canada {{Team Canada}} P4054: Team Canada athlete ID
China {{Chinese Olympic Committee profile}} P4068: Chinese Olympic Committee athlete ID (archived)
Croatia {{HOO profile}} P4541: Croatian Olympic Committee athlete ID (archived)
Czech Republic {{COV profile}} P4062: Czech Olympic Committee athlete ID
Estonia {{ESBL profile}} P4042: ESBL athlete ID
Estonia {{EOK profile}}
Finland {{Olympiakomitea.fi}}
France {{CNOSF profile}} P4050: EspritBleu athlete ID (archived)
France {{Team France}} P11934: Team France athlete ID
Germany {{DOSB profile}} P4053: Team Deutschland athlete ID
Great Britain {{Team GB}} P4490: Team GB athlete ID
Greece {{HOC profile}} P4489: Hellenic Olympic Committee athlete ID (archived)
Hungary {{MOB profile}} P4066: Hungarian Olympic Committee athlete ID
Ireland {{OFI profile}} P10914: Olympic Federation of Ireland athlete ID
Israel {{OCI profile}} P9669: Olympic Committee of Israel athlete ID (archived)
Italy {{CONI profile}} P4069: Italian National Olympic Committee athlete ID
Japan {{JOC profile}}
Kazakhstan {{Olympic.kz profile}} P11024: National Olympic Committee of the Republic of Kazakhstan athlete ID
Latvia {{LOK profile}} P2593: Latvian Olympic Committee athlete ID (archived)
Lithuania {{LTOK profile}} P4061: Lithuanian National Olympic Committee athlete ID
Luxembourg {{COSL profile}} P12372: Luxembourg Olympic and Sports Committee profile ID
Morocco {{CNOM profile}} P11019: Moroccan Olympic Committee athlete ID
Netherlands {{TeamNL profile}} P9822: TeamNL athlete ID number (archived)
Netherlands {{NOCNSF profile}} P10957: NOC*NSF athlete ID
New Zealand {{NZOC profile}} P4056: New Zealand Olympic Committee athlete ID
Norway {{Team Norway}}
Poland {{PKOl profile}} P6071: Polish Olympic Committee athlete ID (archived)
Qatar {{Team Qatar}}
Romania {{COSR profile}} P4067: Romanian Olympic and Sports Committee athlete ID (archived)
Serbia {{OKS profile}} P10978: Olympic Committee of Serbia athlete ID (new)
Singapore {{SNOC profile}} P10979: Singapore National Olympic Council athlete ID
Slovakia {{SOSV profile}} P10647: Slovak Olympic and Sports Committee athlete ID
Spain {{COE profile}} P8421: Spanish Olympic Committee athlete ID
Sweden {{SOK profile}} P2323: Swedish Olympic Committee athlete ID
Turkey {{TMOK profile}} P9973: Turkish National Olympic Committee athlete ID
Turkey {{Olimpedya}}
United States {{USOPC profile}} P4063: Team USA athlete former ID (archived)
[edit]