m (1 revision imported)
 
(No difference)

Latest revision as of 13:17, 2 March 2018

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

local mt = {}

function mt.__index(t, k)
	return function(frame)
		local data = mw.loadData(k)
		for _,v in ipairs(frame.args) do
			data = data[v]
		end
		return data
	end
end

return setmetatable({}, mt)
This page was last edited on 2 March 2018, at 13:17. Content is available under GPLv3 unless otherwise noted.