Difference between revisions of "Template:Grid/Crafting Table/doc"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (typo fix)
Line 50: Line 50:


=== Base Minecraft items and other mods ===
=== 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 (typically [[Non-IC Items]]).
If you are using items from outside the '''Industrial Craft''' mod, you can use the "-link" parameters to link to an alternate page (typically [[Non-IC Items]]).


<pre style="width: 250px">{{Grid/Crafting Table
<pre style="width: 250px">{{Grid/Crafting Table

Revision as of 02:28, 8 December 2011

Template-info.png Documentation

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

Notes[edit]

Items in the grid are set by parameters A1 to C3 in the following formation:

  A1,B1,C1
  A2,B2,C2
  A3,B3,C3

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

For Example: A2-image would set a custom image for item A2

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

For Example: If C2 was "Generator", then the default image would be "Grid Generator.png"


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

For Example: A2-link would set a custom link for item A2

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

For Example: If C2 was "Generator", then the image would try to link to [ [Generator] ]


Usage[edit]

{{Grid/Crafting Table
|A1=Rubber  |B1=Copper |C1=Rubber
|A2=Rubber  |B2=Copper |C2=Rubber
|A3=Rubber  |B3=Copper |C3=Rubber
|Output=Cable |OA=8
}}
produces
Grid Rubber.png
Grid Rubber.png
Grid Rubber.png
Grid Copper.png
Grid Copper.png
Grid Copper.png
Grid Rubber.png
Grid Rubber.png
Grid Rubber.png
Grid Cable.png

Cable

Cable


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[edit]

If you are using items from outside the Industrial Craft mod, you can use the "-link" parameters to link to an alternate page (typically Non-IC Items).

{{Grid/Crafting Table
|B2=Iron|B2-link=Non-IC Items
|B2=Iron|B2-link=Non-IC Items
|B3=Refined Iron
|Output=Mining Pipe |OA=2
}}
produces



Grid Iron.png
Grid Iron.png
Grid Refined Iron.png



Grid Mining Pipe.png

Mining Pipe

Mining Pipe



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[edit]

{{Grid/Furnace}}

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