Changes

Jump to: navigation, search

Module:Message box

27 bytes removed, 09:03, 2 October 2017
change span to div to reduce lint errors
-- Add attributes, classes and styles.
self.id = args.id
self:addClass( cfg.usePlainlinksParam and if yesno(args.plainlinks or true) and ~= false then self:addClass('plainlinks') )end
for _, class in ipairs(cfg.classes or {}) do
self:addClass(class)
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local textCellSpan textCellDiv = textCell:tag('spandiv') textCellSpantextCellDiv
:addClass('mbox-text-span')
:wikitext(self.issue or nil)
if (self.talk or self.fix) and not self.isSmall then
textCellSpantextCellDiv:tag('span')
:addClass('hide-when-compact')
:wikitext(self.talk and (' ' .. self.talk) or nil)
:wikitext(self.fix and (' ' .. self.fix) or nil)
end
textCellSpantextCellDiv:wikitext(self.date and (' ' .. self.date) or nil)
if self.info and not self.isSmall then
textCellSpantextCellDiv
:tag('span')
:addClass('hide-when-compact')
end
if self.removalNotice then
textCellSpantextCellDiv:tag('small')
:addClass('hide-when-compact')
:tag('i')
Anonymous user

Navigation menu