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

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (Added different mode icons)
m (Tested links)
 
(15 intermediate revisions by the same user not shown)
Line 17: Line 17:
<div style="left:24px; top:124px; width:14px; height:26px; position:absolute;">[[Image:Power_Bolt.png|14px|link=|alt=]]</div>
<div style="left:24px; top:124px; width:14px; height:26px; position:absolute;">[[Image:Power_Bolt.png|14px|link=|alt=]]</div>
<!-- ^ Power Bolt -->
<!-- ^ Power Bolt -->
{{#ifeq:{{{mode|A}}}|A|<div style="left:117px; top:162px; width:100px; height:28px; position:absolute;">[[Image:GUI_Canning_Machine_A.png|100px|link=|alt=]]</div>|
<div style="left:117px; top:162px; width:100px; height:28px; position:absolute;">[[Image:GUI_Canning_Machine_{{{mode|A}}}.png|100px|link=|alt=]]</div>
{{#ifeq:{{{mode|A}}}|B|<div style="left:117px; top:162px; width:100px; height:28px; position:absolute;">[[Image:GUI_Canning_Machine_B.png|100px|link=|alt=]]</div>|
<!-- ^ Change mode icons -->
{{#ifeq:{{{mode|A}}}|B|<div style="left:117px; top:162px; width:100px; height:28px; position:absolute;">[[Image:GUI_Canning_Machine_C.png|100px|link=|alt=]]</div>|
<div style="left:109px; top:84px; width:116px; height:74px; position:absolute;">[[Image:GUI_Canning_Machine_{{{mode|A}}}1.png|116px|link=|alt=]]</div>
{{#ifeq:{{{mode|A}}}|B|<div style="left:117px; top:162px; width:100px; height:28px; position:absolute;">[[Image:GUI_Canning_Machine_D.png|100px|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 31: 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=5000
|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