Difference between revisions of "Template:3dblock"
From StarMade Wiki
m |
m |
||
Line 8: | Line 8: | ||
{{#switch:{{Db|{{{1}}}|BlockStyle}}| | {{#switch:{{Db|{{{1}}}|BlockStyle}}| | ||
|0=<div class="cubeleft" style="overflow:hidden;"><div style=" margin-left: {{#expr: -80*({{{8}}}-((trunc({{{8}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{8}}}/16))*16}}.png|x80px|link={{Db|{{{1}}}|link}}]]</div></div><!-- | |0=<div class="cubeleft" style="overflow:hidden;"><div style=" margin-left: {{#expr: -80*({{{8}}}-((trunc({{{8}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{8}}}/16))*16}}.png|x80px|link={{Db|{{{1}}}|link}}]]</div></div><!-- | ||
− | --><div class="cuberight" style="overflow:hidden;"><div style=" margin-left: {{#expr: -80*({{{9}}}-((trunc({{{9}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{9}}}/16))*16}}.png|x80px|link={{Db|{{{1}}}|link}}]]</div></div><!-- | + | --><div class="cuberight" style="overflow:hidden;"><div style=" margin-left: {{#expr: -80*({{{9}}}-((trunc({{{9}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{9}}}/16))*16}}.png|x80px|link={{Db|{{{1}}}|link}}]]</div></div> |
+ | |6=<div class="cubeleft6" style="overflow:hidden;"><div style=" margin-left: {{#expr: -80*({{{8}}}-((trunc({{{8}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{8}}}/16))*16}}.png|x80px|link={{Db|{{{1}}}|link}}]]</div></div><!-- | ||
+ | --><div class="cuberight6" style="overflow:hidden;"><div style=" margin-left: {{#expr: -80*({{{9}}}-((trunc({{{9}}}/16))*16))}}px;">[[file:b{{#expr: (trunc({{{9}}}/16))*16}}.png|x80px|link={{Db|{{{1}}}|link}}]]</div></div>}} <!-- | ||
--></div> | --></div> | ||
− | |||
− | |||
</div> | </div> | ||
|1=not used yet | |1=not used yet | ||
}} | }} |