Anonymous user
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.
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
|