Template:YouTube
Appearance
This template creates a formatted external link to a YouTube channel, profile or video.
Direct URL
{{YouTube|https://www.youtube.com/@example}}
Custom title:
{{YouTube
| https://www.youtube.com/@example
| title = Example on YouTube
}}
Named URL
{{YouTube
| url = https://www.youtube.com/@example
| title = Example on YouTube
}}
YouTube handle
Write the handle without the @ symbol:
{{YouTube
| handle = example
| title = Example on YouTube
}}
Channel ID
{{YouTube
| channel = UCxxxxxxxxxxxxxxxx
| title = Example YouTube channel
}}
The alias channel_id is also supported:
{{YouTube
| channel_id = UCxxxxxxxxxxxxxxxx
| title = Example YouTube channel
}}
Username
{{YouTube
| user = example
| title = Example on YouTube
}}
The alias username is also supported.
Video
{{YouTube
| video = dQw4w9WgXcQ
| title = Watch on YouTube
}}
The alias video_id is also supported.
Supported parameters
1— complete YouTube URLurl— complete YouTube URLchannelorchannel_idhandle— without the @ symboluserorusernamevideoorvideo_idtitleorname— displayed link text