Module:Items

-- Public interface for Module:Items/data -- Obtain item information given an item ID -- Usage:

local p = {} local items = require('Module:Items/data') local getArgs = require('Dev:Arguments').getArgs

local DEFAULT_DOMAIN = 'fandom'

function p.item(frame) local args = getArgs(frame, {removeBlanks = false}) return items[args[1]][args[2]] or '' end

return p