Difference between revisions of "Template:ItemImage"

From Emps-World Wiki
Jump to: navigation, search
(Usage)
(Usage)
Line 6: Line 6:
  
 
<onlyinclude>
 
<onlyinclude>
  <pre>
 
 
   <div style="width: 32px; height: 32px; overflow: hidden; display: inline-block; padding: 0px; margin: 0px; transform: scale(1.25, 1.25);">
 
   <div style="width: 32px; height: 32px; overflow: hidden; display: inline-block; padding: 0px; margin: 0px; transform: scale(1.25, 1.25);">
 
     <div style="position:relative; bottom:{{ #expr:({{{id|4587}}} mod 1000)*32 }}px;">
 
     <div style="position:relative; bottom:{{ #expr:({{{id|4587}}} mod 1000)*32 }}px;">
Line 12: Line 11:
 
     </div>
 
     </div>
 
   </div>
 
   </div>
  </pre>
 
 
</onlyinclude>
 
</onlyinclude>

Revision as of 14:02, 13 March 2021

Usage

Just copy the following and fill the id parameter with the correct id:

{{ItemImage|id=}}

      4-64.png


     4.png