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 1: Line 1:
Please don't mess with this page unless your name is Mary!  
Please don't mess with this page unless your name is Mary!  


<pre><onlyinclude>
<pre><includeonly>{{safesubst:Startinclude}}</includeonly>
 
<div style="
<div style="
width:32px;
width:32px;
Line 20: Line 21:
</div>
</div>
</div><noinclude>!</noinclude>
</div><noinclude>!</noinclude>
</onlyinclude></pre>
 
<includeonly>{{safesubst:Endinclude}}</includeonly></pre>

Revision as of 20:39, 20 August 2015

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

<includeonly>{{safesubst:Startinclude}}</includeonly>

<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><noinclude>!</noinclude>

<includeonly>{{safesubst:Endinclude}}</includeonly>