模块:Message box:修订间差异

imported>Xiplus
移除多餘br
imported>Shizhao
无编辑摘要
第203行: 第203行:
if cfg.allowId then
if cfg.allowId then
self.id = args.id
self.id = args.id
self.name = args.name
if self.name then
self:addClass('box-' .. string.gsub(self.name,' ','_'))
end
end
end
self:addClass(cfg.usePlainlinksParam and yesno(args.plainlinks or true) and 'plainlinks')
self:addClass(cfg.usePlainlinksParam and yesno(args.plainlinks or true) and 'plainlinks')
第297行: 第301行:
end
end
if date then
if date then
self.date = format("<small>%s)</small>", date)
self.date = string.format(" <small class='date-container'>''(<span class='date'>%s</span>)''</small>", date)
end
end
if args.fix and args.fix ~= '' then
if args.fix and args.fix ~= '' then