Template:YouTube: Difference between revisions

Jump to navigation Jump to search
This one I'm confident will work without having to edit 400 pages beforehand.
(This one I'm confident will work without having to edit 400 pages beforehand.)
 
Line 1: Line 1:
<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>
<includeonly>{{#ifeq:{{{3|}}}|link|[https://www.youtube.com/watch?v{{eq}}{{{1|}}} {{#if:{{{2|}}}|{{{2}}}|https://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}}}|https://www.youtube.com/watch?v{{eq}}{{{1}}}}}">[https://www.youtube.com/watch?v{{eq}}{{{1|}}} {{#if:{{{2|}}}|{{#tag:nowiki|{{{2}}}}}|https://www.youtube.com/watch?v{{eq}}{{{1}}}}}]</span>|frame}}</div>{{#ifeq:{{{3|}}}|br|<div style="clear:left"></div>}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Navigation menu