Difference between revisions of "Template:Infobox Equipment"
Jump to navigation
Jump to search
m (same as before) |
m (Change on aug-cost formatting) |
||
Line 134: | Line 134: | ||
{{#if: {{{aug-cost|}}}| | {{#if: {{{aug-cost|}}}| | ||
<div class="infobox-stats"> | <div class="infobox-stats"> | ||
− | <table style="padding: 1em;"> | + | <table style="padding: 1em; margin:auto;"> |
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="15">Aug. Cost</th> |
− | <td style="text-align: left; vertical-align: middle;" colspan=" | + | <td style="text-align: left; vertical-align: middle;" colspan="15">{{{aug-cost}}}</td> |
</tr> | </tr> | ||
</table> | </table> |
Revision as of 14:05, 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-stab = Requires atk-type - stab stats |atk-slash = Requires atk-type - slash stats |atk-crush = Requires atk-type - crush stats |atk-magic = Requires atk-type - magic stats |atk-range = Requires atk-type - 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-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 = }}