Template:Ingredient/doc

Use this template to display crafting ingredients when outside a standard crafts table. The first parameter is the item name, and the second is the quantity. The quantity is optional, and will default to 1 if left out. If set to zero (0), no quantity number is displayed, but the linked icon still is.

This template displays the quantity number next to a linked image. It makes for shorter, neater code than using other item-linking templates for this purpose. It also forces both of these elements to remain on the same line, which can be useful in tables and article paragraphs, where otherwise they might be broken into separate confusing and unseemly lines.

Usage
Use the shortcut ing for convenience.

The ingredient name.
 * Unnamed Parameter 1

The ingredient amount.
 * Unnamed Parameter 2