Module:ListOfPerks

local p = {} function p.main(frame) local result = mw.ext.cargo.query('Perks_F76','Name',{		where = string.format('Stat = "%s"',frame.args[1]),		limit = 999,		orderBy = 'Name',		groupBy = 'Name'	}) local text = {} for k, v in ipairs(result) do		text[k] = v.Name end return table.concat(text,',') end return p