From Meta, a Wikimedia project coordination wiki
This user has a channel on YouTube .
Template output
Stand alone code
Babel box code
Notes
{{User YouTube|YouTubeID}}
|YouTube{{!}}YouTubeID|
For YouTube channels of the form https://youtube.com/channel/YouTubeID
where YouTubeID
is a 24-character-long alphanumeric ID
{{User YouTube|channel_id=YouTubeID}}
|YouTube{{!}}channel_id{{=}}YouTubeID|
{{User YouTube|username=Username}}
|YouTube{{!}}username{{=}}Username|
For YouTube channels opened prior to 2013 of the form https://youtube.com/user/Username
{{User YouTube|custom_name=CustomURLname}}
|YouTube{{!}}custom_name{{=}}CustomURLname|
For YouTube channels with at least 100 subscribers that applied for a custom URL of the form https://youtube.com/c/CustomURLname
{{User YouTube|custom_name_2=CustomUsername}}
|YouTube{{!}}custom_name_2{{=}}CustomUsername|
For YouTube channels of the form https://youtube.com/CustomUsername
(shortcut alternative to /user/CustomUsername
or /c/CustomUsername
depending on channel)