Template:Mod: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Created new template for invoking modifiers) |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly><span style="display:inline-block">{{#invoke:Constants|getModifierText|{{{1|}}}|{{{2|}}}|{{{3|}}}|skill={{{skill|}}}}}</span></includeonly></onlyinclude><noinclude>{{/doc}}</noinclude>> | |||
<onlyinclude><includeonly><span style="display:inline-block">{{#invoke:Constants|getModifierText|{{{1|}}}|{{{2|}}}|{{{3|}}}|skill={{{skill|}}}}}</span></includeonly></onlyinclude> |
Revision as of 13:43, 9 April 2024
For invoking modifier text. For example, {{Mod|increasedGlobalAccuracy|5}}
gives
ERROR: No modifier found with ID: increasedGlobalAccuracy
.
Color can be suppressed by adding `|false` to the end. For example, {{Mod|increasedGlobalAccuracy|5|false}}
gives
ERROR: No modifier found with ID: increasedGlobalAccuracy
.
For skill specific bonuses, skill can be specified. For example, {{Mod|increasedMasteryXP|5|skill=Fishing}}
gives
ERROR: No modifier found with ID: increasedMasteryXP
>