Template:GunParts/doc

From 7 Days to Die Wiki
Jump to: navigation, search
Template-info.png Documentation


This template is used to create a standard table that will show the various attributes of a gun based on the parts that it is made of.

Parameters[edit source]

Parameter Legal Values Description Auto-links
dismemberment <Gun Part Item> The name of the stock part of the gun. This provides the dismemberment chance, it is expected that this part will supply the following fields: dismemberment_min, and dismemberment_max. Y
range <Gun Part Item> The name of the receiver part of the gun. This provides the range of the gun, it is expected that this part will supply the following fields: range_min, and range_max. Y
damage <Gun Part Item> The name of the barrel part of the gun. This provides the damage, it is expected that this part will supply the following fields: damage_min, damage_max, block_damage_min, and block_damage_max. Y
accuracy <Gun Part Item> The name of the parts part of the gun. This provides the accuracy, it is expected that this part will supply the following fields: accuracy_min, and accuracy_max. Low values are more accurate. Y

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.