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. As part of the second function, the template removes bold print from any characters except the ones belonging to a damage type string in order to tie in seamlessly with item infobox/infoboxView. To suppress this behavior and make no style alterations, use.