Difference between revisions of "Template:Grid/Turning Table"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (Oops)
m (Got to avoid template loops)
Line 1: Line 1:
{{#if:{{{Return|}}}|<div style="float:{{#if:{{{float|}}}|{{{float}}}|left}}; left:0px; top:0px; width:352px; height:167px; position:relative;">
{{#invoke:Grid|turning}}
<div style="left:0px; top:0px; width:352px; height:167px;">[[Image:Turning Table_GUI.png|352px|link=|alt=]]</div>
<div style="position:absolute; left:106px; top:9px; font-family:Minecraftia; font-size: 16.5px;">[[Turning Table]]</div>
{{#if:{{{Output|}}}|<div style="left:20px; top:24px; width:32px; height:32px; position:absolute;">
{{#switch:{{{Output}}}|
|Handle
|handle = {{Gc|[Iron Turning Blank\Handle]Iron Turning Blank}}
|Drill
|drill = {{Gc|[Iron Turning Blank\Drill]Iron Turning Blank}}
|#default = {{Gc|Iron Turning Blank}}
}}
</div>}}
<div style="left:22px; top:62px; width:32px; height:32px; position:absolute;"><!-- should really be 20, 60 ;)-->
{{Gc|Lathing Tool}}
</div>
{{#if:{{{Type|}}}|<div style="left:20px; top:114px; width:32px; height:32px; position:absolute;">
{{#switch:{{{Type}}}|
|Wood = {{Gc|Stick~Non-IC Items}}
|Iron = {{Gc|Tiny Pile of Iron Dust}}
}}
</div><div style="left:80px; top:70px; width:22px; height:14px; position:absolute; clip:rect(0px,{{{n1}}}px,18px,{{#expr:{{{n1}}}-22}}px);"><!--
-->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div>
<div style="left:106px; top:70px; width:22px; height:14px; position:absolute; clip:rect(0px,{{{n2}}}px,18px,{{#expr:{{{n2}}}-22}}px);"><!--
-->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div>
<div style="left:132px; top:70px; width:22px; height:14px; position:absolute; clip:rect(0px,{{{n3}}}px,18px,{{#expr:{{{n3}}}-22}}px);"><!--
-->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div>
<div style="left:158px; top:70px; width:22px; height:14px; position:absolute; clip:rect(0px,{{{n4}}}px,18px,{{#expr:{{{n4}}}-22}}px);"><!--
-->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div>
<div style="left:184px; top:70px; width:22px; height:14px; position:absolute; clip:rect(0px,{{{n5}}}px,18px,{{#expr:{{{n5}}}-22}}px);"><!--
-->[[File:Turning Table GUI Numbers.png|110px|link=|alt=]]</div>
<div style="left:80px; top:90px; position:absolute;">
<div style="width:48px; height:{{{b1}}}px; position:absolute; clip:rect({{{b1-t}}}px,48px,{{{b1}}}px,0px);"><!--top, right, bottom, left
-->[[File:Turning {{{Type}}} Bar.png|240px|link=|alt=]]</div>
<div style="width:48px; height:{{{b2}}}px; position:absolute; clip:rect({{{b2-t}}}px,96px,{{{b2}}}px,48px);"><!--
-->[[File:Turning {{{Type}}} Bar.png|240px|link=|alt=]]</div>
<div style="width:48px; height:{{{b3}}}px; position:absolute; clip:rect({{{b3-t}}}px,144px,{{{b3}}}px,96px);"><!--
-->[[File:Turning {{{Type}}} Bar.png|240px|link=|alt=]]</div>
<div style="width:48px; height:{{{b4}}}px; position:absolute; clip:rect({{{b4-t}}}px,192px,{{{b4}}}px,144px);"><!--
-->[[File:Turning {{{Type}}} Bar.png|240px|link=|alt=]]</div>
<div style="width:48px; height:{{{b5}}}px; position:absolute; clip:rect({{{b5-t}}}px,240px,{{{b5}}}px,192px);"><!--
-->[[File:Turning {{{Type}}} Bar.png|240px|link=|alt=]]</div>
</div>}}
</div>
|{{#invoke:Grid|turning}}}}

Revision as of 21:21, 13 March 2015