Difference between revisions of "Module:Message box"
Jump to navigation
Jump to search
Fixing content model
>Jackmcbarn (update from enwiki) |
meta>Legoktm (Fixing content model) |
||
Line 154: | Line 154: | ||
-- Add attributes, classes and styles. | -- Add attributes, classes and styles. | ||
self.id = args.id | if cfg.allowId then | ||
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' |