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

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (Thinking this is really working :)
m (And the output tank)
Line 9: Line 9:
<div style="left:77px; top:{{#expr:92-(0.0094*{{{input-fill|0}}})}}px; position:absolute; width:24px; height:94px; clip:rect({{#expr:0+(0.0094*{{{input-fill|0}}})}}px,24px,{{#expr:94+(0.0094*{{{input-fill|0}}})}}px,0px);">[[Image:Tank Water.png|24px|link=|alt=]]</div>|}}
<div style="left:77px; top:{{#expr:92-(0.0094*{{{input-fill|0}}})}}px; position:absolute; width:24px; height:94px; clip:rect({{#expr:0+(0.0094*{{{input-fill|0}}})}}px,24px,{{#expr:94+(0.0094*{{{input-fill|0}}})}}px,0px);">[[Image:Tank Water.png|24px|link=|alt=]]</div>|}}
{{#ifeq:{{{output-tank|}}}|Water|
{{#ifeq:{{{output-tank|}}}|Water|
<div style="left:233px; top:-2px; position:absolute; width:24px; height:94px; clip:rect(94px,24px,188px,0px);">[[Image:Tank Water.png|24px|link=|alt=]]</div>|}}
<div style="left:233px; top:{{#expr:92-(0.0094*{{{output-fill|0}}})}}px; position:absolute; width:24px; height:94px; clip:rect({{#expr:0+(0.0094*{{{output-fill|0}}})}}px,24px,{{#expr:94+(0.0094*{{{output-fill|0}}})}}px,0px);">[[Image:Tank Water.png|24px|link=|alt=]]</div>|}}
<div style="left:0px; top:0px; position:absolute; width:288px; height:210px;">[[Image:GUI_Canning_Machine.png|288px|link=|alt=]]</div>
<div style="left:0px; top:0px; position:absolute; width:288px; height:210px;">[[Image:GUI_Canning_Machine.png|288px|link=|alt=]]</div>



Revision as of 17:50, 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