更改
无编辑摘要
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')
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