Template:COSR profile/doc

From English Wikipedia @ Freddythechick

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

Unnamed parameters
{{COSR profile | ID }}
{{COSR profile | ID | NAME }}
Named parameters
{{COSR profile | id= ID }}
{{COSR profile | id= ID | name= NAME }}
Using Wikidata property (P4067)
{{COSR profile}}
{{COSR profile | name= NAME }}

Examples

Unnamed parameters

URL
https://www.cosr.ro/sportiv/ancuta-bobocel
Usage
* {{COSR profile | ancuta-bobocel | Ancuța Bobocel }}
Output

Named parameters

URL
https://www.cosr.ro/sportiv/nicolae-istrate
Usage
* {{COSR profile | id= nicolae-istrate | name= Nicolae Istrate }}
Output

No parameters and Wikidata property not defined

Usage
* {{COSR profile}}
Output
  • {{COSR 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: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
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: ancuta-bobocel is the ID portion of https://www.cosr.ro/sportiv/ancuta-bobocel. This parameter is optional if Wikidata property P4067 exists, but required if not.

Default
Wikidata property P4067
Stringoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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

template with ID
template missing ID

Templates and modules used

See also

Olympic profile templates

Country Template Wikidata property
{{Olympics.com profile}} P5815
Argentina {{COA profile}} P4065
Australia {{AOC profile}} P3682
Azerbaijan {{Olympic.az profile}} P10975
Belarus {{NOC Belarus}}
Belgium {{Team Belgium}} P10963
Brazil {{COB profile}} P4060
Canada {{Team Canada}} P4054
China {{Chinese Olympic Committee profile}} P4068
Croatia {{HOO profile}} P4541
Czech Republic {{COV profile}} P4062
Estonia {{ESBL profile}} P4042
Estonia {{EOK profile}}
Finland {{Olympiakomitea.fi}}
France {{CNOSF profile}} P4050
France {{Team France}} P11934
Germany {{DOSB profile}} P4053
Great Britain {{Team GB}} P4490
Greece {{HOC profile}} P4489
Hungary {{MOB profile}} P4066
Ireland {{OFI profile}} P10914
Israel {{OCI profile}} P9669
Italy {{CONI profile}} P4069
Japan {{JOC profile}}
Kazakhstan {{Olympic.kz profile}} P11024
Latvia {{LOK profile}} P2593
Lithuania {{LTOK profile}} P4061
Luxembourg {{COSL profile}} P12372
Morocco {{CNOM profile}} P11019
Netherlands {{TeamNL profile}} P9822
Netherlands {{NOCNSF profile}} P10957
New Zealand {{NZOC profile}} P4056
Norway {{Team Norway}}
Poland {{PKOl profile}} P6071
Qatar {{Team Qatar}}
Romania {{COSR profile}} P4067
Serbia {{OKS profile}} P10978
Singapore {{SNOC profile}} P10979
Slovakia {{SOSV profile}} P10647
Spain {{COE profile}} P8421
Sweden {{SOK profile}} P2323
Turkey {{TMOK profile}} P9973
Turkey {{Olimpedya}}
United States {{USOPC profile}} P4063

External links