Template:Item Display/doc

Overview
The Item Display template is used to display item, alongside its image. This template is very similar to Resource Display, but ignores the amount.

Syntax
1
 * - the item string, structured as shown here: &#60;amount&#62;x &#60;item string&#62;. Note that the x character is not required. The item string should contain the name of the item.
 * This uses the Additionally Resourceful Syntax (ARS, listed in the table below). If not used with ARS, the tokens should be escaped with.
 * This uses Other Resourceful Adjustments (listed after the ARS table).
 * or or  - whether or not images should be displayed. Default to true.
 * or - whether or not links should be used. Default to false.
 * or - whether or not text should be displayed despite errors occuring. Default to false. If set to true, the whole input is returned.
 * - if on, even when there is value for odds, it will not be displayed. Default off.
 * - if on, an item name without a file will not be padded with a blank space in front. Default off.

A single item should be defined in the form as notated below. Patterns in a square bracket means optional.
 * Additionally Resourceful Syntax (ARS)

Below lists of allowed patterns in ARS for defining the display of a single item.


 * Other Resourceful Adjustments
 * Armor adjustments. If the item name is set to something like Miner Armor piece, the link and image will be adjusted to work properly. The output would be: . The image will always be a helmet image.

Examples

 * Example 1
 * Plain and simple

produces


 * Example 2
 * With drop chance

produces


 * Example 3
 * With enchant

produces


 * Example 4
 * With rarity

produces


 * Example 5
 * With alternate text

produces


 * Example 6
 * With no link

produces


 * Example 7
 * With everything combined

produces