Difference between revisions of "Template:Grid/Ore Washing Plant"
Jump to navigation
Jump to search
m (Moved stuff to the right place + fixed tank) |
m (Added multi-output support for the middle and right output slots too) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
<div style="left:0px; top:0px; position:absolute; width:292px; height:169px;">[[Image:GUI_Ore_Washing_Plant.png|292px|link=|alt=]]</div> | <div style="left:0px; top:0px; position:absolute; width:292px; height:169px;">[[Image:GUI_Ore_Washing_Plant.png|292px|link=|alt=]]</div> | ||
<!-- ^ Background --> | <!-- ^ Background --> | ||
<div style="left: | <div style="left:81px; top:7px; font-size:18px; position:absolute; font-family:'MinecraftFont';">[[Ore Washing Plant]]</div> | ||
<!-- ^ Title --> | <!-- ^ Title --> | ||
<div style="left:24px; top:88px; width:14px; height:26px; position:absolute;">[[Image:Power_Bolt.png|14px|link=|alt=]]</div> | <div style="left:24px; top:88px; width:14px; height:26px; position:absolute;">[[Image:Power_Bolt.png|14px|link=|alt=]]</div> | ||
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:196px; 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 --> | |||
{{#if:{{{OA2|}}}| | |||
<div style="left:220px; top:143px; width:16px; height:16px; position:absolute; overflow:hidden;"> | |||
<div style="left:{{#expr:-16 * (floor({{{OA2|}}}/10) - 1)}}px; top:-8px; width:160px; height:16px; position:absolute;"> | |||
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output2-link|}}}|{{{Output2-link}}}|{{{Output2}}}}}|alt={{{Output2}}}]] | |||
</div> | |||
</div> | |||
<div style="left:232px; top:143px; width:16px; height:16px; position:absolute; overflow:hidden;"> | |||
<div style="left:{{#expr:-16 * (({{{OA2|}}} - 1) mod 10)}}px; top:-8px; width:160px; height:16px; position:absolute;"> | |||
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output2-link|}}}|{{{Output2-link}}}|{{{Output2}}}}}|alt={{{Output2}}}]] | |||
</div> | |||
</div> | |||
}} | |||
<!-- ^ Middle Output Multi-Item Number --> | |||
{{#if:{{{OA3|}}}| | |||
<div style="left:256px; top:143px; width:16px; height:16px; position:absolute; overflow:hidden;"> | |||
<div style="left:{{#expr:-16 * (floor({{{OA3|}}}/10) - 1)}}px; top:-8px; width:160px; height:16px; position:absolute;"> | |||
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output3-link|}}}|{{{Output3-link}}}|{{{Output3}}}}}|alt={{{Output3}}}]] | |||
</div> | |||
</div> | |||
<div style="left:268px; top:143px; width:16px; height:16px; position:absolute; overflow:hidden;"> | |||
<div style="left:{{#expr:-16 * (({{{OA3|}}} - 1) mod 10)}}px; top:-8px; width:160px; height:16px; position:absolute;"> | |||
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output3-link|}}}|{{{Output3-link}}}|{{{Output3}}}}}|alt={{{Output3}}}]] | |||
</div> | |||
</div> | |||
}} | |||
<!-- ^ 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}}}]] | ||
Line 43: | Line 82: | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Updated Template]] | [[Category:Updated Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:06, 11 October 2014
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)