Template:Youtube/doc: Difference between revisions
Jump to navigation
Jump to search
Bug:Using youtu.be links with this template triggered spam filter. [todo tested in ?]
mNo edit summary |
(problem partially solved now.) |
||
Line 21: | Line 21: | ||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{youtube|@Valve}}</nowiki>}} | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{youtube|@Valve}}</nowiki>}} | ||
| style="padding:.2em .5em" | {{Capsule| {{youtube|@Valve}} }} | | style="padding:.2em .5em" | {{Capsule| {{youtube|@Valve}} }} | ||
|- | |- | ||
| style="text-align:center" | {{Code| {{param|2}} }} | | style="text-align:center" | {{Code| {{param|2}} }} | ||
| Set the name of the link. | | Set the name of the link. | ||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{youtube|_y9MpNcAitQ|page=watch|Counter-Strike 2 Responsive Smokes}}</nowiki>}} | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{youtube|_y9MpNcAitQ|page=watch|Counter-Strike 2 Responsive Smokes}}</nowiki>}} | ||
| style="padding:.2em .5em" | | | style="padding:.2em .5em" | {{Capsule| {{youtube|_y9MpNcAitQ|page=watch|Counter-Strike 2 Responsive Smokes}} }} | ||
|- | |- | ||
| style="text-align:center" | {{Code| {{param|page}} }} | | style="text-align:center" | {{Code| {{param|page}} }} | ||
| Changes the page.<br>Values: Unspecified (default), {{code|<watch/video/videos>}}, .<br>'''Only specify if the game or app was located somewhere else, otherwise the link will leads to 404 page instead of games/apps page.''' | | Changes the page.<br>Values: Unspecified (default), {{code|<watch/video/videos>}}, .<br>'''Only specify if the game or app was located somewhere else, otherwise the link will leads to 404 page instead of games/apps page.''' | ||
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{youtube|_y9MpNcAitQ|page=watch|Video page - CS2 Responsive Smokes}}</nowiki>}} {{CodeBlock|<nowiki>{{youtube|PLQgyHqypb0gGEWZ0cEPBsGOkzH_ADQML-|page=playlist|Playlists - CL Soundtrack}}</nowiki>}} | | style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{youtube|_y9MpNcAitQ|page=watch|Video page - CS2 Responsive Smokes}}</nowiki>}} {{CodeBlock|<nowiki>{{youtube|PLQgyHqypb0gGEWZ0cEPBsGOkzH_ADQML-|page=playlist|Playlists - CL Soundtrack}}</nowiki>}} | ||
| style="padding:.2em .5em" | | | style="padding:.2em .5em" | {{Capsule| {{youtube|PLQgyHqypb0gGEWZ0cEPBsGOkzH_ADQML-|page=playlist|Playlists - Crack-Life Soundtrack}} }} | ||
|- | |- | ||
| style="text-align:center" | {{Code| {{param|icon}} }} | | style="text-align:center" | {{Code| {{param|icon}} }} |
Revision as of 07:26, 31 August 2023

This is a documentation subpage for Template:Youtube.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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. | ||
{{{page}}} | Changes the page. Values: Unspecified (default), <watch/video/videos>, . Only specify if the game or app was located somewhere else, otherwise the link will leads to 404 page instead of games/apps page. |
||
{{{icon}}} | Hide/shows the icon. Values: show (default), hide |
See Also
Template | Preview |
---|---|
{{wikipedia}} {{wiki}} {{w}} |
![]() |
{{cow}} | ![]() |
{{l4dwiki}} | ![]() |
{{pcgw}} | ![]() |
{{portalwiki}} | ![]() |
{{sboxwiki}} | ![]() |
{{tfwiki}} | ![]() |
{{twhl}} | ![]() |
{{quakewiki}} | ![]() |
{{cswiki}} | ![]() |
Template | Preview |
---|---|
{{bluesky}} | ![]() |
{{discord}} | ![]() |
{{reddit}} | ![]() |
{{steam community}} | ![]() |
{{twitch}} | ![]() |
{{twitter}} {{x}} |
![]() |
{{youtube}} | ![]() |
Template | Preview |
---|---|
{{steam store}} | ![]() |
{{epic}} {{egs}} |
![]() |
{{gplay}} | ![]() |
{{gog}} | ![]() |
{{ms store}} (PC, ![]() |
![]() |
{{xbox store}} ( ![]() |
![]() |
{{nintendo store}} | ![]() |
Template | Preview |
---|---|
{{steam}} | Steam Protocol |
{{email}} {{e}} |
gaben@valvesoftware.com |
{{github}} | ![]() |
{{gamebanana}} | ![]() |
{{moddb}} | ![]() |
{{rtsl}} | ![]() |
{{protondb}} | ![]() |
{{steamdb}} {{sdb}} |
![]() |
{{gdrive}} {{gd}} |
![]() |
{{fragnet}} {{fn}} |
![]() |