Module:Lua banner: Difference between revisions

Jump to navigation Jump to search
Undid revision 78378 by System Operator (talk)
No edit summary
Line 37: Line 37:
end
end
local moduleList = mList.makeList('bulleted', moduleLinks)
local moduleList = mList.makeList('bulleted', moduleLinks)
boxArgs.text = 'This template or module uses [[w:Wikipedia:Lua|Lua]]:\n' .. moduleList
boxArgs.text = 'This ' ..
(mw.title.getCurrentTitle():inNamespaces(828,829) and 'module' or 'template') ..
' uses [[w:Wikipedia:Lua|Lua]]:\n' .. moduleList
end
end
boxArgs.type = 'notice'
boxArgs.type = 'notice'