Module:ItemsByStat: Difference between revisions

No edit summary
No edit summary
Line 23: Line 23:
local stat = frame.args[1]
local stat = frame.args[1]
local tabledata = selectByStat(stat)
local tabledata = selectByStat(stat)
return "Name: "..tabledata[1][1]
output = ""
for i,x in pairs(tabledata) do
output = output.."Name: "..x[1][1].."\n"
end
return output
end
end


return p
return p