Template:Weapon upgrade table
This template generates an upgrade table for weapons and weapon mods, using the consistent scaling and material costs shared across standard/special weapons.
Usage[edit source]
Numbered arguments can be used any number of times, as long as the argument follows the correct naming scheme followed by a number. ex.
{{Weapon upgrade table |base_damage = 10 |base_damage2 = 20 |base_damage3 = 30 |base_damage4 = 40 ...continued }}
Each base damage value requires a heading. Prefixes, suffixes, and damage_types may be used to further clarify numbers.
{{Weapon upgrade table |base_damage = 10 |base_damage2 = 40 |damage_type2 = bleed |heading = Weapon |heading2 = {{type|bleed|BLEED}} |prefix2 = + |suffix2 = /3s }}
Example[edit source]
Template data[edit source]
This template generates an upgrade table for weapons and weapon mods, using the consistent scaling and material costs shared across standard/special weapons.
Parameter | Description | Type | Status | |
---|---|---|---|---|
base_damage | base_damage | Numeric list of base damage values
| Number | required |
base_damage2 | base_damage2 | .. | Number | optional |
base_damage3 | base_damage3 | .. | Number | optional |
damage_type | damage_type | Numeric list of resistance types affected
| String | optional |
damage_type2 | damage_type2 | .. | String | optional |
damage_type3 | damage_type3 | .. | String | optional |
heading | heading | Numeric list of table headings under "Damage" describing the damage source.
| String | optional |
heading2 | heading2 | .. | String | optional |
heading3 | heading3 | .. | String | optional |
prefix | prefix | Numeric list of prefixes for damage values
| String | optional |
prefix2 | prefix2 | .. | String | optional |
prefix3 | prefix3 | .. | String | optional |
suffix | suffix | Numeric list of suffixes for damage values
| String | optional |
suffix2 | suffix2 | .. | String | optional |
suffix3 | suffix3 | .. | String | optional |