Difference between revisions of "Template:3dblock"

From StarMade Wiki
m
m
Line 5: Line 5:
 
<div class="cubeback" ><div><div style=" margin-left: {{#expr: -128*({{{3}}}-((trunc({{{3}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{3}}}/16))*16}}.png]]</div></div></div>
 
<div class="cubeback" ><div><div style=" margin-left: {{#expr: -128*({{{3}}}-((trunc({{{3}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{3}}}/16))*16}}.png]]</div></div></div>
 
<div class="cubetop" ><div><div style=" margin-left: {{#expr: -128*({{{4}}}-((trunc({{{4}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{4}}}/16))*16}}.png]]</div></div></div>
 
<div class="cubetop" ><div><div style=" margin-left: {{#expr: -128*({{{4}}}-((trunc({{{4}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{4}}}/16))*16}}.png]]</div></div></div>
<div class="cubebottom"><div><div style="max-height:70px;height:100%; margin-left: {{#expr: -128*({{{5}}}-((trunc({{{5}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{5}}}/16))*16}}.png]]</div></div></div>
+
<div class="cubebottom"><div><div style="max-height:70px;height:100%;width:auto; margin-left: {{#expr: -128*({{{5}}}-((trunc({{{5}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{5}}}/16))*16}}.png]]</div></div></div>
 
<div class="cubeleft"><div><div style=" margin-left: {{#expr: -128*({{{6}}}-((trunc({{{6}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{6}}}/16))*16}}.png]]</div></div></div>
 
<div class="cubeleft"><div><div style=" margin-left: {{#expr: -128*({{{6}}}-((trunc({{{6}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{6}}}/16))*16}}.png]]</div></div></div>
 
<div class="cuberight"><div><div style=" margin-left: {{#expr: -128*({{{7}}}-((trunc({{{7}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{7}}}/16))*16}}.png]]</div></div></div>
 
<div class="cuberight"><div><div style=" margin-left: {{#expr: -128*({{{7}}}-((trunc({{{7}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{7}}}/16))*16}}.png]]</div></div></div>

Revision as of 18:48, 16 May 2018