- 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"
Jump to navigation
Jump to search
(Created page with "return { load = function (name) return mw.loadData('Data/' .. name) end }") |
|||
Line 1: | Line 1: | ||
+ | local _ = require('Module:Core') | ||
+ | |||
return { | return { | ||
− | load = function ( | + | load = function (...) |
− | return mw.loadData('Data | + | return mw.loadData(_.join('Data', unpack(arg))) |
end | end | ||
} | } |
Revision as of 08:53, 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
}