Difference between revisions of "User:Chocohead/Template:Grid/Canning Machine"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (tank!=input-tank)
m (Minor oopzies)
Line 7: Line 7:
<div style="left:0px; top:0px; width:288px; height:210px; position:relative;">
<div style="left:0px; top:0px; width:288px; height:210px; position:relative;">


{{#if:{{{input-tank|}}}|{{FluidGauge|left=77|top=92|width=24|height=94|max=10000|fill={{{input-fill|0}}}|tank={{{input-tank|}}}}}|<div style="left:{{{left}}}px; top:{{top|92}}}px; position:absolute; width:{{{width|24}}}px; height:{{{height|94}}}px;">[[Image:Tank Empty.png|{{{width|24}}}px|link=|alt=]]</div>}}
{{#if:{{{input-tank|}}}|{{FluidGauge|left=77|top=92|width=24|height=94|max=10000|fill={{{input-fill|0}}}|tank={{{input-tank|}}}}}|<div style="left:{{{left}}}px; top:{{{top|92}}}px; position:absolute; width:{{{width|24}}}px; height:{{{height|94}}}px;">[[Image:Tank Empty.png|{{{width|24}}}px|link=|alt=]]</div>}}


{{#if:{{{output-tank|}}}|{{#ifexist: File:Tank {{{output-tank|}}}.png|{{#ifeq:{{#expr:{{{output-fill}}} > 10000}}|1|<div style="left:233px; top:-2px; position:absolute; width:24px; height:94px; clip:rect(94px,24px,188px,0px);">[[Image:Tank {{{output-tank}}}.png|24px|link=|alt=]]</div>
{{#if:{{{output-tank|}}}|{{#ifexist: File:Tank {{{output-tank|}}}.png|{{#ifeq:{{#expr:{{{output-fill}}} > 10000}}|1|<div style="left:233px; top:-2px; position:absolute; width:24px; height:94px; clip:rect(94px,24px,188px,0px);">[[Image:Tank {{{output-tank}}}.png|24px|link=|alt=]]</div>

Revision as of 19:03, 23 September 2014

My testing to update the canning machine template, since the Template:Grid/Machine just doesn't cut it.



User:Chocohead/Template:Grid/Canning Machine/doc