Module:Lua banner: Difference between revisions

m
1 revision imported: Mass importing office templates & modules
w>Ahecht
(Detect if on module page)
imported>Sau226
m (1 revision imported: Mass importing office templates & modules)
Line 36: Line 36:
end
end
local moduleList = mList.makeList('bulleted', moduleLinks)
local moduleList = mList.makeList('bulleted', moduleLinks)
boxArgs.text = 'This ' ..
boxArgs.text = 'This template uses [[Wikipedia:Lua|Lua]]:\n' .. moduleList
(mw.title.getCurrentTitle():inNamespaces(828,829) and 'module' or 'template') ..
' uses [[Wikipedia:Lua|Lua]]:\n' .. moduleList
end
end
boxArgs.type = 'notice'
boxArgs.type = 'notice'
Anonymous user