Difference between revisions of "Template:Infobox Equipment"
Jump to navigation
Jump to search
m (Change on aug-cost formatting) |
m (added atk-stats to hide attack stats if neccessary) |
||
Line 40: | Line 40: | ||
|}} | |}} | ||
</table> | </table> | ||
− | {{#if: {{{atk- | + | {{#if: {{{atk-stats|}}}| |
<div class="infobox-title">Offensive Stats</div> | <div class="infobox-title">Offensive Stats</div> | ||
<div class="infobox-stats"> | <div class="infobox-stats"> | ||
Line 154: | Line 154: | ||
|aug-slots = Amount of aug slots | |aug-slots = Amount of aug slots | ||
|atk-type = only needed for weapons or if armor gives attack bonus | |atk-type = only needed for weapons or if armor gives attack bonus | ||
− | |atk-stab = Requires atk- | + | |atk-stats = only needed for weapons or if armor gives defensive bonus, this field is never shown |
− | |atk-slash = Requires atk- | + | |atk-stab = Requires atk-stats - stab stats |
− | |atk-crush = Requires atk- | + | |atk-slash = Requires atk-stats - slash stats |
− | |atk-magic = Requires atk- | + | |atk-crush = Requires atk-stats - crush stats |
− | |atk-range = Requires atk- | + | |atk-magic = Requires atk-stats - magic stats |
+ | |atk-range = Requires atk-stats - range stats | ||
|def-stats = only needed for weapons or if armor gives defensive bonus, this field is never shown | |def-stats = only needed for weapons or if armor gives defensive bonus, this field is never shown | ||
|def-stab = Requires def-stats - stab stats | |def-stab = Requires def-stats - stab stats | ||
Line 189: | Line 190: | ||
|aug-slots = | |aug-slots = | ||
|atk-type = | |atk-type = | ||
+ | |atk-stats = | ||
|atk-stab = | |atk-stab = | ||
|atk-slash = | |atk-slash = |
Revision as of 14:13, 13 January 2021
Infobox Equipment
Usage
{{Infobox Equipment |title = Automatic pagename, only use this if custom name is needed |image = URL |gold = vendor sell price |level-req = level required to use item |source = Source of item |slot = Helmet/Shield etc |aug-slots = Amount of aug slots |atk-type = only needed for weapons or if armor gives attack bonus |atk-stats = only needed for weapons or if armor gives defensive bonus, this field is never shown |atk-stab = Requires atk-stats - stab stats |atk-slash = Requires atk-stats - slash stats |atk-crush = Requires atk-stats - crush stats |atk-magic = Requires atk-stats - magic stats |atk-range = Requires atk-stats - range stats |def-stats = only needed for weapons or if armor gives defensive bonus, this field is never shown |def-stab = Requires def-stats - stab stats |def-slash = Requires def-stats - slash stats |def-crush = Requires def-stats - crush stats |def-magic = Requires def-stats - magic stats |def-range = Requires def-stats - range stats |acc = Only shown if either acc or melee-str has a input - accuracy bonus |melee-str = Only shown if either acc or melee-str has a input - melee strength bonus |aug-stab = stab aug bonus |aug-slash = slash aug bonus |aug-crush = crush aug bonus |aug-magic = magic aug bonus |aug-range = range aug bonus |aug-acc = Only shown if either aug-acc or aug-melee-str has a input - accuracy aug bonus |aug-melee-str = Only shown if either aug-acc or aug-melee-str has a input - melee strength aug bonus |aug-cost = augument material cost }}
Copy pasta code:
{{Infobox Equipment |title = |image = |gold = |level-req = |source = |slot = |aug-slots = |atk-type = |atk-stats = |atk-stab = |atk-slash = |atk-crush = |atk-magic = |atk-range = |def-stats = |def-stab = |def-slash = |def-crush = |def-magic = |def-range = |acc = |melee-str = |aug-stab = |aug-slash = |aug-crush = |aug-magic = |aug-range = |aug-acc = |aug-melee-str = |aug-cost = }}