Template:Gun

From HBM's Nuclear Tech Wiki

Infobox for displaying information about a gun in the mod.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Title bar of the infobox, most likely the same as the page's name

Suggested values
{{PAGENAME}}
Default
{{PAGENAME}}
Example
{{PAGENAME}}
Stringrequired
Captioncaption

Caption for the image, optional.

Stringoptional
Imageimage

An image of the gun to add, such as a rendered model of it.

Example
lil_pip_render.png
Filerequired
Image sizeimage_size

Custom size of the image.

Default
256x256
Example
256x256
Stringoptional
Alt textalt

Image alt text.

Stringoptional
Full namename

The full name of the gun, if applicable.

Default
{{PAGENAME}}
Example
Franchi SPAS-12
Auto value
{{PAGENAME}}
Stringsuggested
Manufacturermanufacturer

The gun's manufacturer.

Suggested values
Unknown N/A
Default
Unknown
Example
Benelli Armi SpA
Stringsuggested
Calibercaliber

Caliber that this gun is chambered in.

Suggested values
.22 LR 9mm Parabellum .45 ACP .357 Magnum .44 Magnum 4 gauge 20 gauge 12 gauge 5mm 5.56x45mm NATO 7.62x51mm NATO .50 BMG 20x155mm Lunatic N/A
Example
.357 Magnum
Stringsuggested
Capacitycapacity

Capacity of the magazine, if applicable

Example
15
Numbersuggested
Durabilitydurability

The durability of the gun.

Example
1000
Numbersuggested
Estimated lifespanlifespan

The estimated lifespan of the gun if fired without maintenance and enchantments, using the default ammo.

Example
100
Numbersuggested
Mechanism typetype

The type of firing mechanism the gun uses or the closest approximation.

Suggested values
Single shot Semi-automatic Full automatic Bolt action Lever action Energy weapon Other
Example
Semi-automatic
Stringsuggested
Damage rangedamage

Damage range of the default ammunition type

Example
10 - 15
Stringsuggested
Sight typesights

The kind of sights the gun has, if any.

Suggested values
None Iron sights Scope
Default
None
Example
None
Auto value
None
Stringsuggested
General Information
Tactical Information


Lua error in Module:Documentation at line 144: message: type error in message cfg.container (string expected, got nil).