Template:YouTube video

From comp.tf
Revision as of 16:35, 25 August 2013 by Thesupremecommander (talk | contribs) (added video template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Youtube icon.png

<iframe width="640" height="480" src="//www.youtube.com/embed/{{{1}}}?rel=0" frameborder="0" allowfullscreen></iframe>

Usage

  • {{YouTube video|LdeDXLuEqQw|text}} generates
Youtube icon.png [#mw-customcollapsible-LdeDXLuEqQw video]

<iframe width="640" height="480" src="//www.youtube.com/embed/LdeDXLuEqQw?rel=0" frameborder="0" allowfullscreen></iframe>

  • {{YouTube video|LdeDXLuEqQw}} generates
Youtube icon.png

<iframe width="640" height="480" src="//www.youtube.com/embed/LdeDXLuEqQw?rel=0" frameborder="0" allowfullscreen></iframe>

  • {{YouTube video|LdeDXLuEqQw|text=ESEA S14 LAN Grand Finals Map 3: Viaduct}} generates
Youtube icon.png [#mw-customcollapsible-LdeDXLuEqQw ESEA S14 LAN Grand Finals Map 3: Viaduct]

<iframe width="640" height="480" src="//www.youtube.com/embed/LdeDXLuEqQw?rel=0" frameborder="0" allowfullscreen></iframe>