Difference between revisions of "Template:Grid/Centrifuge"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (Might be good, but also might just not work...)
m (Added multi-input support, and moved some things about to look nicer)
Line 1: Line 1:
<includeonly><div style="float:{{#if:{{{float|}}}|{{{float}}}|left}};"><div style="left:0px; top:0px; width:294px; height:178px; position:relative;">
<includeonly><div style="float:{{#if:{{{float|}}}|{{{float}}}|left}};"><div style="left:0px; top:0px; width:294px; height:178px; position:relative;">
<div style="left:0px; top:0px; width:270px; height:120px;">[[Image:GUI_Thermal_Centrifuge.png|294px|link=|alt=]]</div>
<div style="left:0px; top:0px; width:270px; height:120px;">[[Image:GUI_Thermal_Centrifuge.png|294px|link=|alt=]]</div>
<div style="left:75px; top:15px; font-size:18px; position:absolute; font-family:'MinecraftFont';">[[Thermal Centrifuge]]</div>
<div style="left:73px; top:12px; font-size:18px; position:absolute; font-family:'MinecraftFont';">[[Thermal Centrifuge]]</div>


{{#if:{{{Top|}}}|<div style="left:18px; top:43px; width:32px; height:32px; position:absolute;">
{{#if:{{{Top|}}}|<div style="left:18px; top:43px; width:32px; height:32px; position:absolute;">
Line 12: Line 12:
</div>}}
</div>}}


{{#if:{{{IA|}}}|
<div style="left:30px; top:145px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:{{#expr:-16 * (floor({{{IA|}}}/10) - 1)}}px; top:-8px; width:160px; height:16px; position:absolute;">
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Top-link|}}}|{{{Top-link}}}|{{{Top}}}}}|alt={{{Top}}}]]
</div>
</div>
<div style="left:42px; top:145px; 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:{{{Top-link|}}}|{{{Top-link}}}|{{{Top}}}}}|alt={{{Top}}}]]
</div>
</div>
}}
{{#if:{{{Output1|}}}|<div style="left:244px; top:37px; width:32px; height:32px; position:absolute;">
{{#if:{{{Output1|}}}|<div style="left:244px; top:37px; width:32px; height:32px; position:absolute;">
Line 73: Line 84:
{{Documentation}}
{{Documentation}}
[[Category:Updated Template]]
[[Category:Updated Template]]
Just testing, don't mind me:
{{Grid/Centrifuge
{{Grid/Centrifuge
|Top=Missing Texture
|Top=Missing Texture
|IA=4
|Bottom=Missing Texture
|Bottom=Missing Texture
|Output1=Missing Texture|OA1=32
|Output1=Missing Texture|OA1=32

Revision as of 11:07, 12 October 2014



Template-info.png Documentation

This template is used to create a machine GUI that looks similar to the Thermal Centrifuge's GUI screen.

Usage[edit]

{{Grid/Centrifuge
|Top=Purified Crushed Uranium Ore
|Bottom=RE Battery (Charged)
|Output1=Uranium 238
|OA1=5
|Output2=Tiny Pile of Uranium 235
|OA2=2
|Output3=Stone Dust
|Heat=3000
}}

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)
  • |IA= can be added after the input to increase the inputted items
  • |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/Centrifuge/doc. (edit | history)

Just testing, don't mind me: