From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search

Documentation for this module may be created at Module:Syscat/Documentation

local p = {}
 
function p.syscat( frame )
	local sysName = frame:getParent().args[1] or ''
	return p._syscat(sysName)
end

function p._syscat( sysName )
	local sysData = mw.loadJsonData( 'Module:syscat/data.json' )

	sysName = tonumber(sysName) or string.lower( sysName )
	return sysData[sysName] or "Deprecated template usage"
end

return p