Difference between revisions of "User:Chocohead/Template:Grid/Canning Machine"
Jump to navigation
Jump to search
m (Hmmmm) |
m (Tested links) |
||
(24 intermediate revisions by the same user not shown) | |||
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={{{tank|}}}}}|<div style="left: | {{#if:{{{input-tank|}}}|{{FluidGauge|left=77|top=92|width=24|height=94|max=10000|fill={{{input-fill|0}}}|tank={{{input-tank|}}}}}|<div style="left:77px; top:92px; position:absolute; width:24px; height:94px;">[[Image:Tank Empty.png|24px|link=|alt=]]</div>}} | ||
<!-- ^ Input (Left) Tank --> | |||
{{#if:{{{output-tank|}}}|{{ | {{#if:{{{output-tank|}}}|{{FluidGauge|left=233|top=92|width=24|height=94|max=10000|fill={{{output-fill|0}}}|tank={{{output-tank|}}}}}|<div style="left:233px; top:92px; position:absolute; width:24px; height:94px;">[[Image:Tank Empty.png|24px|link=|alt=]]</div>}} | ||
| | <!-- ^ Output (Right) Tank --> | ||
|<div style="left:233px; top:92px; position:absolute; width:24px; height:94px;">[[Image:Tank Empty.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> | ||
<!-- ^ Background --> | |||
<div style="left:82px; top:9px; font-size:18px; position:absolute;">[[Canning Machine]]</div> | |||
<!-- ^ Title --> | |||
<div style="left:24px; top:124px; width:14px; height:26px; position:absolute;">[[Image:Power_Bolt.png|14px|link=|alt=]]</div> | |||
<!-- ^ Power Bolt --> | |||
<div style="left:117px; top:162px; width:100px; height:28px; position:absolute;">[[Image:GUI_Canning_Machine_{{{mode|A}}}.png|100px|link=|alt=]]</div> | |||
<!-- ^ Change mode icons --> | |||
<div style="left:109px; top:84px; width:116px; height:74px; position:absolute;">[[Image:GUI_Canning_Machine_{{{mode|A}}}1.png|116px|link=|alt=]]</div> | |||
<!-- ^ Change mode icons --> | |||
{{#if:{{{top|{{{can|}}}}}}|<div style="left:73px; top:34px; width:32px; height:32px; position:absolute;"> | |||
[[Image:{{#if:{{{left-image|{{{can-image|}}}}}}|{{{left-image|{{{can-image}}}}}}|Grid_{{{left|{{{can|}}}}}}.png}}|32px|link={{#if:{{{left-link|{{{can-link|}}}}}}|{{{left-link|{{{can-link}}}}}}|{{{left|{{{can}}}}}}}}|alt={{{left|{{{can}}}}}}]]</div>}} | |||
<!-- ^ Can/Left Input Slot --> | |||
{{#if:{{{top|{{{can|}}}}}}|<div style="left:229px; top:34px; width:32px; height:32px; position:absolute;"> | |||
[[Image:{{#if:{{{right-image|{{{output-image|}}}}}}|{{{right-image|{{{output-image}}}}}}|Grid_{{{right|{{{output|}}}}}}.png}}|32px|link={{#if:{{{right-link|{{{output-link|}}}}}}|{{{right-link|{{{output-link}}}}}}|{{{right|{{{output}}}}}}}}|alt={{{right|{{{output}}}}}}]]</div>}} | |||
<!-- ^ Right/Output Slot --> | |||
{{#if:{{{middle|{{{input|}}}}}}<!-- | |||
-->|{{#ifeq:{{{mode|A}}}|A|<div style="left:151px; top:88px; width:32px; height:32px; position:absolute;"><!-- | |||
-->[[Image:{{#if:{{{middle-image|{{{input-image|}}}}}}|{{{middle-image|{{{input-image}}}}}}|Grid_{{{middle|{{{input|}}}}}}.png}}|32px|link={{#if:{{{middle-link|{{{input-link|}}}}}}|{{{middle-link|{{{input-link}}}}}}|{{{middle|{{{input}}}}}}}}|alt={{{middle|{{{input}}}}}}]]</div>|<!-- | |||
-->{{#ifeq:{{{mode|A}}}|D|<div style="left:151px; top:88px; width:32px; height:32px; position:absolute;"> | |||
[[Image:{{#if:{{{middle-image|{{{input-image|}}}}}}|{{{middle-image|{{{input-image}}}}}}|Grid_{{{middle|{{{input|}}}}}}.png}}|32px|link={{#if:{{{middle-link|{{{input-link|}}}}}}|{{{middle-link|{{{input-link}}}}}}|{{{middle|{{{input}}}}}}}}|alt={{{middle|{{{input}}}}}}]]</div> | |||
|}}}}}} | |||
<!-- ^ Middle/Input Slot --> | |||
{{#if:{{{battery|}}}|<div style="left:16px; top:160px; width:32px; height:32px; position:absolute;"> | |||
[[Image:{{#if:{{{battery-image|}}}|{{{battery-image}}}|Grid_{{{battery|}}}.png}}|32px|link={{#if:{{{battery-link|}}}|{{{battery-link}}}|{{{battery}}}}}|alt={{{battery}}}]]</div>}} | |||
<!-- ^ Battery Slot --> | |||
</div> | </div> | ||
</div> | </div> | ||
Line 25: | Line 46: | ||
{{User:Chocohead/Template:Grid/Canning Machine | {{User:Chocohead/Template:Grid/Canning Machine | ||
|can=Missing Texture | |||
|can-link=Empty Cell | |||
|input-tank=Water | |input-tank=Water | ||
|input-fill= | |input-fill=5000 | ||
|middle=Missing Texture | |||
|input-link=Copper | |||
|output-tank=Water | |output-tank=Water | ||
|output-fill=7500 | |output-fill=7500 | ||
|output=Missing Texture | |||
|right-link=CF Sprayer | |||
|mode=D | |||
|battery=Missing Texture | |||
|battery-link=RE Battery | |||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 20:05, 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