Difference between revisions of "Template:YouTube video"

From comp.tf
Jump to navigation Jump to search
(forgot noinclude)
(removed second parameter triggering)
Line 1: Line 1:
[[Image:YouTube_icon.png|link=http://youtu.be/{{{1}}}]] {{#if:{{{2|}}}|[http://youtu.be/{{{1}}} video]|}} {{#if:{{{text|}}}|[http://youtu.be/{{{1}}} {{{text}}}]|}}<noinclude>
+
[[Image:YouTube_icon.png|link=http://youtu.be/{{{1}}}]] {{#if:{{{text|}}}|[http://youtu.be/{{{1}}} {{{text}}}]|}}<noinclude>
 
== Usage ==
 
== Usage ==
* <code>&#123;&#123;YouTube video|LdeDXLuEqQw|text&#125;&#125;</code> generates
 
{{YouTube video|LdeDXLuEqQw|text}}
 
 
* <code>&#123;&#123;YouTube video|LdeDXLuEqQw&#125;&#125;</code> generates
 
* <code>&#123;&#123;YouTube video|LdeDXLuEqQw&#125;&#125;</code> generates
 
{{YouTube video|LdeDXLuEqQw}}
 
{{YouTube video|LdeDXLuEqQw}}

Revision as of 23:09, 25 August 2013

Youtube icon.png

Usage

  • {{YouTube video|LdeDXLuEqQw}} generates

Youtube icon.png

  • {{YouTube video|LdeDXLuEqQw|text=ESEA S14 LAN Grand Finals Map 3: Viaduct}} generates

Youtube icon.png ESEA S14 LAN Grand Finals Map 3: Viaduct