Template:Image: Difference between revisions

m
Image template ready
(Fixed the weird placement of the floats...)
m (Image template ready)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{2|}}}||<div style="float:left; width:208px; margin: .5em 0 1.3em 1.4em;"><div class="thumbinner">[[File:{{{1}}}|200px]]</div></div>{{#ifeq:{{{3|}}}|br|<div style="clear:left"></div>}}|<div style="float:left;">[[File:{{{1}}}|thumb|300px|[[:File:{{{1}}}|<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>
<includeonly><div class="tl_image">[[File:{{{1}}}|thumb|{{{width|300}}}px|[[:File:{{{1}}}|<span class="tl_image_caption" style="width: {{#expr:{{{width|300}}}-25}}px;">{{Hover|dotted=no|{{{2|}}}|{{{2|}}}}}</span>]]]]</div>{{#ifeq:{{{3|}}}|br|<div style="clear:left"></div>}}</includeonly><noinclude>{{documentation}}</noinclude>