Template:Absorption

USAGE
 

Required Parameters
 * Where Element is one of the following:
 * Acid
 * Cold
 * Electric/Lightning
 * Elemental (Acid, Cold, Electric, Fire, (Sonic))
 * Specify if sonic is included using (Elemental Sonic)
 * Fire
 * Force
 * Negative/Negative Energy
 * Spell
 * Whirlwind


 * Where Percentage is:
 * 0 for charge absorptions
 * A positive or negative number
 * Default = 0%

Optional Parameters
 * Where (Charges) is:
 * The total number of charges before item depleted
 * Default = 1
 * Only used when Percentage = 0


 * Where (Recharges) is:
 * 0/no/none for no recharging
 * A positive number of charges restored per
 * Needs to be less than or equal to (Charges)
 * Default = (Charges)
 * Only used when Percentage = 0


 * Where (Elemental Sonic) is:
 * Yes/Y/1/True
 * No/N/0/False (default)

Errors

 * - Invalid Element
 * - Element uses charges
 * - Percentage not specified
 * - Invalid (Elemental Sonic)
 * - Element does not use charges
 * - (Recharges) greater than (Charges)
 * - Invalid (Elemental Sonic)
 * - Element does not use charges
 * - (Recharges) greater than (Charges)
 * - (Recharges) greater than (Charges)
 * - (Recharges) greater than (Charges)

CATEGORIZATION

 * Category:Absorption items/Acid
 * Category:Absorption items/Cold
 * Category:Absorption items/Electrical
 * Category:Absorption items/Elemental
 * Category:Absorption items/Fire
 * Category:Absorption items/Force
 * Category:Absorption items/Negative Energy (charge type)
 * Category:Absorption items/Negative Energy (percentage)
 * Category:Absorption items/Spell (charge type)
 * Category:Absorption items/Whirlwind