Module:ItemStatTable

From Deadlock Wiki
Revision as of 06:54, 27 September 2024 by SerpentofSet (talk | contribs) (Created page with " local ItemsByStat = require('Module:ItemsByStat') local t = {} t.tablefy = function(frame) local stat = frame.args[1] local tabledata = ItemsByStat.select(stat) return "Name: "..tabledata[1][1].." Weapon Damage:"..tabledata[2][1] end return t")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:ItemStatTable/doc

local ItemsByStat = require('Module:ItemsByStat')

local t = {}

t.tablefy = function(frame)
	local stat = frame.args[1]
	local tabledata = ItemsByStat.select(stat)
	return "Name: "..tabledata[1][1].."	Weapon Damage:"..tabledata[2][1]
end

return t