Template:Grid/Presser/doc


 * Description

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

To use it, copy-paste the following code and fill in the parameters as described below.


 * Sample Output




 * produces:

Input Parameter
Filling in the parameter Input will automatically insert an image of the specified item that links to the corresponding page at the top item slot.

Output Parameter
|Output1
 * Output2

The "Output1" and "Output2" parameters allow you to specify the names of the produced items/blocks shown on the bottom item slots of the Presser.

Output Amount Parameter
|OA1
 * OA2

"OA1" and "OA2" specify the output amounts and will accept any value from 2 to 99. Do not use if less than 2.

Additional Parameters

 * Custom links

|Input-link
 * Output1-link
 * Output2-link

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

For Example: Input-link would set a custom link for item Input.

This is only necessary if a page link somehow deviates from the corresponding item/block name.

If this parameter is omitted, the template will attempt to use item. For Example: If Output1 was "Generator", then the image would try to link to Generator.


 * Custom images

|Input-image
 * Output1-image
 * Output2-image

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

For Example: Output2-image would set a custom image for item Output2.

This is only necessary if an image name somehow deviates from the actual item/block name.

If this parameter is omitted, the template will attempt to use "Grid .png". For Example: If Input was "Generator", then the default image would be "Grid Generator.png".

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