Difference between revisions of "Template:Grid/Metal Former"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (Fixed multiple outputs being in the completely wrong place)
m (Fixed outputs over 9 being really funky)
Line 25: Line 25:
{{#if:{{{OA|}}}|
{{#if:{{{OA|}}}|
<div style="left:205px; top:70px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:227px; top:100px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:{{#expr:-16 * (floor({{{OA|}}}/10) - 1)}}px; top:-8px; width:160px; height:16px; position:absolute;">
<div style="left:{{#expr:-16 * (floor({{{OA|}}}/10) - 1)}}px; top:-8px; width:160px; height:16px; position:absolute;">
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
Line 44: Line 44:
|Top=Missing Texture
|Top=Missing Texture
|Bottom=Missing Texture
|Bottom=Missing Texture
|Output=Missing Texture
|Output=Missing Texture |OA=1
}}
}}


Line 51: Line 51:
|Input=Tin
|Input=Tin
|Bottom=Missing Texture
|Bottom=Missing Texture
|Output=Missing Texture
|Output=Missing Texture |OA=23
}}
}}



Revision as of 18:28, 22 September 2014


Template-info.png Documentation

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

Usage[edit]

{{Grid/Metal Former
|Mode=Rolling
|Input=Tin
|Output=Tin Plate
|Bottom=RE Battery (Charged)
}}

makes:



Additional Usage Information[edit]

Top can be used instead of Input, and will override Input if both are provided:

{{Grid/Metal Former
|Mode=Cutting
|Input=Copper Plate
|Top=Tin Plate
|Output=Tin Cable
|Bottom=RE Battery (Charged)
}}

makes:



Mode does not need to be given, and will default to rolling if it is not.

{{Grid/Metal Former
}}
{{Grid/Metal Former
|Mode=Rolling
}}
{{Grid/Metal Former
|Mode=Cutting
}}
{{Grid/Metal Former
|Mode=Extruding
}}





As with the Crafting Table template, -link can be added to change where an item links to (such as Iron going to Non-IC Items) and |OA= can be added after the output to increase the products:

{{Grid/Metal Former
|Mode=Cutting
|Top=Tin Plate
|Output=Tin Cable |OA=3
|Bottom=RE Battery (Charged)
}}

makes:



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/Metal Former/doc. (edit | history)