Template:GetArmorInfo/doc

This template is used to retrieve information about an equipable "armor" item. The term "armor" here is used in Terraria's source code, hence it is used here as well, although it is different from the the one generally used on the wiki, Armor. See Armor IDs for a list of all "armor" items.

Usage
Identification of the item; see Armor IDs.
 * First and second unnamed parameters

Which piece of information to get. Can be one of the following: name, link, image, count.
 * Third unnamed parameter

Use  to retrieve the maximum ID of all "head armor" items ("body" and "legs" equivalently) and   to retrieve the maximum out of the three counts (a shortcut for , which gets the same result).