Template:WeaponAttachments/TR/doc

This template is to be used on any weapons exclusive to the Terran Republic.

With exception to cosmetic weapon variants, such as the SOAS-20 AE, this template has parameters for all attachments available to Terran weaponry as of the July 8, 2021 Hotfix.

Template Usage
Preferably, call each parameter in category order, then either in zoom order (optics) or alphabetical order (others), although doing otherwise will not affect the presentation of the template. For most parameters, any answer can be given, although "yes" should be used for simplicity.

Variant
If the weapon in question is a "Doku" weapon, such as the MG-S1 Jackal, open the template with the following; |Variant = Doku This will change the icon and descriptions for all relevant attachments, such as optics, suppressors, and forward grips, to their appropriate appearances, as well as their costs.

Optic
The following parameters can be used to display a large variety of optics available to Terran weaponry. |HS/NV Scope = The 3.4x Scope and 4x Scope parameters will display both variants of their respective attachments if there is no variant parameter.
 * Reflex Sight =
 * Reflex Sight (2x) =
 * 3.4x Scope =
 * 4x Scope =
 * 6x Scope =
 * 7x Scope =
 * 8x Scope =
 * 10x Scope =
 * 12x Scope =

For "Doku" variant weapons, the following parameter replaces "HS/NV Scope" for its appropriate IRNV optic. |IRNV Optic = The displayed costs of all optics can be manually changed using the following parameter, with the appropriate ordering for Certification Point and Daybreak Cash costs respectively. |Optics Cost = certcost/dbccost Additionally, "Reflex Sight" and "Reflex Sight (2x)" accept "Sidearm" as a string, which alters their cost to the appropriately increased cost for sidearm-type weaponry.

"Reflex Sight", "4x Scope", "6x Scope", "7x Scope", and "8x Scope" all accept "Default" as a string which, dependent on the precise attachment, either shows that the attachment is granted automatically ("Reflex Sight", which will also reduce the cost of "Reflex Sight (2x) automatically), that it is built into the weapon ("4x Scope" and "6x Scope"), or that it has a reduced purchase cost ("7x Scope" and "8x Scope").

If there are no attachments in the Optic slot of a weapon, use the following parameter; |Optics = No

Barrel
The following parameters can be used to display any barrel attachment available to Terran weaponry. |Compensator = "Suppressor" accepts "Submachine Gun" as a string, which will change its appearance from the straight "tube" appearance to the alternate one found on submachine guns. "TRAP-M1" is used for the respective weapon only.
 * Flash Suppressor =
 * Suppressor =
 * Unique Barrel =

"Unique Barrel" accepts "Arbalest" and "Bishop", and will display their respective unique attachments (Stabilizing Rotor/Single-Fire Barrel respectively.)

If there are no attachments in the Barrel slot of a weapon, use the following parameter; |Barrel = No

Rail
The following parameters can be used to display any rail attachment available to Terran weaponry. |Ballistics Computer = "Extended Magazine" requires the use of titleparts to function properly. For the first titlepart, it accepts any value (such as "2 rounds"), or accepts "Double". The second titlepart is the equip time penalty, as a percentage. Some examples of completed parameters are as follows.
 * Darklight Flashlight =
 * Extended Magazine =
 * Forward Grip =
 * Grenade Launcher =
 * Laser Sight =
 * Smoke Launcher =
 * Straight-Pull Bolt =
 * Underbarrel Shotgun =
 * Unique Rail =

For the FA1 Barrage, a third titlepart is accepted, "Default", to display the attachment's cost as auto-granted. Both "Forward Grip" and "Laser Sight" accept "Advanced" as a string, which will cause them to display the Advanced versions of themselves. Both also accept "Default", displaying the cost of standard version of the attachment as "Auto-Granted".
 * Extended Magazine = Double/20%
 * Extended Magazine = 5 rounds/15%

To display the alternate appearance for "Forward Grip", such as that which is used on sniper rifles and light machine guns, add the following parameter by itself anywhere in the template. |Appearance = Angled

"Unique Rail" accepts "Arbalest," "Jackal," and "Mini-Chaingun", and will display their respective unique attachments (Incendiary Launcher/BX Adapter/Ballistic Rapid Refire Toggle respectively.)

If there are no attachments in the Rail slot of a weapon, use the following parameter; |Rail = No

Ammo
The following parameters can be used to display any ammo types available to Terran weaponry. |High Velocity Ammunition =
 * Soft Point Ammunition =
 * Slug Ammunition =
 * Unique Ammo =

"Unique Barrel" accepts "Arbalest," "Dragoon," and "Watchman," and will display their respective unique attachments (Impact Ammunition/Explosive Ammunition/Impact Ammunition respectively.)

If there are no attachments in the Ammo slot of a weapon, use the following parameter; |Ammo = No