Difference between revisions of "Template:3dblock"

From StarMade Wiki
m
m
Line 3: Line 3:
 
<div class="cube3d">
 
<div class="cube3d">
 
<div class="cubefront"><div style=" margin-left: {{#expr: -128*({{{2}}}-((trunc({{{2}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{2}}}/16))*16}}.png]]</div></div>
 
<div class="cubefront"><div style=" margin-left: {{#expr: -128*({{{2}}}-((trunc({{{2}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{2}}}/16))*16}}.png]]</div></div>
<div class="cubeback"><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"><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"><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"><div style=" margin-left: {{#expr: -128*({{{4}}}-((trunc({{{4}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{4}}}/16))*16}}.png]]</div></div>
<div class="cubebottom"><div style="margin-left: {{#expr: -128*({{{5}}}-((trunc({{{5}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{5}}}/16))*16}}.png]]</div></div>
+
<div class="cubebottom"><div style=" margin-left: {{#expr: -128*({{{5}}}-((trunc({{{5}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{5}}}/16))*16}}.png]]</div></div>
<div class="cubeleft"><div style="margin-left: {{#expr: -128*({{{6}}}-((trunc({{{6}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{6}}}/16))*16}}.png]]</div></div>
+
<div class="cubeleft"><div style=" margin-left: {{#expr: -128*({{{6}}}-((trunc({{{6}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{6}}}/16))*16}}.png]]</div></div>
<div class="cuberight"><div style="margin-left: {{#expr: -128*({{{7}}}-((trunc({{{7}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{7}}}/16))*16}}.png]]</div></div>
+
<div class="cuberight"><div style=" margin-left: {{#expr: -128*({{{7}}}-((trunc({{{7}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{7}}}/16))*16}}.png]]</div></div>
 
</div>
 
</div>
 
</div>
 
</div>
 
|1=not used yet
 
|1=not used yet
 
}}
 
}}

Revision as of 17:23, 16 May 2018