Template:Crafting/doc

{	"params": { "a1": { "label": "Top left", "description": "Name of the item in the top left slot.", "type": "string" },		"a1image": { "label": "Top left image", "description": "Image name (without \"File:\" but with .png/.gif); if different from item name.", "type": "string", "default": "(a1).png/(a1).gif" },		"a2": { "label": "Top center", "description": "Name of the item in the top center slot.", "type": "string" },		"a2image": { "label": "Top center image", "description": "Image, if different from item name.", "type": "string", "default": "(a2).png/gif" },		"a3": { "label": "Top right", "description": "Name of the item in the top right slot.", "type": "string" },		"a3image": { "label": "Top right image", "description": "Image, if different from item name.", "type": "string", "default": "(a3).png/gif" },		"b1": { "label": "Middle left", "description": "Name of the item in the middle left slot.", "type": "string" },		"b1image": { "label": "Middle left image", "description": "Image, if different from item name.", "type": "string", "default": "(b1).png/gif" },		"b2": { "label": "Middle center", "description": "Name of the item in the middle center slot.", "type": "string" },		"b2image": { "label": "Middle center image", "description": "Image, if different from item name.", "type": "string", "default": "(b2).png/gif" },		"b3": { "label": "Middle right", "description": "Name of the item in the middle right slot.", "type": "string" },		"b3image": { "label": "Middle right image", "description": "Image, if different from item name.", "type": "string", "default": "(b3).png/gif" },		"c1": { "label": "Bottom left", "description": "Name of the item in the bottom left slot.", "type": "string" },		"c1image": { "label": "Bottom left image", "description": "Image, if different from item name.", "type": "string", "default": "(c1).png/gif" },		"c2": { "label": "Bottom center", "description": "Name of the item in the bottom center slot.", "type": "string" },		"c2image": { "label": "Bottom center image", "description": "Image, if different from item name.", "type": "string", "default": "(c2).png/gif" },		"c3": { "label": "Bottom right", "description": "Name of the item in the bottom right slot.", "type": "string" },		"c3image": { "label": "Bottom right image", "description": "Image, if different from item name.", "type": "string", "default": "(c3).png/gif" },		"output": { "description": "Output", "description": "Name of the output item.", "type": "string" },		"outputimage": { "label": "Output image", "description": "Image, if different from item name.", "type": "string", "default": "(output).png/gif" },		"amount": { "label": "Output amount", "description": "Amount of output given, if greater than 1.", "type": "number" },		"repair": {}, "shapeless": { "label": "Shapeless recipe", "type": "boolean", "description": "Displays a small shapeless recipe icon at the top right corner." }	},	"description": "Generates a crafting grid for showing crafting recipes.", "format": "\n\n" }



Putting an item name in  or   displays the item's image (PNG or GIF format) and creates a link to the article (unless the link is for the same page).

If the link is to an article on the Minecraft Wiki, specify it as.

If the article and image have different names, an additional  or   should be specified (without the "File:", but with the file extension).

Specifying  but leaving   empty will display an image without a link, which can be useful for avoiding redirects to the same page (e.g. on Armor pages).

If an PNG or GIF image with the specified item name doesn't exist and no image is manually specified, is shown.

specifies the amount of output (for recipes that return more than 1 item).

Setting  displays an icon that explains what a shapeless recipe is when hovered over.

Examples




Dependencies

 * Template:Slot