Template:ModifierTable: Difference between revisions

From Melvor Idle
(Created page using the function I wrote)
 
(Transclude new documentation)
 
(3 intermediate revisions by the same user not shown)
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|}}}}}</onlyinclude></includeonly>

Latest revision as of 01:27, 25 October 2023

Template for generating a table containing all objects (items, upgrades, pets, agility obstacles, and so on) that can provide a given modifier.

This template accepts the following parameters:

For example, {{ModifierTable|GlobalSkillXP|XP Bonus}} becomes