Template:YouTube: Difference between revisions

Jump to navigation Jump to search
m
(Ok, implemented the 3rd parameter. Used br as evaluation string since it somewhat has the same function of the <br> tag)
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div style="float:left; margin: .5em 0 1.3em 1.4em;">{{#ev:youtube|{{{1}}}|300||[http://youtu.be/{{{1}}} {{{2|http://youtu.be/{{{1}}}}}}]}}</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