Editing Template:Yt

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{#if:{{{2|}}}|<!--
{{{1|}}}<span class="plainlinks" style="float:right;">[[Image:Icon_category_video.png|x24px|link=]][https://www.youtube.com/results?search_query={{urlencode:{{{1|PlayStation}}}|QUERY}}]</span><noinclude>[[Category:Templates]]</noinclude>
 
if parameter 2 exists
-->{{{2|}}}<span style="float:right;">[[Image:Youtube-logo-small.png|18px|Search in YouTube|link=https://www.youtube.com/results?search_query={{urlencode:{{{2|VisibleText}}} {{{1|HiddenText}}}|QUERY}}]]</span><!--
 
-->|<!--else (parameter 2 doesnt exists)
-->{{{1|}}}<span style="float:right;">[[Image:Youtube-logo-small.png|18px|Search in YouTube|link=https://www.youtube.com/results?search_query={{urlencode:{{{1|VisibleText}}}|QUERY}}]]</span><!--
 
-->}}<!-- if ends --><noinclude>
 
== Notes ==
This template is intended to be added to the text inside a table cell, displays an icon at the right of the cell with a link to "Search in YouTube" by using syntax '''<nowiki>{{yt|text}}</nowiki>'''<br>
There is an optional parameter (hidden in the table) to filter the search, in the example below it searchs for the name "Tetris" with the optional parameter "PS2" by using syntax '''<nowiki>{{yt|PS2|Tetris}}</nowiki>'''<br>
It can be used with any other kind of youtube searches e.g: '''<nowiki>{{yt|C programming|structures}}</nowiki>''', '''<nowiki>{{yt|artist name|song name}}</nowiki>''', etc...
 
 
{{PS2 Classics Emulator Compatibility List Headers}}
|-
| Tetris || {{ps2classic}} || {{playable}} || {{minorissues}} || Standard text, without the YouTube search
|-
| {{yt|Tetris}} || {{ps2classic}} || {{playable}} || {{minorissues}} || With the YouTube search, by using syntax '''<nowiki>{{yt|Tetris}}</nowiki>''' (in this example are only 7 more characters)
|-
| {{yt|PS2|Tetris}} || {{ps2classic}} || {{playable}} || {{minorissues}} || With the YouTube search and a optional filter, by using syntax '''<nowiki>{{yt|PS2|Tetris}}</nowiki>''' (in this example are only 10 more characters)
|-
| {{yt|PS1 PSX PlayStation|Tetris Plus}} || {{ps1classic}} || {{playable}} || {{minorissues}} || With the YouTube search and a optional filter, by using syntax '''<nowiki>{{yt|PS1 PSX PlayStation|Tetris Plus}}</nowiki>'''
|}
 
[[Category:Templates]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)