Difference between revisions of "Template:Infobox Equipment"
Jump to navigation
Jump to search
m (Decreased space in-between acc and melee-str fields) |
m (Decreased space in-between acc and melee-str fields try 2) |
||
Line 85: | Line 85: | ||
<div class="infobox-title">Misc. Stats</div> | <div class="infobox-title">Misc. Stats</div> | ||
<div class="infobox-stats"> | <div class="infobox-stats"> | ||
− | <table class="fullWidth-table"> | + | <table class="fullWidth-table" style="padding: 1em; margin:auto;"> |
<tr> | <tr> | ||
<td colspan="25" class="infobox-nested">Accuracy</td> | <td colspan="25" class="infobox-nested">Accuracy</td> | ||
Line 120: | Line 120: | ||
{{#if: {{{aug-acc|{{{aug-melee-str|}}}}}}| | {{#if: {{{aug-acc|{{{aug-melee-str|}}}}}}| | ||
<div class="infobox-stats"> | <div class="infobox-stats"> | ||
− | <table class="fullWidth-table"> | + | <table class="fullWidth-table" style="padding: 1em; margin:auto;"> |
<tr> | <tr> | ||
<td colspan="25" class="infobox-nested">Acc</td> | <td colspan="25" class="infobox-nested">Acc</td> |
Revision as of 14:17, 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 = }}