Changes

Jump to: navigation, search

Template:Attribute/doc

307 bytes added, 13:49, 7 August 2019
Added documentation for modifiers from items json
== Syntax ==
:Type <nowiki>{{Attribute|name|bonus}}</nowiki> where you want the Attribute icon , label, and label modifier to display.
== Parameters ==
; name
: The name of the Attribute as listed in the Attributes json.
: bonus: The modifier found on the item.: <nowiki>"{MAX_ARMOR}{15}",</nowiki> (From Basic Boots in items json) = <nowiki>{{Attribute|MAX_ARMOR|+15}}</nowiki>
== Sample output ==
;Basic usage
| Output
|-
| {{tlc|Attribute|BOOST_ABILITY_SURGECUT|+5}}| &rArr;| {{Attribute|BOOST_ABILITY_SURGECUT|+5}}|}:{| class="wikitable"| Code| {{=}}| Output|-| {{tlc|Attribute|MAX_ARMOR|+15}}
| &rArr;
| {{Attribute|BOOST_ABILITY_SURGECUTMAX_ARMOR|+15}}
|}
== Notes ==

Navigation menu