Template:Grid/Machine/doc: Difference between revisions
Mastergalen (talk | contribs) (Created page with "This template is used to create a grid that looks similar to the Crafting Table's GUI screen. __TOC__ == Notes == Set the type of machine with the paramete...") |
|||
Line 149: | Line 149: | ||
<pre>{{Grid/Machine | <pre>{{Grid/Machine | ||
|Type=Extractor | |Type=Extractor | ||
|Top=Resin | |Top=Sticky Resin | ||
|Bottom=RE Battery (Charged) | |Bottom=RE Battery (Charged) | ||
|Output=Rubber | |Output=Rubber | ||
Line 157: | Line 157: | ||
{{Grid/Machine | {{Grid/Machine | ||
|Type=Extractor | |Type=Extractor | ||
|Top=Resin | |Top=Sticky Resin | ||
|Bottom=RE Battery (Charged) | |Bottom=RE Battery (Charged) | ||
|Output=Rubber | |Output=Rubber | ||
}} | }} |
Revision as of 11:25, 5 April 2012
This template is used to create a grid that looks similar to the Crafting Table's GUI screen.
Contents
Notes
Set the type of machine with the parameter 'Type', by default Type=Iron Furnace. Currently, the following machine types can be used with this template: Iron Furnace, Canning Machine, Compressor, Electro Furnace, Extractor, Macerator, Recycler.
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"
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).
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 |Type=Iron Furnace |Top=Iron (Ingot) |Bottom=Coal (Item) |Output=Refined Iron }}
- produces
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 either within the wiki or to another webpage.
{{Grid/Machine |Type=Macerator |Top=Cobblestone|Top-link=http://www.minecraftwiki.net/wiki/Cobblestone |Output=Sand|Output-link=http://www.minecraftwiki.net/wiki/Sand }}
- produces
Examples
Regular Furnace
{{Grid/Machine |Type=Furnace |Top=Cobblestone|Top-link=http://www.minecraftwiki.net/wiki/Cobblestone |Bottom=Coal (Item)|Bottom-link=http://www.minecraftwiki.net/wiki/Coal_(Item) |Output=Stone||Top-link=http://www.minecraftwiki.net/wiki/Stone }}
- produces
Electro Furnace
{{Grid/Machine |Type=Electro Furnace |Top=Cobblestone|Top-link=http://www.minecraftwiki.net/wiki/Cobblestone |Bottom=RE Battery (Charged) |Output=Stone||Top-link=http://www.minecraftwiki.net/wiki/Stone }}
- produces
Recycler
{{Grid/Machine |Type=Recycler |Top=Cobblestone|Top-link=http://www.minecraftwiki.net/wiki/Cobblestone |Bottom=RE Battery (Charged) |Output=Scrap }}
- produces
Canning Machine
{{Grid/Machine |Type=Canning Machine |Top=Bread|Top-link=http://www.minecraftwiki.net/wiki/Bread |Bottom=Tin Can |Output=Canned Food }}
- produces
Compressor
{{Grid/Machine |Type=Compressor |Top=Metal Block |Bottom=RE Battery (Charged) |Output=Advanced Alloy }}
- produces
Macerator
{{Grid/Machine |Type=Macerator |Top=Gravel|Top-link=http://www.minecraftwiki.net/wiki/Gravel |Bottom=RE Battery (Charged) |Output=Flint|Output-link=http://www.minecraftwiki.net/wiki/Flint }}
- produces
Extractor
{{Grid/Machine |Type=Extractor |Top=Sticky Resin |Bottom=RE Battery (Charged) |Output=Rubber }}
- produces