Difference between revisions of "Template:Crafting"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (Shifted cells down 5 px)
m (If break is passed, crafting grids will be next to each other rather than underneath)
Line 35: Line 35:
{{{Output|}}}
{{{Output|}}}
</div>}}
</div>}}
{{#if:{{{OA|}}}|
</div></div>{{#if:{{{break|}}}||{{-}}}}<noinclude>
<div style="left:210px; top:68px; width:16px; height:16px; position:absolute; overflow:hidden;">
</noinclude>
<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}}}]]
</div>
</div>
<div style="left:222px; top:68px; 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;">
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
</div>
</div>
}}
</div></div>

Revision as of 16:50, 8 February 2015