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 14: Line 14:
<div style="
<div style="
position:relative;
position:relative;
top:-{{ #expr:({{{oTop}}}-1)*32}}px;
top:-{{#expr:(({{{oTop}}}-1)*32)}}px;
">
">



Revision as of 14:48, 14 May 2016

usage: fill in the image id divided by 1000 (so just the first thousand number) and then the other 3 numbers at oTop. So if you fill in 1 and 111 it displays item 1111.

{{CSS image crop|ImageID/1000 = 1 |oTop = 111 }}

<div style=" position:relative; top:-Expression error: Unrecognised punctuation character "{".px; ">

[[File:{{{ImageID/1000}}}.png|left|caption]]