• 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
m
Line 3: Line 3:
 
return {
 
return {
 
   load = function (...)
 
   load = function (...)
     return mw.loadData(_.join({ 'Data', unpack(arg) }))
+
     return mw.loadData(_.join({ 'Data', unpack(arg) }, '/'))
 
   end
 
   end
 
}
 
}

Revision as of 09:04, 22 July 2018

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

local _ = require('Module:Core')

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