From Valve Developer Community
(Redirected from Template:YouTube)
Jump to navigation
Jump to search

Available doc translations
…
English
Link to
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.
|
|
|
{{{1}}}
|
Links to the YouTube videos, and channels, without the name ({{{2}}}) specified.
|
|
|
{{{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
|
|
|
See also