Module:CreateModuleGridData

From The First Descendant Wiki
Revision as of 12:06, 3 June 2024 by Communos (talk | contribs)

currently does not work correctly


local p = {}

function p.getModuleData(frame)
    local data = mw.loadData("Module:Modules/data")
    local module_name = frame:getParent():getParent():getTitle()
    -- data = data["Modules"][module_name][frame.args[1]]
    -- if not( data == nil ) then
        return module_name
    -- end
    -- return "error occured"
end
return p