Editing Module:Message box
From MINR.ORG WIKI
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 158: | Line 158: | ||
-- Add attributes, classes and styles. | -- Add attributes, classes and styles. | ||
self.id = args.id | self.id = args.id | ||
− | + | self:addClass( | |
− | + | cfg.usePlainlinksParam and yesno(args.plainlinks or true) and 'plainlinks' | |
− | + | ) | |
for _, class in ipairs(cfg.classes or {}) do | for _, class in ipairs(cfg.classes or {}) do | ||
self:addClass(class) | self:addClass(class) | ||
Line 513: | Line 513: | ||
end | end | ||
if self.removalNotice then | if self.removalNotice then | ||
− | textCellSpan:tag(' | + | textCellSpan:tag('div') |
:addClass('hide-when-compact') | :addClass('hide-when-compact') | ||
− | :tag(' | + | :tag('ul') |
− | : | + | :tag('li') |
+ | :tag('small') | ||
+ | :wikitext(self.removalNotice) | ||
end | end | ||
else | else |