Module:Lua banner: Difference between revisions

More accurate wording for box on modules.
m (1 revision imported)
(More accurate wording for box on modules.)
Line 36:
end
local moduleList = mList.makeList('bulleted', moduleLinks)
if mw.title.getCurrentTitle().contentModel == "Scribunto" then
boxArgs.text = 'This ' ..
boxArgs.text = 'This module depends on the following other modules:' .. moduleList
(mw.title.getCurrentTitle():inNamespaces(828,829) and 'module' or 'template') ..
else
boxArgs.text = 'This template uses [[Wikipedia:Lua|Lua]]:\n' .. moduleList
end
end
boxArgs.type = 'notice'
Anonymous user