Template:Grid/Machine

From Industrial-Craft-Wiki
Jump to: navigation, search


Template-info.png Documentation

This template is used to create a grid that looks similar to the Crafting Table's GUI screen.

Notes

Set the type of machine with the parameter 'Type', by default Type=Iron Furnace


Items in the grid are set by parameters Top, Bottom and Output.


Each item can have a custom image by setting the "-image" parameter

For Example: Top-image would set a custom image for item in the top slot

If this parameter is omitted, the template will attempt to use Grid item.png

For Example: If Top was "Copper Dust", then the default image would be "Grid Copper Dust.png"


Each item can have a custom link by setting the "-link" parameter

For Example: Bottom-link would set a custom link for the item in the bottom slot

If this parameter is omitted, the template will attempt to use [ [ item ] ]

For Example: If Output was "Refined Iron", then the image would try to link to [ [Refined Iron] ]


Usage

{{Grid/Machine
|Top=Iron
|Bottom=Coal
|Output=Refined Iron
}}
produces
Grid Iron.png
Grid Coal.png
Grid Refined Iron.png




The OA field accepts 1-99. Leaving it blank will show nothing, using 100 to 109 will only show the last two digits (although this can be utilized to output 01 instead of just 1, for example), using anything higher will only show the last digit.


Base Minecraft items and other mods

If you are using items from outside the Industrail Craft mod, you can use the "-link" parameters to link to an alternate page.

{{Grid/Machine
|Type=Macerator
|Top=Cobblestone|Top-link=Non-IC Items
|Output=Sand|Output-link=Non-IC Items
}}
produces
Grid Cobblestone.png


Grid Sand.png




When uploading mod images, the following standard is used:

item name.png -- A 16x16 two dimensional image of the item.

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

item name_ig.png -- A larger image of the item placed in the game world (for blocks).

See also

{{Grid/Furnace}} {{Grid/Machine}}

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