View text source at Wikipedia


Template:User YouTube/doc

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:
This user has a channel on YouTube.
{{User YouTube|ChannelID}}
|YouTube{{!}}ChannelID|
This user has a channel on YouTube.
{{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:
This user has a channel on YouTube.
{{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:
This user has a channel on YouTube.
{{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):
This user has a channel on YouTube.
{{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:
This user has a channel on YouTube.
{{User YouTube|handle=Handle}}
|YouTube{{!}}handle{{=}}Handle|