Module:Message box: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Created page with "-- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}. -- Load necessary mo..."
(allow all templates to disable the plainlinks class)
(Created page with "-- This is a meta-module for producing message box templates, including -- {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}. -- Load necessary mo...")
Line 158:
-- Add attributes, classes and styles.
self.id = args.id
self:addClass('plainlinks')
if yesno(args.plainlinks) ~= false then
cfg.usePlainlinksParam and yesno(args.plainlinks or true) and 'plainlinks'
self:addClass('plainlinks')
end)
for _, class in ipairs(cfg.classes or {}) do
self:addClass(class)
0

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu