Template:Grid/Mixer/doc

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

The type of this template is always Mixer.


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


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-Top was "Refined Iron", then the image would try to link to [ [Refined Iron] ]


Usage

{{MedievalCraft-Grid/Mixer
|Top=Reddel Powder|TA=101
|Middle=Yealouh Powder|MA=2
|Bottom=Grin Powder|BA=3
|Output-Top=Potion_(Brown)|Top-OutputA=4
|Input-Bottom=Coal|Bottom-InputA=5
}}
produces

Reddel Powder

Yealouh Powder

Grin Powder

Potion_(Brown)

Coal

Reddel Powder

Reddel Powder

Yealouh Powder

Yealouh Powder


Grin Powder

Grin Powder

Potion_(Brown)

Potion_(Brown)

Coal

Coal



The TA (Top), MA (Middle), BA (Bottom), Output-TopA or the Bottom-InputA 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 Medieval Craft mod, you can use the "-link" parameters to link to an alternate page.

{{MedievalCraft-Grid/Mixer
|Top=Reddel Powder|Top-link=Reddel Powder
|Middle=Yealouh Powder|Middle-link=Yealouh Powder
|Bottom=Grin Powder|Bottom-link=Grin Powder
|Output-Top=Potion_(Brown)|Output-Top-link=Potion
|Input-Bottom=Coal|Output-Top-link=Potion
}}
produces

Reddel Powder

Yealouh Powder

Grin Powder

Potion_(Brown)

Coal








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).

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.