Module:Message box: Difference between revisions

Jump to navigation Jump to search
change span to div to reduce lint errors
(allow all templates to disable the plainlinks class)
(change span to div to reduce lint errors)
Line 495:
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local textCellSpantextCellDiv = textCell:tag('spandiv')
textCellDiv
textCellSpan
: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
textCellDiv
textCellSpan
:tag('span')
:addClass('hide-when-compact')
Line 513:
end
if self.removalNotice then
textCellSpantextCellDiv:tag('small')
:addClass('hide-when-compact')
:tag('i')
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu