Template:ItemTooltip/doc

With a single Infobox, we can make a stat block for all types of items (weapons, books, materials, etc.) and all npcs (enemies and friendly)!

In total for this template there are 41 parameters at the time of writing this. If a tag has no value, it will not be displayed (except Name and Rarity tags).

Detailed description of each parameter
Name: Displays the name of the item in the upper righthand side of the infobox. The name changes color based on the Rarity tag. If the imageIcon tag is present, the name will follow the icon. The default value is the article's name.

imageIcon: Displays an image as 50px by 50px in the upper lefthand corner. The suffix "Icon.png" is automatically added. !CASE SENSITIVE!

imageBIG: Displays an image corresponding to a mob/NPC. The image is automatically resized (maximum height of 400px). !CASE SENSITIVE!

Rarity: Displays the rarity of the item. In order for the color change to happen, this parameter must be in lowercase only. The default value is "common". The possible values are: common, uncommon, rare, epic and legendary.

TrueType: The type of the item (Weapons, Tools...). The exact name of the category must be used (but spaces can be used instead of underscores). Some type values automatically add the corresponding category to the article. !CASE SENSITIVE!

TypeFormat: The displayed name of the TrueType tag. If absent, TrueType value will be used.

Description: The item description displayed IG. You can make you own descriptions for mobs and NPCs.

OnUse: For any effects gained upon using the item.

DamageMultiplier: for bows

DrawSpeed: for bows

ArrowSpeed: for bows and some arrows

Pierce: for arrows

RetrieveChance: for arrows

ItemConsumedChance: for consumables, lures/baits and other items

Primary: for primary attack on weapons, can be used to describe enemy's weapon or attack

Secondary: for secondary attack on weapons, can be used to describe enemy's weapon or attack

Health: for enemies

Resistances: for enemies and NPCs

Weaknesses: for enemies

CritChance: critical hit chance displayed in percentage

CritMultiplier: critical hit damage displayed in percentage

MaxStamina: maximum stamina increase/decrease

StaminaRegen: stamina regeneration increase/decrease

MaxHealth: maximum health increase/decrease

HealthRegen: health regeneration increase/decrease

Strength: ...

PoisonResistance: ...

Adornment: ...

PhysicalArmor: amount of physical armor provided

Weight: ...

SetSize: how many pieces needed to activate the set bonus

SetBonus: bonuses from wearing the whole set

Food: ...

ExtraInfo: a tag used for any extra information (eg: pickaxe speed, provides light, boat stats, etc.)

Creates: A tag for putting the items created with this item. Would highly recommend using html tag in the input to add a line and  to add a bullet point.

CraftedBy: A tag for putting the materials needed to craft this item. Would highly recommend using html tag in the input to add a line and  to add a bullet point.

Drops: A tag used to specify the items you can find when opening a container/looting an enemy. Would highly recommend using html tag in the input to add a line and  to add a bullet point.

Author: A tag used to specify the author of a book.

Source: A general tag used to specify where or how to obtain the item.

MerchantSellsToYouPrice: the price a merchant will sell the item to the player for.

SellsToMerchantPrice: the price an item sells to the merchant for. Will probably add the icon used IG to indicate non-tradeable/sellable item later.

Type in this:

To see this: