Module:Message box: Difference between revisions

Content deleted Content added
move the removal notice inline
allow all templates to disable the plainlinks class
Line 158:
-- Add attributes, classes and styles.
self.id = args.id
if yesno(args.plainlinks) ~= false then
self:addClass('plainlinks')
cfg.usePlainlinksParam and yesno(args.plainlinks or true) and 'plainlinks'
)end
for _, class in ipairs(cfg.classes or {}) do
self:addClass(class)