Difference between revisions of "Template:YouTube"
Jump to navigation
Jump to search
(Fixed) |
(Reversed order of if statements to make icon default) |
||
Line 1: | Line 1: | ||
− | [[Image:Youtube_icon.png|link=http://www.youtube.com/user/{{{1}}}]] {{#if:{{{2|}}} | + | [[Image:Youtube_icon.png|link=http://www.youtube.com/user/{{{1}}}]] {{#if:{{{2|}}}|[http://www.youtube.com/user/{{{1}}} YouTube channel]|}}<noinclude> |
== Usage == | == Usage == | ||
* <code>{{YouTube|streamhighlights}}</code> generates | * <code>{{YouTube|streamhighlights}}</code> generates | ||
+ | {{YouTube|streamhighlights|text}} | ||
+ | * <code>{{YouTube|streamhighlights|text}}</code> generates | ||
{{YouTube|streamhighlights}} | {{YouTube|streamhighlights}} | ||
− | |||
− | |||
</noinclude> | </noinclude> |
Revision as of 18:42, 4 July 2013
Usage
{{YouTube|streamhighlights}}
generates
{{YouTube|streamhighlights|text}}
generates