Difference between revisions of "Template:YouTube video"

From comp.tf
Jump to navigation Jump to search
m (oops, fixed for real)
(forgot noinclude)
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}}}]|}}
+
[[Image:YouTube_icon.png|link=http://youtu.be/{{{1}}}]] {{#if:{{{2|}}}|[http://youtu.be/{{{1}}} video]|}} {{#if:{{{text|}}}|[http://youtu.be/{{{1}}} {{{text}}}]|}}<noinclude>
 
== Usage ==
 
== Usage ==
 
* <code>&#123;&#123;YouTube video|LdeDXLuEqQw|text&#125;&#125;</code> generates
 
* <code>&#123;&#123;YouTube video|LdeDXLuEqQw|text&#125;&#125;</code> generates

Revision as of 21:11, 25 August 2013

Youtube icon.png

Usage

  • {{YouTube video|LdeDXLuEqQw|text}} generates

Youtube icon.png video

  • {{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