قالب:User YouTube
| ملف:YouTube full-color icon (2024).svg | This user has a channel on YouTube. |
Usage
| 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|
| ||
| The above documentation is transcluded from قالب:User YouTube/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |