Difference between revisions of "Template:CSS image crop"

From Emps-World Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>
+
<nowiki><onlyinclude>
 
<div style="
 
<div style="
 
width:32px;
 
width:32px;
Line 18: Line 18:
 
</div>
 
</div>
 
</div>
 
</div>
</includeonly>
+
</onlyinclude></nowiki>

Revision as of 18:42, 20 August 2015

<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> </onlyinclude>