Module:DetectWeaponType/doc

From Sunrust Wiki
Jump to navigation Jump to search

This is the documentation page for Module:DetectWeaponType

This module is used by Template:Infobox_Weapon, this will return the weapon type if one of values if filled.

Usage

Parameter Result
reload
minspread
maxspread
gun
impactdelay
range
knockback
melee
any gun value + healing medgun
any melee value + healing medmelee
healing (without healing values) medtool
repair repairtool
else (If any of values above fails) unknown
forcereturn (the value of forcereturn is returned always.)