Module:Message box: Difference between revisions

Jump to navigation Jump to search
m>Peteforsyth
m 53 revisions imported from w:Module:Message_box: Attempting, per request from User:Titodutta. I'm not sure if "w" is the right source wiki (only a few options in drop-down menu)
m>Mr. Stradivarius
remove cfg.allowId
Line 154: Line 154:


-- Add attributes, classes and styles.
-- Add attributes, classes and styles.
if cfg.allowId then
self.id = args.id
self.id = args.id
end
self:addClass(
self:addClass(
cfg.usePlainlinksParam and yesno(args.plainlinks or true) and 'plainlinks'
cfg.usePlainlinksParam and yesno(args.plainlinks or true) and 'plainlinks'