Difference between revisions of "User:Chocohead/Template:Grid/Canning Machine"
Jump to navigation
Jump to search
m (Testing things) |
m (Next step) |
||
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;"> | ||
{{#ifeq:{{{input-tank|}}}|Water| | {{#ifeq:{{{input-tank|}}}|Water| | ||
<div style="left:77px; top: | <div style="left:77px; top:92px; position:absolute; width:24px; height:94px; clip:rect({{#expr:0+(9400/{{{input-fill|0}}}}}px,24px,{{#expr:94+(9400/{{{input-fill|0}}}}}px,0px); overflow:hidden;">[[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:-2px; position:absolute; width:24px; height:94px; clip:rect(94px,24px,188px,0px);">[[Image:Tank Water.png|24px|link=|alt=]]</div>|}} | ||
Line 22: | Line 22: | ||
{{User:Chocohead/Template:Grid/Canning Machine | {{User:Chocohead/Template:Grid/Canning Machine | ||
|input-tank=Water | |input-tank=Water | ||
|input-fill=0 | |||
|output-tank=Water | |output-tank=Water | ||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 17:38, 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
<div style="left:77px; top:92px; position:absolute; width:24px; height:94px; clip:rect(Division by zero.px,24px,Division by zero.px,0px); overflow:hidden;">


