This documentation is transcluded from Template:Infobox weapon attachment/doc. Changes can be proposed in the talk page.
{{Infobox weapon attachment}} is an infobox template for use in articles on the individual weapon attachments.
Usage
{{Infobox weapon attachment
|image = <!-- File name of the image of the item -->
|name = <!-- Name of the item -->
|type = <!-- Please use one of these: Optics, Barrel, Underbarrel, Magazine -->
|classification = <!-- Classification of the item (Reflex sight, Laser pointer, Battery, etc.) -->
|manufacturer = <!-- Manufacturer code of the item -->
|size = <!-- Size of the item -->
|baseprice = <!-- Base price of the item (without separators and unit) -->
|occupancy = <!-- SCU occupied by the item (please include the unit) -->
|mass = <!-- Mass of the item in kg (without separators and unit) -->
|productionstate = <!-- Production state of the item, if implemented please include the patch name -->
<!-- Optics -->
|zoomlevel = <!-- Zoom level of the item (without the "x") -->
|zeroingrange = <!-- Max zeroing range of the item in meter (without separators and unit) -->
|autozeroing = <!-- Yes/No if there is auto zeroing -->
<!-- Barrel -->
|damagemodifer = <!-- Damage modifier in decimal -->
|soundradius = <!-- Sound radius in decimal -->
|recoilmodifier = <!-- Recoil modifier in decimal -->
<!-- Magazine -->
|ammocount = <!-- Number of ammo in the magazine -->
}}
TemplateData
An infobox template for use in articles on the individual weapon attachment pages
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | File name of the image of the item
| File | suggested |
| Name | name | Name of the item
| String | required |
| Type | type | Type of the item (Optics, Barrel, Underbarrel, Magazine)
| String | required |
| Classification | classification | Classification of the item (Reflex sight, Laser pointer, etc.)
| String | suggested |
| Manufacturer | manufacturer | Manufacturer code of the item
| String | suggested |
| size | size | no description | Unknown | optional |
| baseprice | baseprice | no description | Unknown | optional |
| occupancy | occupancy | no description | Unknown | optional |
| mass | mass | no description | Unknown | optional |
| productionstate | productionstate | no description | Unknown | optional |
| zoomlevel | zoomlevel | no description | Unknown | optional |
| zeroingrange | zeroingrange | no description | Unknown | optional |
| autozeroing | autozeroing | no description | Unknown | optional |
| damagemodifer | damagemodifer | no description | Unknown | optional |
| soundradius | soundradius | no description | Unknown | optional |
| recoilmodifier | recoilmodifier | no description | Unknown | optional |
| ammocount | ammocount | no description | Unknown | optional |