Module:ItemInfo

-- local p = {} local getArgs = require('Module:Arguments').getArgs local loader = require('Module:Loader') local string, table, yesno, color = loader.require('String', 'Table', 'Yesno', 'Color')

function p.test(frame) local args = getArgs(frame) local foo = args[1] local bar = args[2] if bar:find("?") then return "yes" else return "no: " .. "\"" .. tostring(bar) .. "\"" end end

function p.foo return frame:preprocess('|') end

return p