Zum Inhalt springen

Modul:Lua banner: Unterschied zwischen den Versionen

... and for module doc pages
(More accurate wording for box on modules.)
(... and for module doc pages)
Zeile 36: Zeile 36:
end
end
local moduleList = mList.makeList('bulleted', moduleLinks)
local moduleList = mList.makeList('bulleted', moduleLinks)
if mw.title.getCurrentTitle().contentModel == "Scribunto" then
local title = mw.title.getCurrentTitle()
if title.subpageText == "doc" then
title = title.basePageTitle
end
if title.contentModel == "Scribunto" then
boxArgs.text = 'This module depends on the following other modules:' .. moduleList
boxArgs.text = 'This module depends on the following other modules:' .. moduleList
else
else
Anonymer Benutzer