Modul:Message box: Unterschied zwischen den Versionen
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) |
||
| Zeile 521: | Zeile 521: | ||
end | end | ||
local function | local function main(boxType, args) | ||
box:setTitle(args) | box:setTitle(args) | ||
local cfg = box:getConfig(boxType) | local cfg = box:getConfig(boxType) | ||
| Zeile 553: | Zeile 553: | ||
args[k] = v | args[k] = v | ||
end | end | ||
return | return main(boxType, args) | ||
end | end | ||
end | end | ||
local p = { | local p = { | ||
main = main, | |||
mbox = makeWrapper('mbox') | mbox = makeWrapper('mbox') | ||
} | } | ||