Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Message box: Difference between revisions

Content added Content deleted
(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: Line 521:
end
end


local function makeBox(boxType, args)
local function main(boxType, args)
box:setTitle(args)
box:setTitle(args)
local cfg = box:getConfig(boxType)
local cfg = box:getConfig(boxType)
Line 553: Line 553:
args[k] = v
args[k] = v
end
end
return makeBox(boxType, args)
return main(boxType, args)
end
end
end
end


local p = {
local p = {
box = box,
main = main,
makeBox = makeBox,
mbox = makeWrapper('mbox')
mbox = makeWrapper('mbox')
}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.