Module:Message box: Difference between revisions

don't make the box object available from other modules - it's not really designed for that kind of use
(only add id when cfg.useId is true)
(don't make the box object available from other modules - it's not really designed for that kind of use)
Line 521:
end
 
local function makeBoxmain(boxType, args)
box:setTitle(args)
local cfg = box:getConfig(boxType)
Line 553:
args[k] = v
end
return makeBoxmain(boxType, args)
end
end
 
local p = {
boxmain = boxmain,
makeBox = makeBox,
mbox = makeWrapper('mbox')
}