Anonymous user
Module:Lua banner: Difference between revisions
More accurate wording for box on modules.
imported>Johnuniq (use 0 for protection level of current page if it does not exist yet (for preview while creating a template), per Template talk:Lua#Lua error when a template page does not exist yet) |
imported>Pppery (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 module depends on the following other modules:' .. moduleList
else
boxArgs.text = 'This template uses [[Wikipedia:Lua|Lua]]:\n' .. moduleList
end
end
boxArgs.type = 'notice'
|