Template:Crafting: Difference between revisions

From BTA-Mirror
imported>Azurelmao
No edit summary
imported>Azurelmao
No edit summary
Line 22: Line 22:
     {{#if: {{{RESULT|}}}
     {{#if: {{{RESULT|}}}
         |<div style="position: absolute; left: 202px; top: 50px">[[File:Grid_{{{RESULT}}}.png]]</div>}}
         |<div style="position: absolute; left: 202px; top: 50px">[[File:Grid_{{{RESULT}}}.png]]</div>}}
    {{#if:{{{OA|}}}|
<div style="left:210px; top:69px; width:16px; height:17px; position:absolute; overflow:hidden;">
<div style="left:{{#expr:-16 * (floor({{{OA|}}}/10) - 1)}}px; top:-7px; width:160px; height:16px; position:absolute;">
[[File:GridNumbersCSS.png|160x16px]]
</div>
</div>
<div style="left:222px; top:69px; width:16px; height:17px; position:absolute; overflow:hidden;">
<div style="left:{{#expr:-16 * (({{{OA|}}} - 1) mod 10)}}px; top:-7px; width:160px; height:16px; position:absolute;">
[[File:GridNumbersCSS.png|160x16px]]
</div>
</div>
}}
</div></includeonly>
</div></includeonly>

Revision as of 17:35, 4 October 2022