This documentation is transcluded from 模板: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
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Image | image | File name of the image of the item
| 文件 | 推荐 |
Name | name | Name of the item
| 字符串 | 必需 |
Type | type | Type of the item (Optics, Barrel, Underbarrel, Magazine)
| 字符串 | 必需 |
Classification | classification | Classification of the item (Reflex sight, Laser pointer, etc.)
| 字符串 | 推荐 |
Manufacturer | manufacturer | Manufacturer code of the item
| 字符串 | 推荐 |
size | size | 无描述 | 未知 | 可选 |
baseprice | baseprice | 无描述 | 未知 | 可选 |
occupancy | occupancy | 无描述 | 未知 | 可选 |
mass | mass | 无描述 | 未知 | 可选 |
productionstate | productionstate | 无描述 | 未知 | 可选 |
zoomlevel | zoomlevel | 无描述 | 未知 | 可选 |
zeroingrange | zeroingrange | 无描述 | 未知 | 可选 |
autozeroing | autozeroing | 无描述 | 未知 | 可选 |
damagemodifer | damagemodifer | 无描述 | 未知 | 可选 |
soundradius | soundradius | 无描述 | 未知 | 可选 |
recoilmodifier | recoilmodifier | 无描述 | 未知 | 可选 |
ammocount | ammocount | 无描述 | 未知 | 可选 |