Template:YouTube: Difference between revisions

Jump to navigation Jump to search
m
(this checks for any pages using {{tl|YouTube}} instead of pages that use it more than 3 times, and adds those to an error category)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{#var:tl_vg_visible}}|true||[[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||<span style="text-overflow: ellipsis; display: inline-block; width: 275px; white-space: nowrap; overflow: hidden; vertical-align: top;" title="{{#if:{{{2|}}}|{{{2}}}|http://www.youtube.com/watch?v{{eq}}{{{1}}}}}">[http://www.youtube.com/watch?v{{eq}}{{{1|}}} {{#if:{{{2|}}}|{{#tag:nowiki|{{{2}}}}}|http://www.youtube.com/watch?v{{eq}}{{{1}}}}}]</span>|frame}}</div>{{#ifeq:{{{3|}}}|br|<div style="clear:left"></div>}}}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#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||<span style="text-overflow: ellipsis; display: inline-block; width: 275px; white-space: nowrap; overflow: hidden; vertical-align: top;" title="{{#if:{{{2|}}}|{{{2}}}|http://www.youtube.com/watch?v{{eq}}{{{1}}}}}">[http://www.youtube.com/watch?v{{eq}}{{{1|}}} {{#if:{{{2|}}}|{{#tag:nowiki|{{{2}}}}}|http://www.youtube.com/watch?v{{eq}}{{{1}}}}}]</span>|frame}}</div>{{#ifeq:{{{3|}}}|br|<div style="clear:left"></div>}}}}</includeonly><noinclude>{{documentation}}</noinclude>
6,906

edits

Navigation menu