Difference between revisions of "Template:Attribute increase"
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
| spell speed = Spell Speed {{#set:Has spell speed bonus={{{2}}}}} | | spell speed = Spell Speed {{#set:Has spell speed bonus={{{2}}}}} | ||
| tenacity = Tenacity {{#set:Has tenacity bonus={{{2}}}}} | | tenacity = Tenacity {{#set:Has tenacity bonus={{{2}}}}} | ||
| piety = Piety {{#set:Has piety bonus={{{2}}}}} | | piety = Piety {{#set:Has piety bonus={{{2}}}{{#set:Has hq piety bonus={{{3}}}}} | ||
| elemental bonus = Elemental Bonus | | elemental bonus = Elemental Bonus | ||
| #default = {{ucfirst:{{{1|Stat}}}}}}}}}]]{{#if:{{{3|}}}| {{HQ|14}}<sup style="font-size: 0.7em; font-weight: bold;">{{{3}}}</sup>}}</div><!-- | | #default = {{ucfirst:{{{1|Stat}}}}}}}}}]]{{#if:{{{3|}}}| {{HQ|14}}<sup style="font-size: 0.7em; font-weight: bold;">{{{3}}}</sup>}}</div><!-- |
Revision as of 00:29, 4 January 2023
Description
{{attribute increase|<attribute type>|<regular amount>|<HQ amount>}}
Parameters
- unnamed param 1
- Attribute name.
- unnamed param 2
- Regular amount.
- unnamed param 3
- Amount when item's HQ.
Examples
{{attribute increase|strength|37}}
+37 [[{{#vardefineecho:attr-name|Strength]]
{{attribute increase|fire resistance|5|10}}