Template:Youtube

From Valve Developer Community
Jump to: navigation, search
For another version of this template (imported from Wikipedia icon Wikipedia), see Template:YouTube/bc.
Curly brackets white.pngTemplate Documentation
Icon-translate.png
View
Edit
Page history
Shortcut
{{yt}}
{{YouTube}}

Link to YouTube logo YouTube website, videos, channels, and more. Please note that this template (for now) isn't used to embed YouTube videos.

Parameters and Examples

Parameter Description Example Preview
No Parameters Creates a link to YouTube website.
{{youtube}}
{{{1}}} Links to the YouTube videos, and channels, without the name ({{{2}}}) specified.
{{youtube|@Valve}}
YouTube logo @Valve
{{{2}}} Set the name of the link.
{{youtube|_y9MpNcAitQ|page=watch|Counter-Strike 2 Responsive Smokes}}
{{{p}}}
{{{page}}}
Changes the page.
Values: Unspecified (default), <watch/video/videos>, playlist.
Only specify if the game or app was located somewhere else, otherwise the link will leads to 404 page instead of games/apps page.
{{youtube|_y9MpNcAitQ|page=watch|Video page - CS2 Responsive Smokes}}
{{youtube|PLQgyHqypb0gGEWZ0cEPBsGOkzH_ADQML-|page=playlist|Playlists - CL Soundtrack}}
{{{t}}} Changes the time where the video should start.
{{youtube|edYCtaNueQY|page=watch|t=71|Counter-Strike: Global Offensive Trailer (at 1:11)}}
{{{icon}}} Hide/shows the icon.
Values: show (default), hide
{{youtube|icon=hide}}

See also

Cross-wiki link templates ViewDiscussEdit templatePurge
Template Target wiki
{{wiki}} Wikipedia
{{cow}} Combine OverWiki
{{l4dwiki}} Left 4 Dead Wiki
{{pcgw}} PCGamingWiki
{{portalwiki}} Portal Unofficial Wiki
{{sboxwiki}} S&Box wiki
{{tfwiki}} Team Fortress Official Wiki
{{twhl}} The Whole Half-Life wiki
{{quakewiki}} The Quake Wiki (quakewiki.org)
{{cswiki}} Counter-Strike Wiki
Social media link templates
Template Target
{{bluesky}} Bluesky
{{discord}} Discord server invite
{{fb}} Facebook
{{reddit}} Reddit
{{steam community}} Steam Community
{{tiktok}} TikTok
{{twitch}} Twitch
{{twitter}} / {{x}} Twitter / X
{{youtube}} YouTube
Storefront link templates
Template Target store
{{steam store}} Steam store
(on web; use {{steam}} for app links)
{{ea app}} EA App
{{epic}} Epic Games Store
{{gplay}} Google Play
{{gog}} GOG.com (formerly Good Old Games)
{{ms store}} Microsoft Store and Xbox Store
Note.pngNote:Open with App links are not supported.
{{nintendo store}} Nintendo Store
Other link templates
Template Target
{{steam}} Steam application
{{github}} GitHub repository
{{gamebanana}} GameBanana page
{{moddb}} ModDB page
{{protondb}} ProtonDB page
{{steamdb}} SteamDB page