Difference between revisions of "Template:3dblock"

From StarMade Wiki
m
m
Line 2: Line 2:
 
|0=<div class="wrapcube">
 
|0=<div class="wrapcube">
 
<div class="cube3d">
 
<div class="cube3d">
<div class="cubefront" style="overflow: hidden; position: absolute; width:60px;height:60px;"><div style="height:60px; margin-left: {{#expr: -128*({{{2}}}-((trunc({{{2}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{2}}}/16))*16}}.png]]</div></div>
+
<div class="cubefront" style="overflow: hidden; position: absolute; width:70px;height:70px;"><div style="height:60px; margin-left: {{#expr: -128*({{{2}}}-((trunc({{{2}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{2}}}/16))*16}}.png]]</div></div>
 
<div class="cubeback" style="overflow: hidden; position: absolute;"><div style=" margin-left: {{#expr: -128*({{{3}}}-((trunc({{{3}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{3}}}/16))*16}}.png]]</div></div>
 
<div class="cubeback" style="overflow: hidden; position: absolute;"><div style=" margin-left: {{#expr: -128*({{{3}}}-((trunc({{{3}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{3}}}/16))*16}}.png]]</div></div>
 
<div class="cubetop" style="overflow: hidden; position: absolute;"><div style="margin-left: {{#expr: -128*({{{4}}}-((trunc({{{4}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{4}}}/16))*16}}.png]]</div></div>
 
<div class="cubetop" style="overflow: hidden; position: absolute;"><div style="margin-left: {{#expr: -128*({{{4}}}-((trunc({{{4}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{4}}}/16))*16}}.png]]</div></div>

Revision as of 18:06, 16 May 2018