Module:Stats

local p = {}

function p.getStat( frame ) local statlist = mw.loadData( 'Module:Stats/' .. tostring( frame.args[1] ) ) if statlist[ tostring( frame.args[2] ) ] == nil then return '-' else return statlist[ 'foo' ] end end

return p