Template:CNOM profile
{{{name}}} at the Comité National Olympique Marocain (in French)
| File:Lua-Logo.svg | This template uses Lua: |
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.
Usage
[edit source]- 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
-
- Malika Akkaoui at the Comité National Olympique Marocain (in French)
Named parameters
[edit source]- Usage
* {{CNOM profile | id= bensghir-yassine | name= Yassine Bensghir }}
- Output
-
- Yassine Bensghir at the Comité National Olympique Marocain (in French)
No parameters and Wikidata property not defined
[edit source]- Usage
* {{CNOM profile}}
- Output
-
- CNOM profile at the Comité National Olympique Marocain (in French)Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 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.
| String | optional |
| name | name 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)".
| String | optional |