Module:ID

local p = {}

function p.get(frame) local info = frame.args[1] local id = frame.args[2] local db = { -- for events eventid = "EventID", -- for gachas gachaid = "GachaID", }   local data = mw.loadData("Module:ID/"..db[info]) return data[id] end

return p