Template:Olympic Channel
Appearance
{{{name}}} at the Olympic Channel
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
This template uses the Wikidata property:
Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
File:Lua-Logo.svg | 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[change]
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[change]
Unnamed parameters[change]
Usage:
* {{Olympic Channel | marie-dorin-habert | Marie Dorin Habert }}
Output:
- Marie Dorin Habert at the Olympic Channel
URL:
Named parameters[change]
Usage:
* {{Olympic Channel |id= patrick-stevens-1 |name= Patrick Stevens }}
Output:
- Patrick Stevens at the Olympic Channel
URL:
No ID in template or Wikidata[change]
Usage:
* {{Olympic Channel}}
Output:
- Olympic Channel at the Olympic Channel
TemplateData[change]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Olympic Channel in articles based on its TemplateData.
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[change]
- {{IOC profile}}