Module:Sandbox/User:Alsang/PriceChecker: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
mNo edit summary
Line 15: Line 15:
local results = mw.smw.ask(query)
local results = mw.smw.ask(query)
local out = {}
local out = {'List of items:'}
for _,item in ipairs(results) do
for _,item in ipairs(results) do
local i = tonumber(item.InfoboxValue)
local i = tonumber(item.InfoboxValue)