Changes
on second thoughts, I like this way of passing params to category handler better
function box:setTitle(args)
-- Get the title object and the namespace.
end
-- Convert category tables to strings and pass them through [[Module:Category handler]].
self.categories = categoryHandler{
main = tconcat(self.mainCats or {}),
all = tconcat(self.allCats or {}),
nocat = args.nocat,
demospace = chdemospaceself.demospace, page = chpageself.pageTitle and pageTitle.prefixedText or nil
}
end