Modul:Navseasoncats with centuries below decade

local p = {}

function p.cbd(frame)
	local args = frame:getParent().args
	--transfer unnamed param #1 to |cat=
	if args[1] and args[1] ~= '' and args['cat'] == nil then
		args['cat'] = args[1]
		args[1] = nil
	end
	return frame:expandTemplate{ title = 'Navseasoncats', args = args }
end

return p