Difference between revisions of "Template:YouTube"
Jump to navigation
Jump to search
(whoops borked up) |
(Adding custom link functionality) |
||
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 | * <code>{{YouTube|streamhighlights|text}}</code> generates | ||
Line 5: | Line 5: | ||
* <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}} | ||
</noinclude> | </noinclude> |
Revision as of 10:35, 29 July 2013
Usage
{{YouTube|streamhighlights|text}}
generates
{{YouTube|streamhighlights}}
generates
{{YouTube|streamhighlights|text=Stream Highlights}}
generates