Module:Mbox

local p = {} local a = require( 'Module:Abb' )

function namespace local namespaceAccess = { [0] = 'true', [1] = 'false', [2]	= 'true', [3] = 'false', [4] = 'false', [5] = 'false' }	id = mw.title.getCurrentTitle.namespace id = namespaceAccess[id] if id == nil then return false else return id	end end

function p.header(frame) header = frame.args['header'] details = frame.args['details'] games = frame.args['games'] cat = frame.args['category'] mode = frame.args['mode'] prepend = frame.args['prepend'] sortkey = frame.args['sort key'] append = frame.args['append'] result = '' catResult = '' if header ~= nil and header ~= '' then result = header if games ~= nil and a.valid(games) > 0 then result = result .. ' ('			if details ~= nil and details ~= '' then				result = result .. details				else				result = result .. games			end			result = result .. ')' if namespace then catResult = a._category(games, cat, prepend, append, mode, sortKey) end end end return result .. catResult end

return p