Module:ItemsByStat: Difference between revisionsGive feedback
SerpentofSet (talk | contribs) mNo edit summary |
SerpentofSet (talk | contribs) mNo edit summary |
||
| Line 50: | Line 50: | ||
--{{#invoke:ItemsByStat|tablefy|stat|statName|suffix}} | --{{#invoke:ItemsByStat|tablefy|stat|statName|suffix}} | ||
--stat: Name of statistic to look for in ItemData.json. Must match the actual key, e.g. TechPower for Spirit Power | |||
--statName: Column header in final table. TechPower isn't the name for the stat in-game, so change it here | |||
--suffix: String to append to numeric value to indicate units. As of now only % and m/s are used in-game | |||
p.tablefy = function(frame) | p.tablefy = function(frame) | ||
local stat = frame.args[1] | local stat = frame.args[1] | ||