Template:Item infobox/damagetype

Internal sub-template. Extracts the five damage types Melee, Ranged, Magic, Summon, and Throwing from an input string and provides a function to return the raw category names for the types and a function to return the string as it was input, but with localized damage types.