Difference between revisions of "Template:YouTube video"

From comp.tf
Jump to navigation Jump to search
(reverted to simple link temporarily)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
[http://youtu.be/{{{1}}} [[Image:YouTube_icon.png]] {{#if:{{{2|}}}|video|}}{{#if:{{{text|}}}|{{{text}}}|}}<noinclude>
+
[[Image:YouTube_icon.png|link=http://youtu.be/{{{1}}}{{#if:{{{time|}}}|?t={{{time}}}}}]] {{#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}}
 +
* <code>&#123;&#123;YouTube video|1m9COVOvHmg|time=1h26m40s&#125;&#125;</code> generates
 +
{{YouTube video|1m9COVOvHmg|time=1h26m40s}}
 
* <code>&#123;&#123;YouTube video|LdeDXLuEqQw|text=ESEA S14 LAN Grand Finals Map 3: Viaduct&#125;&#125;</code> generates
 
* <code>&#123;&#123;YouTube video|LdeDXLuEqQw|text=ESEA S14 LAN Grand Finals Map 3: Viaduct&#125;&#125;</code> generates
 
{{YouTube video|LdeDXLuEqQw|text=ESEA S14 LAN Grand Finals Map 3: Viaduct}}
 
{{YouTube video|LdeDXLuEqQw|text=ESEA S14 LAN Grand Finals Map 3: Viaduct}}
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 08:30, 23 August 2014

Youtube icon.png

Usage[edit]

  • {{YouTube video|LdeDXLuEqQw}} generates

Youtube icon.png

  • {{YouTube video|1m9COVOvHmg|time=1h26m40s}} 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