Template:Image: Difference between revisions

Jump to navigation Jump to search
(Add the 3rd parameter here aswell)
(The thumbnail caption now have a fixed height of one line. If the text is bigger, it'll get truncated... This change fixes probably all issues we would get with the floating elements. Let's work now on the randomize function...)
Line 1: Line 1:
<includeonly><div style="float:left;">[[File:{{{1}}}|thumb|300px|{{{2|}}}]]</div>{{#ifeq:{{{3|}}}|br|<div style="clear:left"></div>}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly><div style="float:left;">[[File:{{{1}}}|thumb|300px|<span style="text-overflow: ellipsis; display: inline-block; width: 275px; white-space: nowrap; overflow: hidden; vertical-align: top;">{{{2|}}}</span>]]</div>{{#ifeq:{{{3|}}}|br|<div style="clear:left"></div>}}</includeonly><noinclude>{{documentation}}</noinclude>