Template:Attack9Box/doc

Description
This template is used to show the attack stats for player side units for up to 9 levels.

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, Piercing, Crushing, Explosive, Fire
 * mindmg: Minimum damage value of attack
 * maxdmg: Maximum damage value of attack
 * power: power stat that affects damage per rank, defaults to 5.
 * power[1-6]: power stat for that specific rank if it deviates from the consistent 5-per-rank. Taken straight from game files.
 * damage[1-6]: damage# will override the automatically calculated value of that respective rank with whatever text is provided.
 * numattacks: Number of "shots" per attack, the number following the x multiplier.
 * baseoffense: Rank 1 offense
 * accuracy: accuracy stat that is added to baseoffense per rank, defaults to 5.
 * accuracy[1-6]: accuracy stat added to baseoffense for that specific rank if it deviates from the consistent 5-per-rank. Taken straight from game files.
 * offense[1-6]: offense# will override the automatically calculated value based on the baseoffence number with whatever text is provided.
 * 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.
 * globalcooldown: Cooldown for other attacks from the same weapon.
 * preptime: Prep/Charge time before attack can be used.
 * crit: Base Crit when displayed, as well as bonuses against unit categories.
 * Example: 20% vs. Soldiers
 * armorpiercing: Armor Piercing Percentage, without the "%". The template will add it.
 * effects:, ,
 * cost: Research costs.
 * Example: , July 27, 2024 
 * 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.
 * dot[1-6]: dot# will override the automatically calculated value of that respective rank.
 * notes: Additional notes.
 * targets: Categories that is used to populate the TargetBox template
 * targetbox-rows: The number of rows the TargetBox graphic will use, defaults to 7. Adjust so that the Attack9Box looks correct.
 * targetbox-cols: Number of columns occupied by the TargetBox (default 4). Adjust this if things get jammed up against the left edge.
 * game file name: The official attack "tag" found in the game files, used for easier reference.