Difference between revisions of "Template:YouTube"

From comp.tf
Jump to navigation Jump to search
(Categorizing)
 
(5 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>&#123;&#123;YouTube|streamhighlights|text&#125;&#125;</code> generates
 +
{{YouTube|streamhighlights|text}}
 
* <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
+
* <code>&#123;&#123;YouTube|streamhighlights|text=Stream Highlights&#125;&#125;</code> generates
{{YouTube|streamhighlights|icon}}
+
{{YouTube|streamhighlights|text=Stream Highlights}}
 +
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:24, 6 August 2013

Youtube icon.png

Usage[edit]

  • {{YouTube|streamhighlights|text}} generates

Youtube icon.png YouTube channel

  • {{YouTube|streamhighlights}} generates

Youtube icon.png

  • {{YouTube|streamhighlights|text=Stream Highlights}} generates

Youtube icon.png Stream Highlights