Template:IconBox/doc: Difference between revisionsGive feedback
m update doc |
m reorder a bit |
||
| Line 48: | Line 48: | ||
} | } | ||
</templatedata> | </templatedata> | ||
== Examples == | == Examples == | ||
| Line 76: | Line 67: | ||
| text = This ability benefits from Melee damage bonuses. | | text = This ability benefits from Melee damage bonuses. | ||
}} | }} | ||
== Data attributes == | |||
The box carries several data attributes: | |||
* {{code|data-iconbox-icon}}, | |||
* {{code|data-iconbox-title}}, | |||
* {{code|data-iconbox-state}} on its wrapper element. | |||
These are used by [[Module:AbilitySection]] to apply correct styling to its own elements. | |||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||