Jump to content

Template:CSS image crop: Difference between revisions

From Emps-World Wiki
Mary (talk | contribs)
No edit summary
Mary (talk | contribs)
No edit summary
Line 3: Line 3:
<div style="width:32px;height:32px;overflow:hidden;position:relative">
<div style="width:32px;height:32px;overflow:hidden;position:relative">
<div style="position:relative;top:-{{{oTop}}}px;left:-{{{oLeft}}}px">
<div style="position:relative;top:-{{{oTop}}}px;left:-{{{oLeft}}}px">
[[{{{ImageID/1000}}}|{{{bSize}}}px]]
http://emps-world.net/img/itemicons/{{{ImageID/1000}}}.png|{{{bSize}}}px]]
</div>{{#ifeq: {{{Description|}}}|||</div><div class="thumbcaption">{{magnify icon|link=File:{{{Image}}}}}{{{Description}}}</div>}}
</div>{{#ifeq: {{{Description|}}}|||</div><div class="thumbcaption">{{magnify icon|link=File:{{{Image}}}}}{{{Description}}}</div>}}
</div>
</div>
</div>{{#ifeq: {{{Location}}} | center |</div>|}}
</div>{{#ifeq: {{{Location}}} | center |</div>|}}

Revision as of 10:09, 25 June 2015