Usage
edit{{YouTube channel|YouTube}}
→ YouTube{{YouTube channel|c= Gamer Samiul YT }}
→ Samiul YT Gamer Samiul YT{{YouTube channel|channel=UCEbFsO2sM_wjTn44YAgSrrg}}
→ UCEbFsO2sM_wjTn44YAgSrrg{{YouTube channel|YouTube|text=custom text}}
→ custom text{{YouTube channel|user=pewdiepie}}
→ pewdiepie{{YouTube channel|handle=YMS}}
→ YMS{{YouTube channel}}
→ Template:YouTube channel: no channel specified. (help)
TemplateData
editThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:YouTube channel in articles based on its TemplateData.
TemplateData for YouTube channel
Links to a YouTube channel with minimum text.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Vanity URL | 1 | A vanity URL can be appended right after youtube.com/
| String | suggested |
Long vanity URL | c | A long vanity URL can be appended after youtube.com/c/, and may differ from the normal vanity URL | String | suggested |
Full channel ID | channel | The full ID of the YouTube channel. This is an immutable string, but is lengthy (thus discouraged in infoboxes without a label).
| String | optional |
Channel name | text | The text to override the link text, if using the channel parameter or if the vanity URL is unrecognizable.
| String | optional |
user | user | no description | Unknown | optional |
Handle | handle | Links to a channel prefixed with an '@' | String | suggested |