Template:Olympic Channel
{{{name}}} at the Olympic Channel
This template uses Lua: |
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
changeUnnamed parameters:
{{Olympic Channel | ID }}
{{Olympic Channel | ID | NAME }}
Named parameters:
{{Olympic Channel | id= ID }}
{{Olympic Channel | id= ID | name= NAME }}
Using Wikidata property Olympics.com athlete ID (P5815):
{{Olympic Channel }}
{{Olympic Channel | name= NAME }}
Examples
changeUnnamed parameters
changeUsage:
* {{Olympic Channel | marie-dorin-habert | Marie Dorin Habert }}
Output:
- Marie Dorin Habert at the Olympic Channel
URL:
Named parameters
changeUsage:
* {{Olympic Channel |id= patrick-stevens-1 |name= Patrick Stevens }}
Output:
- Patrick Stevens at the Olympic Channel
URL:
No ID in template or Wikidata
changeUsage:
* {{Olympic Channel}}
Output:
- {{Olympic Channel}} template missing ID and not present in Wikidata.
TemplateData
changeTemplateData for Olympic Channel
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | 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.
| String | optional |
name | name 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)".
| String | optional |
Related templates
change- {{IOC profile}}