Template:User YouTube-2/doc

From English Wikipedia @ Freddythechick

Usage

Template output Stand alone code Babel box code Notes
This user has a channel on YouTube.
<syntaxhighlight lang="wikitext">
This user has a channel on YouTube.
</syntaxhighlight>
YouTube|YouTubeID|</syntaxhighlight> For YouTube channels of the form https://youtube.com/channel/YouTubeID where YouTubeID is a 24-character-long alphanumeric ID
This user has a channel on YouTube.
<syntaxhighlight lang="wikitext">
This user has a channel on YouTube.
</syntaxhighlight>
YouTube|channel_id=YouTubeID|</syntaxhighlight>
This user has a channel on YouTube.
<syntaxhighlight lang="wikitext">
This user has a channel on YouTube.
</syntaxhighlight>
YouTube|username=Username|</syntaxhighlight> For YouTube channels opened prior to 2013 of the form https://youtube.com/user/Username
This user has a channel on YouTube.
<syntaxhighlight lang="wikitext">
This user has a channel on YouTube.
</syntaxhighlight>
YouTube|custom_name=CustomURLname|</syntaxhighlight> For YouTube channels with at least 100 subscribers that applied for a custom URL of the form https://youtube.com/c/CustomURLname
This user has a channel on YouTube.
<syntaxhighlight lang="wikitext">
This user has a channel on YouTube.
</syntaxhighlight>
YouTube|custom_name_2=CustomUsername|</syntaxhighlight> For YouTube channels of the form https://youtube.com/CustomUsername (shortcut alternative to /user/CustomUsername or /c/CustomUsername depending on channel)