Difference between revisions of "Template:Grid/Centrifuge"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (Bumped all the numbers up 5 pixels)
m (More shifting)
Line 41: Line 41:
{{#if:{{{OA2|}}}|
{{#if:{{{OA2|}}}|
<div style="left:256px; top:94px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:256px; top:97px; 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;">
<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}}}]]
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output2-link|}}}|{{{Output2-link}}}|{{{Output2}}}}}|alt={{{Output2}}}]]
</div>
</div>
</div>
</div>
<div style="left:268px; top:94px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:268px; top:97px; 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;">
<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}}}]]
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output2-link|}}}|{{{Output2-link}}}|{{{Output2}}}}}|alt={{{Output2}}}]]
Line 54: Line 54:
{{#if:{{{OA3|}}}|
{{#if:{{{OA3|}}}|
<div style="left:256px; top:130px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:256px; top:132px; 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;">
<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}}}]]
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output3-link|}}}|{{{Output3-link}}}|{{{Output3}}}}}|alt={{{Output3}}}]]
</div>
</div>
</div>
</div>
<div style="left:268px; top:130px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:268px; top:132px; 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;">
<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}}}]]
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output3-link|}}}|{{{Output3-link}}}|{{{Output3}}}}}|alt={{{Output3}}}]]

Revision as of 20:18, 2 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)