Anonymous

Template:ModifierTable: Difference between revisions

From Melvor Idle
Transclude new documentation
(Add option forceMagnitudeSort)
(Transclude new documentation)
Line 1: Line 1:
Template for generating a table containing all items, upgrades, pets, and agility obstacles that can provide a given modifier.
<includeonly>{{#invoke:ModifierTables|getModifierTable|{{{1|}}}|{{{2|}}}|{{{3|}}}|skill={{{skill|}}}|displayOtherMods={{{displayOtherMods|}}}|maxOtherMods={{{maxOtherMods|5}}}|forceMagnitudeSort={{{forceMagnitudeSort|false}}}}}</includeonly><noinclude>
 
{{/doc}}
For example, {{T|ModifierTable|GlobalSkillXP|XP Bonus}} becomes
</noinclude>
{{ModifierTable|GlobalSkillXP|XP Bonus}}
 
<includeonly><onlyinclude>{{#invoke:ModifierTables|getModifierTable|{{{1|}}}|{{{2|}}}|{{{3|}}}|skill={{{skill|}}}|displayOtherMods={{{displayOtherMods|}}}|maxOtherMods={{{maxOtherMods|5}}}|forceMagnitudeSort={{{forceMagnitudeSort|false}}}}}</onlyinclude></includeonly>