Difference between revisions of "Template:CSS image crop"

From Emps-World Wiki
Jump to: navigation, search
Line 1: Line 1:
<pre>&lt;onlyinclude>
+
Please don't mess with this page unless your name is Mary!
 +
 
 +
<pre><onlyinclude><onlyinclude></onlyinclude>
 
<div style="
 
<div style="
 
width:32px;
 
width:32px;
Line 18: Line 20:
 
</div>
 
</div>
 
</div>
 
</div>
&lt;onlyinclude></pre>
+
</only<noinclude></noinclude>include></pre>

Revision as of 19:06, 20 August 2015

Please don't mess with this page unless your name is Mary!

<onlyinclude><onlyinclude></onlyinclude>
<div style="
width:32px;
height:32px;
overflow:hidden;
position:relative;
float:left;
padding: 0px;
margin: 0px;
">
<div style="
position:relative;
top:-{{ #expr:({{{oTop}}}-1)*32 }}px;
">

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

</div>
</div>
</only<noinclude></noinclude>include>