Template:Image: Difference between revisions

some things still need a fix
(Making the caption as a hiperlink, text-only have less padding space, so, make the caption size the same between videos and screenshots)
(some things still need a fix)
Line 1: Line 1:
<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;">[[File:{{{1}}}|{{{2|}}}]]</span>]]</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;">[[:File:{{{1}}}|{{{2|}}}]]</span>]]</div>{{#ifeq:{{{3|}}}|br|<div style="clear:left"></div>}}</includeonly><noinclude>{{documentation}}</noinclude>