Tolkien Gateway

Template:Videos

(Difference between revisions)
m
(Added Example)
 
(One intermediate revision by one user not shown)
Line 21: Line 21:
 
-->{{#if:{{{20|}}}|<div style="border:1px solid #CCCCCC;padding:12px;background:#F8F8F8;margin:0px 12px 12px 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}}