Module:Message box: Difference between revisions

m
1 revision imported: importing from sister site
(allow all templates to disable the plainlinks class)
m (1 revision imported: importing from sister site)
 
(18 intermediate revisions by 7 users not shown)
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')