Template:Infobox Item/range

This template offers a multiple choice for defining the range category of an (item) article. It can also automatically categorize a page under that category.

Parameters

 * 1) The selected range from the following values (no parameter name and values are case insensitive):
 * 2) * short
 * 3) * medium
 * 4) * long
 * 5) * infinite
 * 6) * varies magic
 * 7) * varies behavior
 * 8) * none
 * 9) * any other (non)empty value defaults to: unknown
 * nocat: Whether or not to suppress categorization under the chosen category (defaults to false, which means auto categorization).

''Note: more category values should be discussed on the discussion page.

Examples
Any of the above values may be used like this:


 * (depends on magic)
 * (depends on behavior)
 * (depends on magic)
 * (depends on behavior)
 * (depends on magic)
 * (depends on behavior)

The case of the value is not important:



You don't have to specify "range" for items that don't attack, by specifying the "none" value, so this won't display anything:

Instead, this would still categorize the page under the Nonranged items category, inline with the other values above.

You may also leave the "range" undefined (which would raise the Items of unknown range maintenance task) by not specifying any valid value, 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:Short ranged items. This feature works both on valid values and the maintenance task mentioned above.