Difference between revisions of "Template:Grid/Ore Washing Plant"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (Moved title over a pixel and remove testing templates)
m (Added multi-output support for the left output)
Line 34: Line 34:
</div>}}
</div>}}
<!-- ^ Right Output Slot -->
<!-- ^ Right Output Slot -->
{{#if:{{{OA1|}}}|
<div style="left:184px; top:143px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:{{#expr:-16 * (floor({{{OA1|}}}/10) - 1)}}px; top:-8px; width:160px; height:16px; position:absolute;">
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output1-link|}}}|{{{Output1-link}}}|{{{Output1}}}}}|alt={{{Output1}}}]]
</div>
</div>
<div style="left:206px; top:143px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:{{#expr:-16 * (({{{OA1|}}} - 1) mod 10)}}px; top:-8px; width:160px; height:16px; position:absolute;">
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output1-link|}}}|{{{Output1-link}}}|{{{Output1}}}}}|alt={{{Output1}}}]]
</div>
</div>
}}
<!-- ^ Left Output Slot Multi-Item Number -->
<!-- ^ Middle Output Multi-Item Number -->
<!-- ^ Right Output Slot Multi-Item Number -->
{{#if:{{{Battery|}}}|<div style="left:16px; top:119px; width:32px; height:32px; position:absolute;">
{{#if:{{{Battery|}}}|<div style="left:16px; top:119px; 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}}}]]
[[Image:{{#if:{{{Battery-image|}}}|{{{Battery-image}}}|Grid_{{{Battery|}}}.png}}|32px|link={{#if:{{{Battery-link|}}}|{{{Battery-link}}}|{{{Battery}}}}}|alt={{{Battery}}}]]

Revision as of 21:00, 11 October 2014


Template-info.png Documentation

This template is used to create a machine GUI that looks similar to the Ore Washing Plant's GUI screen.

Usage[edit]

{{Grid/Ore Washing Plant
|Top=Water Bucket
|Bottom=Bucket
|Water=1000
|Battery=RE Battery
|Input=Crushed Iron Ore
|Output1=Purified Crushed Iron Ore
|Output2=Tiny Pile of Iron Dust
|OA2=2
|Output3=Stone Dust
}}

makes:



Additional Usage Information[edit]

Just like all other crafting templates, -link can be added to change where an item links to (such as Iron going to Non-IC Items) and |OA1-3= can be added after the output to increase the products.

Note[edit]

When uploading images for this, or any other template, (if they are missing) then the following standard is used:

Grid_item name.png -- A 32x32 image of the item as it appears in a player's inventory.

See also[edit]

{{Grid/Machine}}

The above documentation is transcluded from Template:Grid/Ore Washing Plant/doc. (edit | history)