Template:CNOM profile/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:CNOM profile displays an external link to an athlete's profile at the official website of the Moroccan National Olympic Committee, known in French as Comité National Olympique Marocain (CNOM). It is intended for use in the external links section of an article.

Unnamed parameters
{{CNOM profile | ID }}
{{CNOM profile | ID | NAME }}
Named parameters
{{CNOM profile | id= ID }}
{{CNOM profile | id= ID | name= NAME }}
Using Wikidata property
{{CNOM profile}}
{{CNOM profile | name= NAME }}

Examples

[edit source]

Unnamed parameters

[edit source]
Usage
* {{CNOM profile | malika-akkaoui | Malika Akkaoui }}
Output
URL
https://cnom.org.ma/fr/athlete/malika-akkaoui

Named parameters

[edit source]
Usage
* {{CNOM profile | id= bensghir-yassine | name= Yassine Bensghir }}
Output
URL
https://cnom.org.ma/fr/athlete/bensghir-yassine

No parameters and Wikidata property not defined

[edit source]
Usage
* {{CNOM profile}}
Output

TemplateData

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

TemplateData for CNOM profile

This template displays an external link to an athlete's profile at the official website of the Moroccan National Olympic Committee, known in French as Comité National Olympique Marocain (CNOM). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID number from the URL, such as malika-akkaoui in https://cnom.org.ma/fr/athlete/malika-akkaoui. This parameter is optional if Wikidata property P11019 exists, but required if not.

Default
Wikidata property P11019
Example
malika-akkaoui
Stringoptional
namename 2

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
Malika Akkaoui
Stringoptional

See also

[edit source]

Olympic profile templates

[edit source]
Country Template Wikidata property
{{Olympics.com}} P5815
Argentina {{COA profile}} P4065
Australia {{Australian Olympic Committee}} P3682
Austria {{Team Austria}} P13928
Azerbaijan {{Olympic.az}} 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}} P13268
France {{Team France}}
{{CNOSF profile}}
P11934
P4050
Germany {{Team Deutschland}} P4053
Great Britain {{Team GB}} P4490
Greece {{HOC profile}} No property for current ID
P4489
Hungary {{MOB profile}} P4066
Ireland {{OFI profile}} P10914
Israel {{OCI profile}} P9669
Italy {{CONI profile}} P4069
Japan {{Team Japan}}
Kazakhstan {{Olympic.kz}} P11024
Latvia {{LOK profile}} No property for current ID
P2593
Lithuania {{LTOK profile}} P4061
Luxembourg {{COSL profile}} P12372
Morocco {{CNOM profile}} P11019
Netherlands {{TeamNL profile}} No property for current ID
P9822
Netherlands {{NOCNSF profile}} P10957
New Zealand {{NZOC profile}} P4056
Norway {{Team Norway}}
Poland {{PKOl profile}} No property for current ID
P6071
Qatar {{Team Qatar}}
Romania {{COSR profile}} No property for current ID
P4067
Serbia {{OKS profile}} P10978
Singapore {{SNOC profile}} P10979
Slovakia {{SOSV profile}} P10647
Spain {{COE profile}} P8421
Sweden {{SOK profile}} P2323
Turkey {{TMOK profile}}
{{Olimpedya}}
P9973
 
United States {{Team USA}} P13540
P4063