Template:Infobox-Weapon
Jump to navigation
Jump to search
Documentation
[purge]
This is a basic infobox for weapons.
Usage
{{Infobox weapon | name = | image = | description = | type = | fireModes = | ammoType = | creator = | barrel = | magType = | optics = | stock = | hopup = | hopup2 = | damageBody = | damageHead = | damageLegs = | rateOfFire = | damageDps = | magazineSize = | reload = | tacReload = | fullReload = }}
Parameters
Parameter | Data type | Default value | Notes |
---|---|---|---|
name | String | {{PAGENAME}} | The weapon's full name. |
image | String | {{PAGENAME}} | The image to be used, dropping the File: prefix but keeping the extension. If the file link was [[File:Mozambique Shotgun.jpg]] , you'd use Mozambique Shotgun.jpg .
|
creator | String | The weapon's manufacturer and/or designer. | |
description | String | The weapon's summary as seen in-game. | |
type | String | The weapon's type. | |
fireModes | String | The weapon's fire mode/s. | |
ammoType | String | The weapon's ammo type. Inputting the correct name of the ammo type will automatically provide an icon and color the template. | |
barrel | String | Which type of barrel attachment the weapon accepts? Accepted Values: stabilizer laser | |
magType | String | The type of extended mag the weapon accepts if any. Accepted Values: energy heavy light car (for the C.A.R. SMG) sniper bolt (for Shotgun Bolts) | |
optics | Boolean | false | Does the weapon accept foreign optics? |
stock | String | The stock type the weapon accepts. Accepted Values:standard sniper | |
hopup | String | The Hop-Up/s the weapon accepts, if any. Accepted Values: anvil boosted_loader tempo disruptor double_tap dual_shell hammerpoint kinetic_feeder choke quickdraw selectfire shatter_caps skullpiercer turbo multiple (generic Hop-Up icon, used when multiple Hop-Ups fit a single slot) | |
hopup2 | String | If the weapon accepts a second Hop-Up along with a first one, like in the case of the Bocek Compound Bow. If a weapon can equip multiple Hop-Ups but not at the same time, use hopup = multiple instead.
| |
damageBody | String | The weapon's base damage. | |
damageHead | String | The weapon's headshot damage. | |
damageLegs | String | The weapon's legshot damage. | |
rateOfFire | String | The weapon's rate of fire in rounds per minute (RPM). If the weapon has more than one fire mode and their rate of fire is different in each mode, add fire mode icon to the right of the value. | |
dps | String | The weapon's body damage per second. This is calculated automatically from rateOfFire and damageBody, but this parameter is used as a manual fallback if that can't be done (such as when inputting multiple body damage or RPM instances, or adding non-numerical values). | |
magazineSize | String | The weapon's magazine size. For weapons that accept Extended Mags, use Template:Level0123 for formatting. | |
reload | String | The weapon's reload animation time in seconds. This is used for weapons that do not have "tac" or "full" reload times such as the P2020. | |
tacReload | String | The weapon's reload animation time in seconds when reloading with rounds still left in the magazine. | |
fullReload | String | The weapon's reload animation time in seconds when reloading with no rounds left in the magazine. |
Example
Hemlok Burst AR |
---|
3-round burst assault rifle. | |||||||||||
Profile | |||||||||||
Icon | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Type | Assault rifle | ||||||||||
Ammo | Heavy Rounds | ||||||||||
Fire modes | Burst (3) Single | ||||||||||
Manufacturer | Wonyeon | ||||||||||
Attachment Slots | |||||||||||
| |||||||||||
Technical | |||||||||||
RPM | 414 384 | ||||||||||
DPS | 138 128 | ||||||||||
Magazine | 18 / 24 / 27 / 30 24 / 30 / 33 / 36 | ||||||||||
Tac reload time | 2.4 / 2.32 / 2.24 / 2.16 1.75 / 1.69 / 1.63 / 1.58 | ||||||||||
Full reload time | 2.85 / 2.76 / 2.66 / 2.57 |
{{Infobox-Weapon | name = Hemlok Burst AR | description = 3-round burst assault rifle. | type = Assault rifle | fireModes = [[File:Burst Icon.svg|20px]] Burst (3)<br>[[File:Single-fire Icon.svg|20px]] Single | ammoType = Heavy Rounds | creator = [[File:Wonyeon.svg|20px]] [[Wonyeon]] | barrel = stabilizer | magType = heavy | optics = true | stock = standard | hopup = boosted_loader | damageBody = 20<br>per bullet | damageHead = 35 <small>(1.75×)</small><br>per bullet | damageLegs = 15 <small>(0.75×)</small><br>per bullet | rateOfFire = [[File:Burst Icon.svg|20px|Burst]] {{Texttip|414|930 per burst}}<br/>[[File:Single-fire Icon.svg|20px|Single]] 384 | dps = [[File:Burst Icon.svg|20px|Burst]] 138<br/>[[File:Single-fire Icon.svg|20px|Single]] 128 | magazineSize = {{Level0123|18|24|27|30}}<br>[[File:Boosted Loader.svg|20px]] {{Level0123|24|30|33|36}} | tacReload = {{Level0123|2.4|2.32|2.24|2.16}}<br>[[File:Boosted Loader.svg|20px]] {{Level0123|1.75|1.69|1.63|1.58}} | fullReload = {{Level0123|2.85|2.76|2.66|2.57}} }}