Template:User YouTube-2/doc
![]() | This is a documentation subpage for Template:User YouTube-2. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
Template output | Stand alone code | Babel box code | Notes |
---|---|---|---|
<syntaxhighlight lang="wikitext"></syntaxhighlight> | YouTube|YouTubeID|</syntaxhighlight> | For YouTube channels of the form https://youtube.com/channel/YouTubeID where YouTubeID is a 24-character-long alphanumeric ID
| |
<syntaxhighlight lang="wikitext"></syntaxhighlight> | YouTube|channel_id=YouTubeID|</syntaxhighlight> | ||
<syntaxhighlight lang="wikitext"></syntaxhighlight> | YouTube|username=Username|</syntaxhighlight> | For YouTube channels opened prior to 2013 of the form https://youtube.com/user/Username
| |
<syntaxhighlight lang="wikitext"></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
| |
<syntaxhighlight lang="wikitext"></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)
|