Template:Infobox consumer class/doc

This is documentation of:


 * This will show every class in the game Swords and Potions that can use a particular item based on its type.
 * When the page is added and an item type is identified the customer base is semi-automatically displayed.
 * The template will require one or more parameters for automation, and may not function perfectly.

Here is the current use, when seen from a programming view, or inserted directly to a page or template.

Here are the standard parameters. These are the "recommended" names of item types but other variants are often supported.

type =
 * dagger, one-handed sword, two-handed sword, one-handed blunt weapon, two-handed blunt weapon, one-handed axe, two-handed axe, one-handed spear, two-handed spear, bow, crossbow, thrown weapon, firearm, staff, instrument
 * hat, light helmet, heavy helmet
 * bracers, gloves, gauntlets
 * cloak, leather armor, metal armor
 * shoes, light boots, sabatons
 * herb, potion, scroll, amulet, ring

Example:

gives us

The idea behind the template

 * First the main category
 * weapon, clothing, item

if so
 * weapon (currently everyone knows this part):
 * 2-handed?

is it a(n)
 * dagger, sword, blunt, spear, bow, crossbow, thrown, firearm, staff, instrument

A break-down of the armor by categorizing:
 * worn clothing or armor


 * is it shield? if not, continue

you wear it over your...
 * body, head, feet, hands

it weighs... (please double-check this for accuracy)
 * light, medium, heavy

or

it is an...
 * consumable/trinket
 * herb, potion, scroll, amulet, ring, unknown

(default will be unknown, everyone is merely indicated for a new unknown)