Difference between revisions of "Template:Infobox Equipment"
Jump to navigation
Jump to search
m |
m (added tooltip) |
||
| Line 212: | Line 212: | ||
<th colspan="15">Aug. Cost</th> | <th colspan="15">Aug. Cost</th> | ||
<td style="text-align: left; vertical-align: middle;" colspan="15">{{{aug-cost}}}</td> | <td style="text-align: left; vertical-align: middle;" colspan="15">{{{aug-cost}}}</td> | ||
| + | </tr> | ||
| + | </table> | ||
| + | </div> | ||
| + | |}} | ||
| + | {{#if: {{{tooltip|}}}| | ||
| + | <div class="infobox-title">Tooltip</div> | ||
| + | <div class="infobox-stats"> | ||
| + | <table style="padding: 0.7em; margin: auto;"> | ||
| + | <tr> | ||
| + | <td style="text-align: center;font-size:110%; font-style:italic;">{{{tooltip}}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 265: | Line 275: | ||
|aug-miscname4 = Name of fourth misc stat. Only shown if miscname3 is filled | |aug-miscname4 = Name of fourth misc stat. Only shown if miscname3 is filled | ||
|aug-miscstat4 = Requires miscname3 and miscname4 | |aug-miscstat4 = Requires miscname3 and miscname4 | ||
| − | |aug-cost = | + | |aug-cost = Augment material cost |
| + | |tooltip = In-game tooltip text if needed | ||
}}</pre> | }}</pre> | ||
| Line 318: | Line 329: | ||
|aug-miscstat4 = | |aug-miscstat4 = | ||
|aug-cost = | |aug-cost = | ||
| + | |tooltip = | ||
}} | }} | ||
</pre> | </pre> | ||
Revision as of 12:16, 3 February 2022
Infobox Equipment
Infobox Equipment
Usage
{{Infobox Equipment
|title = Automatic pagename, only use this if custom name is needed
|image = Automatic pagename, only use this if icon is not added to [[Template:img]]
|gold = vendor sell price
|level-req = level required to use item
|source = Source of item
|slot = Helmet/Shield etc
|atk-speed = Attack speed
|atk-type = only needed for weapons or if armor gives attack bonus
|aug-slots = Amount of enchantment slots
|enchantments = Default enchantments or set bonuses
|acc = Only shown if either acc or melee-str has a input - accuracy bonus
|melee-str = Only shown if either acc or any xxx-str has a input - melee strength bonus
|magic-str = Only shown if either acc or any xxx-str has a input - magic strength bonus
|range-str = Only shown if either acc or any xxx-str has a input - range strength bonus
|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
|miscname1 = Name of first misc stat
|miscstat1 = Requires miscname1
|miscname2 = Name of second misc stat. Only shown of miscname1 is filled
|miscstat2 = Requires miscname1 and miscname2
|miscname3 = Name of third misc stat
|miscstat3 = Requires miscname3
|miscname4 = Name of fourth misc stat. Only shown of miscname3 is filled
|miscstat4 = Requires miscname3 and miscname4
|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 any aug-xxx-str has a input - melee strength aug bonus
|aug-magic-str = Only shown if either aug-acc or any aug-xxx-str has a input - magic strength aug bonus
|aug-range-str = Only shown if either aug-acc or any aug-xxx-str has a input - range strength aug bonus
|aug-miscname1 = Name of first misc stat
|aug-miscstat1 = Requires miscname1
|aug-miscname2 = Name of second misc stat. Only shown if miscname1 is filled
|aug-miscstat2 = Requires miscname1 and miscname2
|aug-miscname3 = Name of third misc stat.
|aug-miscstat3 = Requires miscname3
|aug-miscname4 = Name of fourth misc stat. Only shown if miscname3 is filled
|aug-miscstat4 = Requires miscname3 and miscname4
|aug-cost = Augment material cost
|tooltip = In-game tooltip text if needed
}}
Copy pasta code:
{{Infobox Equipment
|title =
|image =
|gold =
|level-req =
|source =
|slot =
|atk-speed =
|atk-type =
|aug-slots =
|enchantments =
|acc =
|melee-str =
|magic-str =
|range-str =
|def-stats =
|def-stab =
|def-slash =
|def-crush =
|def-magic =
|def-range =
|miscname1 =
|miscstat1 =
|miscname2 =
|miscstat2 =
|miscname3 =
|miscstat3 =
|miscname4 =
|miscstat4 =
|aug-stab =
|aug-slash =
|aug-crush =
|aug-magic =
|aug-range =
|aug-acc =
|aug-melee-str =
|aug-magic-str =
|aug-range-str =
|aug-miscname1 =
|aug-miscstat1 =
|aug-miscname2 =
|aug-miscstat2 =
|aug-miscname3 =
|aug-miscstat3 =
|aug-miscname4 =
|aug-miscstat4 =
|aug-cost =
|tooltip =
}}