Module:Message box:修订间差异

删除的内容 添加的内容
以 mworg 为基底,合并 enwiki attrs/imageClass/imageNeedsLink/mbox-with-below,中文本地化日期/干支/分类
修复 hidden 参数丢失 + 统一简繁
 
第228行:
if self.isSmall then
self:addClass(cfg.smallClass or 'mbox-small')
end
if yesno(args.hidden) then
self:addClass('infobox')
self:addClass('editsection')
end
self:addClass(self.typeClass)
第438行 ⟶ 第442行:
catTitle = getTitleObject('Category:' .. catTitle)
if not catTitle or not catTitle.exists then
self:addCat(0, '模板中使用效日期参数參數目')
end
elseif mainCat and (not date or date == '') then