20,184
edits
Changes
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}}| ⇒| {{Attribute|BOOST_ABILITY_SURGECUT|+5}}|}:{| class="wikitable"| Code| {{=}}| Output|-| {{tlc|Attribute|MAX_ARMOR|+15}}
| ⇒
| {{Attribute|BOOST_ABILITY_SURGECUTMAX_ARMOR|+15}}
|}
== Notes ==