Halo Esports Wiki

We are currently performing extensive maintenance to this wiki and as a result there will likely be errors. Please be patient while we work to fix all problems.

READ MORE

Halo Esports Wiki
Advertisement

To edit the documentation or categories for this module, click here.


local p = {}
function p.data( frame )
	local args = frame
	if frame == mw.getCurrentFrame() then
		args = require( 'Module:ProcessArgs' ).merge( true )
	else
		frame = mw.getCurrentFrame()
	end
	
	local output = mw.loadData( 'Module:' .. args["datasource"] )
	return output[mw.ustring.lower(args[1] or '')] or args["default"]
end

return p
Advertisement