Difference between revisions of "Template:CPSF profile/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(create)
 
imported>Zyxw
(→‎See also: update text)
 
Line 73: Line 73:
  
 
== See also ==
 
== See also ==
* {{tl|CNOSF profile}} for links to athlete profiles from the [[French National Olympic and Sports Committee|''Comité National Olympique et Sportif Français'']]
+
* {{tl|CNOSF profile}} for athlete profiles from the [[French National Olympic and Sports Committee|''Comité National Olympique et Sportif Français'']]
* {{tl|IPC athlete}} for links to athlete profiles from the [[International Paralympic Committee]]
+
* {{tl|IPC athlete}} for athlete profiles from the [[International Paralympic Committee]]
 
* {{tl|BPA profile}} for athlete profiles from the [[British Paralympic Association]]
 
* {{tl|BPA profile}} for athlete profiles from the [[British Paralympic Association]]
 
* {{tl|CPC profile}} for athlete profiles from the [[Canadian Paralympic Committee]]
 
* {{tl|CPC profile}} for athlete profiles from the [[Canadian Paralympic Committee]]

Latest revision as of 03:27, 4 April 2020

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

Usage

Unnamed parameters
{{CPSF profile | ID }}
{{CPSF profile | ID | NAME }}
Named parameters
{{CPSF profile | id= ID }}
{{CPSF profile | id= ID | name= NAME }}

Examples

Unnamed parameters

URL
https://france-paralympique.fr/paralympiens/marie-amelie-le-fur/
Usage
* {{CPSF profile | marie-amelie-le-fur | Marie-Amélie Le Fur }}
Output

Named parameters

URL
https://france-paralympique.fr/paralympiens/benjamin-daviet/
Usage
* {{CPSF profile | id= benjamin-daviet | name= Benjamin Daviet }}
Output

No parameters

Usage
* {{CPSF 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 CPSF profile

This template displays an external link to an athlete's profile at the official website of the French Paralympic and Sports Committee, known in French as Comité Paralympique et Sportif Français (CPSF). 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: marie-amelie-le-fur is the ID portion of https://france-paralympique.fr/paralympiens/marie-amelie-le-fur/.

Stringrequired
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

See also

External links