跳到内容

模块:Message box:修订间差异

添加166字节 、​ 2019年2月21日 (星期四)
无编辑摘要
Cquote>Xiplus
(移除多餘br)
Cquote>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
匿名用户