Module:DetectWeaponType/doc
< Module:DetectWeaponType
Jump to navigation
Jump to search
Revision as of 16:15, 25 December 2021 by Wither (talk | contribs) (Created page with "This module is used by Template:Infobox_Weapon, this will return the weapon type if one of values if filled. == Usage == {| class="wikitable" ! Parameter !! Result |- |...")
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.) |