Difference between revisions of "Module:Message box"

Jump to navigation Jump to search
34 bytes added ,  09:48, 8 October 2013
only add id when cfg.useId is true
>Mr. Stradivarius on tour
(make args.all work)
>Mr. Stradivarius
(only add id when cfg.useId is true)
Line 186: Line 186:


     -- Add attributes, classes and styles.
     -- Add attributes, classes and styles.
     self.id = args.id
     if cfg.useId then
        self.id = args.id
    end
     self:addClass(cfg.usePlainlinksParam and yesno(args.plainlinks or true) and 'plainlinks')
     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
Anonymous user

Navigation menu