Difference between revisions of "Template:YouTube"

From comp.tf
Jump to navigation Jump to search
m
Line 1: Line 1:
[[Image:Youtube_icon.png|link=http://www.youtube.com/user/{{{1}}}]] [http://www.youtube.com/user/{{{1}}} YouTube channel]<noinclude>
+
[[Image:Youtube_icon.png|link=http://www.youtube.com/user/{{{1}}}]] {{{#if:{{{icon}}}|[http://www.youtube.com/user/{{{1}}} YouTube channel]|}}}<noinclude>
 
== Usage ==
 
== Usage ==
 
* <code>&#123;&#123;YouTube|streamhighlights&#125;&#125;</code> generates
 
* <code>&#123;&#123;YouTube|streamhighlights&#125;&#125;</code> generates
 
{{YouTube|streamhighlights}}
 
{{YouTube|streamhighlights}}
 +
* <code>&#123;&#123;YouTube|streamhighlights|icon=yes&#125;&#125;</code> generates
 +
{{YouTube|streamhighlights|icon=yes}}
 
</noinclude>
 
</noinclude>

Revision as of 17:08, 4 July 2013

Youtube icon.png YouTube channel

Usage

  • {{YouTube|streamhighlights}} generates

Youtube icon.png YouTube channel

  • {{YouTube|streamhighlights|icon=yes}} generates

Youtube icon.png YouTube channel