Template:AttackBox/doc

Description
This template is used to show the attack stats for player side units. For enemy units use the Template:UnitAttackBox.

Tabber
This template is used in conjunction with the template, being provided with the attacks field and used with Tabber.

Input: Raider Rifle=

Shotgun=

Output: Raider Rifle=

Shotgun=

Field Definitions

 * attackname: Name of attack. Omit this for use with Tabber.
 * image: Attack pattern image/screencap. Rescale image to 200px
 * Example:  image.jpg 
 * rank: Rank attack is available. This is used to omit damage/offense values of ranks where the attack is unavailable.
 * weaponicon: 76x72 attack icon, usually taken and cropped from the game files.
 * damagetype: Damage type icon,, , ,
 * mindmg: Minimum damage value of attack
 * maxdmg: Maximum damage value of attack
 * numattacks: Number of "shots" per attack, the number following the x multiplier.
 * ammoused: Ammo expended per attack.
 * range: Range
 * lof: Line of Fire: Contact, Direct, Precise, Indirect. Add (Backstab) or (Backfire) if range is measured from the back.
 * cooldown: Cooldown for attack.
 * preptime: Prep/Charge time before attack can be used.
 * crit: Base Crit when displayed, as well as crit bonuses.
 * Example: 20% vs. Soldiers
 * armorpiercing: Armor Piercing Percentage, without the "%". The template will add it.
 * effects:, ,
 * cost: Research costs.
 * Example: , July 27, 2024 
 * notes: Additional notes.
 * dot: Damage-Over-Time flag. MUST SET THIS to display the "DoT" portion of the template, as well as use the DOTDamageCalculator feature.
 * dottype: "fire" or "poison". Must set this to use the DOTDamageCalculator. Defaults to "poison".
 * dotduration: Duration of DOT, needed for DOTDamageCalculator feature.
 * damage[1-6]: damage# will override the automatically calculated value of that respective rank.
 * offense[1-6]: offense# will override the automatically calculated value of that respective rank.
 * dot[1-6]: dot# will override the automatically calculated value of that respective rank.