Template:YouTube: Difference between revisions

no edit summary
(Use the old frame at least until I can get time to finish the generic {{video}} template)
No edit summary
Line 1: Line 1:
<includeonly>{{#ifeq:{{#var:vg_used}}|yes||{{#vardefine:vg_count|{{#expr:{{#var:vg_count}}+1}}}}{{#ifexpr:{{#var:vg_count}}>3|[[Category:Pages needing update to use VideoGallery template]]}}}}{{#ifeq:{{{3|}}}|link|[http://www.youtube.com/watch?v{{eq}}{{{1|}}} {{#if:{{{2|}}}|{{{2}}}|http://www.youtube.com/watch?v{{eq}}{{{1}}}}}]|<div style="float:left; margin: .5em 0 1.3em 1.4em;">{{#ev:youtube|container=frame|{{{1|}}}|302||[http://www.youtube.com/watch?v{{eq}}{{{1|}}} <span style="text-overflow: ellipsis; display: inline-block; width: 275px; white-space: nowrap; overflow: hidden; vertical-align: top;">{{#if:{{{2|}}}|{{Hover|dotted=no|{{{2}}}|{{{2}}}}}|{{Hover|dotted=no|http://www.youtube.com/watch?v{{eq}}{{{1}}}|http://www.youtube.com/watch?v{{eq}}{{{1}}}}}}}</span>]}}</div>{{#ifeq:{{{3|}}}|br|<div style="clear:left"></div>}}}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#ifeq:{{#var:vg_used}}|yes||{{#vardefine:vg_count|{{#expr:{{#var:vg_count}}+1}}}}{{#ifexpr:{{#var:vg_count}}>3|[[Category:Pages needing update to use VideoGallery template]]}}}}{{#ifeq:{{{3|}}}|link|[http://www.youtube.com/watch?v{{eq}}{{{1|}}} {{#if:{{{2|}}}|{{{2}}}|http://www.youtube.com/watch?v{{eq}}{{{1}}}}}]|<div style="float:left; margin: .5em 0 1.3em 1.4em;">{{#ev:youtube|{{{1|}}}|302||[http://www.youtube.com/watch?v{{eq}}{{{1|}}} <span style="text-overflow: ellipsis; display: inline-block; width: 275px; white-space: nowrap; overflow: hidden; vertical-align: top;">{{#if:{{{2|}}}|{{Hover|dotted=no|{{{2}}}|{{{2}}}}}|{{Hover|dotted=no|http://www.youtube.com/watch?v{{eq}}{{{1}}}|http://www.youtube.com/watch?v{{eq}}{{{1}}}}}}}</span>]|frame}}</div>{{#ifeq:{{{3|}}}|br|<div style="clear:left"></div>}}}}</includeonly><noinclude>{{documentation}}</noinclude>