Template:UpgradeTable: Difference between revisions

Support usedItem parameter
(New generic template for upgrades & associated stat changes)
 
(Support usedItem parameter)
 
Line 1: Line 1:
<noinclude>This template is Lua-powered by getItemUpgradeTable in [[Module:Items/ComparisonTables]]. Example:
<noinclude>This template is Lua-powered by getItemUpgradeTable in [[Module:Items/ComparisonTables]]. Example:
{{UpgradeTable|Platebody}}
{{UpgradeTable|Platebody}}
</noinclude><includeonly>{{#invoke:Items/ComparisonTables|getItemUpgradeTable|{{{1|}}}}}</includeonly>
</noinclude><includeonly>{{#invoke:Items/ComparisonTables|getItemUpgradeTable|{{{1|}}}|usedItem={{{usedItem|}}}}}</includeonly>