Template:CNOSF profile

From blackwiki
Jump to navigation Jump to search

{{{name}}} at the Comité National Olympique et Sportif Français (in French)Template:WikidataCheck

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Template:CNOSF profile displays an external link to an athlete's profile at the official website of the French National Olympic and Sports Committee, known in French as Comité National Olympique et Sportif Français (CNOSF). It is intended for use in the external links section of an article.

Usage

Unnamed parameters
{{CNOSF profile | ID }}
{{CNOSF profile | ID | NAME }}
Named parameters
{{CNOSF profile | id= ID }}
{{CNOSF profile | id= ID | name= NAME }}
Using Wikidata property Template:Property
{{CNOSF profile}}
{{CNOSF profile | name= NAME }}

Examples

Unnamed parameters

URL
https://espritbleu.franceolympique.com/espritbleu/athletes/8/mladenovic-132258.php
Usage
* {{CNOSF profile | 8/mladenovic-132258 | Kristina Mladenovic }}
Output

Named parameters

URL
https://espritbleu.franceolympique.com/espritbleu/athletes/1/vastine-28371.php
Usage
* {{CNOSF profile | id= 1/vastine-28371 | name= Alexis Vastine }}
Output

No parameters and Wikidata property not defined

Usage
* {{CNOSF profile}}
Output

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for CNOSF profile

This template displays an external link to an athlete's profile at the official website of the French National Olympic and Sports Committee, known in French as Comité National Olympique et Sportif Français (CNOSF). 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: 8/mladenovic-132258 is the ID portion of https://espritbleu.franceolympique.com/espritbleu/athletes/8/mladenovic-132258.php. This parameter is optional if Wikidata property P4050 exists, but required if not.

Default
Wikidata property P4050
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

Templates and modules used

See also

External links