• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Module:Data"

From Kancolle Wiki
Jump to navigation Jump to search
m (7 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
return {
 
return {
 
   load = function (...)
 
   load = function (...)
     return require(_.join({ 'Module:Data', unpack(arg) }, '/'))
+
     return mw.loadData(_.join({ 'Module:Data', unpack(arg) }, '/'))
 
   end
 
   end
 
}
 
}

Latest revision as of 12:48, 12 May 2021

Documentation for this module may be created at Module:Data/doc

local _ = require('Module:Core')

return {
  load = function (...)
    return mw.loadData(_.join({ 'Module:Data', unpack(arg) }, '/'))
  end
}