Template:Olympic Channel

{{{name}}} at the Olympic Channel

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

Template:Olympic Channel displays an external link to an athlete's profile at the Olympic Channel website. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{Olympic Channel | ID }}
{{Olympic Channel | ID | NAME }}

Named parameters:

{{Olympic Channel | id= ID }}
{{Olympic Channel | id= ID | name= NAME }}

Using Wikidata property (P5815):

{{Olympic Channel }}
{{Olympic Channel | name= NAME }}

Examples

Unnamed parameters

Usage:

* {{Olympic Channel | marie-dorin-habert | Marie Dorin Habert }}

Output:

URL:

https://www.olympicchannel.com/en/athletes/detail/marie-dorin-habert/

Named parameters

Usage:

* {{Olympic Channel |id= patrick-stevens-1 |name= Patrick Stevens }}

Output:

URL:

https://www.olympicchannel.com/en/athletes/detail/patrick-stevens-1/

No ID in template or Wikidata

Usage:

* {{Olympic Channel}}

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 Olympic Channel

<templatedata> {

 "description": "This template displays an external link to an athlete's profile at the Olympic Channel website. It is intended for use in the external links section of an article.",
 "params": {
   "id": {
     "label": "id",
     "aliases": ["1"], 
     "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: marie-dorin-habert is the ID portion of https://www.olympicchannel.com/en/athletes/detail/marie-dorin-habert/. This parameter is optional if Wikidata property P5815 exists, but required if not.",
     "type": "string",
     "required": false,
     "default": "Wikidata property P5815"
   },
   "name": {
     "label": "name",
     "aliases": ["2"], 
     "description": "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)\".",
     "type": "string",
     "required": false,
     "default": "Olympic Channel"
   }
 },
 "paramOrder": [
   "id",
   "name"
 ]

} </templatedata>

Related templates