FANDOM


local p = {}
 
function p.get(frame)
    local desc = frame.args[1]
    local id = frame.args[2]
 
    local locale = {
        monstername = "MonsterName",
        dcname = "DCName",
        itemname = "ItemName",
        seriesname = "SeriesName",
    }
 
    local data = mw.loadData("Module:LocaleData/" .. locale[desc])
 
    return data[id]
end
 
return p
 
-- [[Category:Lua Modules]]
Community content is available under CC-BY-SA unless otherwise noted.