currently does not work correctly
local p = {} function p.getModuleData(frame) local data = mw.loadData( "Module:Modules/data" ) local module_name = mw.title.getCurrentTitle() local parameter = frame.args[1] -- local value = data[module_name][parameter] -- return value return data end return p