Template:Image: Difference between revisions

Jump to navigation Jump to search
m
Image template ready
(Remove special handling for Gameplay Screenshots. We should probably move those styles to MediaWiki.css...)
m (Image template ready)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div style="float:left;">[[File:{{{1}}}|thumb|{{{width|300}}}px|[[:File:{{{1}}}|<span style="text-overflow: ellipsis; display: inline-block; width: {{#expr:{{{width|300}}}-30}}px; white-space: nowrap; overflow: hidden; vertical-align: top;">{{Hover|dotted=no|{{{2|}}}|{{{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>

Navigation menu