Module:Message box: Difference between revisions

only add id when cfg.useId is true
(make args.all work)
(only add id when cfg.useId is true)
Line 186:
 
-- Add attributes, classes and styles.
selfif cfg.iduseId = args.idthen
self.id = args.id
end
self:addClass(cfg.usePlainlinksParam and yesno(args.plainlinks or true) and 'plainlinks')
for _, class in ipairs(cfg.classes or {}) do