Template:Infobox Enemy/style

This template offers a multiple choice for defining which combat style(s) an (enemy) article belongs to. It can also automatically categorize a page under those categories.

Parameters

 * melee: Whether or not this enemy attacks using hand-to-hand combat (defaults to no, enable by any other nonempty value)
 * ranged: Whether or not this enemy attacks using a weapon from a distance (defaults to no, enable by any other nonempty value)
 * magic: Whether or not this enemy attacks using magical spells/objects (defaults to no, enable by any other nonempty value)
 * explosive: Whether or not this enemy's attacks explode on hit (defaults to no, enable by any other nonempty value)
 * nocat: Whether or not to suppress categorization under the chosen categories (defaults to false, which means auto categorization).

Note: the explosive parameter is often paired with ranged, when enemies throw with explosive objects.

Note: this categorizer is multiple choice: you can specify any combination of the four options.

Note: if neither melee, ranged, magic or explosive specify a positive value, the default 'unknown' will be used.

Examples
Common use include any of the melee, ranged, magic or explosive parameters to specify the style an enemy attacks with (value "yes" is recommended):



You can also specify multiple styles for one enemy ( warning : this will force a table cell to split in two, so do not do this outside table cells!):



It doesn't matter which value you use, any nonempty value other than "no" will express a positive value, so these all have the same result:



The only ways to express a negative value is by leaving out the parameter, leaving it empty or specifying "no" (case insensitive), so these all have the same result:



You may leave the "style" undefined (which would raise the Enemies of an unknown combat style maintenance task) by not specifying any positive value for any of the options, so these all have the same result:



The nocat parameter may be used to suppress automatic categorization like this (any value will do):

This would render the same result as the first example above, but would not automatically categorize under Category:Melee enemies. This feature works both on valid values and the maintenance task mentioned above.