Difference between revisions of "Template:3dblock"

From StarMade Wiki
m
m
Line 4: Line 4:
 
<div class="cubefront" style="overflow:hidden;"><div style="margin-left: {{#expr: -70*({{{2}}}-((trunc({{{2}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{2}}}/16))*16}}.png|x70px]]</div></div>
 
<div class="cubefront" style="overflow:hidden;"><div style="margin-left: {{#expr: -70*({{{2}}}-((trunc({{{2}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{2}}}/16))*16}}.png|x70px]]</div></div>
 
<div class="cubeback" style="overflow:hidden;"><div style="margin-left: {{#expr: -70*({{{3}}}-((trunc({{{3}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{3}}}/16))*16}}.png|x70px]]</div></div>
 
<div class="cubeback" style="overflow:hidden;"><div style="margin-left: {{#expr: -70*({{{3}}}-((trunc({{{3}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{3}}}/16))*16}}.png|x70px]]</div></div>
<div class="cubetop" style="overflow:hidden;height:72px;width:72px" ><div style=" margin-left: {{#expr: -72*({{{4}}}-((trunc({{{4}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{4}}}/16))*16}}.png|x72px]]</div></div>
+
<div class="cubetop" style="overflow:hidden;" ><div style=" margin-left: {{#expr: -70*({{{4}}}-((trunc({{{4}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{4}}}/16))*16}}.png|x70px]]</div></div>
<div class="cubebottom" style="overflow:hidden;height:72px;width:72px"><div style=" margin-left: {{#expr: -72*({{{5}}}-((trunc({{{5}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{5}}}/16))*16}}.png|x72px]]</div></div>
+
<div class="cubebottom" style="overflow:hidden;"><div style=" margin-left: {{#expr: -70*({{{5}}}-((trunc({{{5}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{5}}}/16))*16}}.png|x70px]]</div></div>
 
<div class="cubeleft" style="overflow:hidden;"><div style=" margin-left: {{#expr: -70*({{{6}}}-((trunc({{{6}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{6}}}/16))*16}}.png|x70px]]</div></div>
 
<div class="cubeleft" style="overflow:hidden;"><div style=" margin-left: {{#expr: -70*({{{6}}}-((trunc({{{6}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{6}}}/16))*16}}.png|x70px]]</div></div>
 
<div class="cuberight" style="overflow:hidden;"><div style=" margin-left: {{#expr: -70*({{{7}}}-((trunc({{{7}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{7}}}/16))*16}}.png|x70px]]</div></div>
 
<div class="cuberight" style="overflow:hidden;"><div style=" margin-left: {{#expr: -70*({{{7}}}-((trunc({{{7}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{7}}}/16))*16}}.png|x70px]]</div></div>

Revision as of 19:43, 16 May 2018