Difference between revisions of "Template:YouTube"
Jump to navigation
Jump to search
(Reversed order of if statements to make icon default) |
(Categorizing) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Image:Youtube_icon.png|link=http://www.youtube.com/user/{{{1}}}]] {{#if:{{{2|}}}|[http://www.youtube.com/user/{{{1}}} YouTube channel]|}}<noinclude> | + | [[Image:Youtube_icon.png|link=http://www.youtube.com/user/{{{1}}}]] {{#if:{{{2|}}}|[http://www.youtube.com/user/{{{1}}} YouTube channel]|}} {{#if:{{{text|}}}|[http://www.youtube.com/user/{{{1}}} {{{text}}}]|}}<noinclude> |
== Usage == | == Usage == | ||
+ | * <code>{{YouTube|streamhighlights|text}}</code> generates | ||
+ | {{YouTube|streamhighlights|text}} | ||
* <code>{{YouTube|streamhighlights}}</code> generates | * <code>{{YouTube|streamhighlights}}</code> generates | ||
− | |||
− | |||
{{YouTube|streamhighlights}} | {{YouTube|streamhighlights}} | ||
+ | * <code>{{YouTube|streamhighlights|text=Stream Highlights}}</code> generates | ||
+ | {{YouTube|streamhighlights|text=Stream Highlights}} | ||
+ | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:24, 6 August 2013
Usage[edit]
{{YouTube|streamhighlights|text}}
generates
{{YouTube|streamhighlights}}
generates
{{YouTube|streamhighlights|text=Stream Highlights}}
generates