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 = yesno(args[1], false) return tostring(foo) end

function p.foo(mode, key, alt, showName, noErr, noImagePadding, noLink) return tostring(mode, key, alt, showName, noErr, noImagePadding, noLink) end p.bar = bind(p.foo, 'mob') function p.baz return p.bar('villager', 'v', 'yes', nil, 'no', 'yes') end

return p