Tolkien Gateway

Template:Videos

(Difference between revisions)
m
(Added Example)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<div style="overflow:hidden;"><!--
 
<div style="overflow:hidden;"><!--
-->{{#if:{{{1|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{1}}}}}</div>}}<!--
+
-->{{#if:{{{1|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{1}}}}}</div>}}<!--
-->{{#if:{{{2|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{2}}}}}</div>}}<!--
+
-->{{#if:{{{2|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{2}}}}}</div>}}<!--
-->{{#if:{{{3|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{3}}}}}</div>}}<!--
+
-->{{#if:{{{3|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{3}}}}}</div>}}<!--
-->{{#if:{{{4|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{4}}}}}</div>}}<!--
+
-->{{#if:{{{4|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{4}}}}}</div>}}<!--
-->{{#if:{{{5|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{5}}}}}</div>}}<!--
+
-->{{#if:{{{5|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{5}}}}}</div>}}<!--
-->{{#if:{{{6|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{6}}}}}</div>}}<!--
+
-->{{#if:{{{6|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{6}}}}}</div>}}<!--
-->{{#if:{{{7|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{7}}}}}</div>}}<!--
+
-->{{#if:{{{7|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{7}}}}}</div>}}<!--
-->{{#if:{{{8|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{8}}}}}</div>}}<!--
+
-->{{#if:{{{8|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{8}}}}}</div>}}<!--
-->{{#if:{{{9|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{9}}}}}</div>}}<!--
+
-->{{#if:{{{9|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{9}}}}}</div>}}<!--
-->{{#if:{{{10|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{10}}}}}</div>}}<!--
+
-->{{#if:{{{10|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{10}}}}}</div>}}<!--
-->{{#if:{{{11|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{11}}}}}</div>}}<!--
+
-->{{#if:{{{11|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{11}}}}}</div>}}<!--
-->{{#if:{{{12|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{12}}}}}</div>}}<!--
+
-->{{#if:{{{12|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{12}}}}}</div>}}<!--
-->{{#if:{{{13|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{13}}}}}</div>}}<!--
+
-->{{#if:{{{13|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{13}}}}}</div>}}<!--
-->{{#if:{{{14|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{14}}}}}</div>}}<!--
+
-->{{#if:{{{14|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{14}}}}}</div>}}<!--
-->{{#if:{{{15|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{15}}}}}</div>}}<!--
+
-->{{#if:{{{15|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{15}}}}}</div>}}<!--
-->{{#if:{{{16|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{16}}}}}</div>}}<!--
+
-->{{#if:{{{16|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{16}}}}}</div>}}<!--
-->{{#if:{{{17|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{17}}}}}</div>}}<!--
+
-->{{#if:{{{17|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{17}}}}}</div>}}<!--
-->{{#if:{{{18|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{18}}}}}</div>}}<!--
+
-->{{#if:{{{18|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{18}}}}}</div>}}<!--
-->{{#if:{{{19|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{19}}}}}</div>}}<!--
+
-->{{#if:{{{19|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{19}}}}}</div>}}<!--
-->{{#if:{{{20|}}}|<div style="border:1px solid #CCCCCC;padding:14px;background:#F8F8F8;margin:0px 14px 14px 0px;display:inline-block;">{{#ev:youtube|{{{20}}}}}</div>}}<!--
+
-->{{#if:{{{20|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 0px;display:inline-block;">{{#ev:youtube|{{{20}}}}}</div>}}<!--
--></div>
+
--></div><!--
<noinclude>[[Category:Utility templates|{{PAGENAME}}]]</noinclude>
+
--><noinclude>
 +
==Usage==
 +
<pre>{{Videos|YOUTUBECODE}}
 +
 
 +
Example: {{Videos|AGF5ROpjRAU}}
 +
</pre>[[Category:Utility templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 01:49, 10 April 2013

[edit] Usage

{{Videos|YOUTUBECODE}}

Example: {{Videos|AGF5ROpjRAU}}