Module:Syscat

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