Template:Grid/Crafting: Difference between revisions
From Vintage Story Wiki
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
</div>}} | </div>}} | ||
{{#if:{{{OA|}}}| | {{#if:{{{OA|}}}| | ||
<div style="left:68px; top: | <div style="left:68px; top:190px; width:16px; height:16px; position:absolute; overflow:hidden;"> | ||
<div style="left:{{#expr:-16 * (floor({{{OA|}}}/10) - 1)}}px; top:-8px; width:160px; height:16px; position:absolute;"> | <div style="left:{{#expr:-16 * (floor({{{OA|}}}/10) - 1)}}px; top:-8px; width:160px; height:16px; position:absolute;"> | ||
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]] | [[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]] | ||
</div> | </div> | ||
</div> | </div> | ||
<div style="left:80px; top: | <div style="left:80px; top:190px; width:16px; height:16px; position:absolute; overflow:hidden;"> | ||
<div style="left:{{#expr:-16 * (({{{OA|}}} - 1) mod 10)}}px; top:-8px; width:160px; height:16px; position:absolute;"> | <div style="left:{{#expr:-16 * (({{{OA|}}} - 1) mod 10)}}px; top:-8px; width:160px; height:16px; position:absolute;"> | ||
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]] | [[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]] |
Revision as of 00:15, 10 February 2018