Template:User YouTube/doc
Appearance
This is a documentation subpage for Template:User YouTube. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]Template output | Stand alone code | Babel box code |
---|---|---|
For YouTube channels of the canonical URL form https://www.youtube.com/channel/ChannelID where ChannelID is a 24-character-long alphanumeric string:
| ||
{{User YouTube|ChannelID}}
|
|YouTube{{!}}ChannelID|
| |
{{User YouTube|channel_id=ChannelID}}
|
|YouTube{{!}}channel_id{{=}}ChannelID|
| |
For YouTube channels opened prior to 2013 of the form https://www.youtube.com/user/Username :
| ||
{{User YouTube|username=Username}}
|
|YouTube{{!}}username{{=}}Username|
| |
For YouTube channels with at least 100 subscribers that applied for a custom URL of the form https://www.youtube.com/c/CustomURLname :
| ||
{{User YouTube|custom_name=CustomURLname}}
|
|YouTube{{!}}custom_name{{=}}CustomURLname|
| |
For YouTube channels of the form https://www.youtube.com/CustomChannelName (shortcut alternative to /user/CustomChannelName or /c/CustomChannelName depending on channel):
| ||
{{User YouTube|custom_name_2=CustomChannelName}}
|
|YouTube{{!}}custom_name_2{{=}}CustomChannelName|
| |
For YouTube channels of the form https://www.youtube.com/@Handle which debuted in 2022:
| ||
{{User YouTube|handle=Handle}}
|
|YouTube{{!}}handle{{=}}Handle|
|