Module:Message box: Difference between revisions
Jump to navigation
Jump to search
update from enwiki |
m>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' |