Changes
Jump to navigation
Jump to search
Line 52:
Line 52:
− +
Line 82:
Line 82:
− +
− +
Update categories, see Wikipedia:Categories for discussion/Log/2021 October 31
boxArgs.type = 'notice'
boxArgs.type = 'notice'
boxArgs.small = true
boxArgs.small = true
boxArgs.image = '[[File:Lua-logo-nolabel.svg|30px|alt=|link=]]'
boxArgs.image = '[[File:Lua-Logo.svg|30px|alt=|link=]]'
return mMessageBox.main('mbox', boxArgs)
return mMessageBox.main('mbox', boxArgs)
end
end
if not category then
if not category then
local categories = {
local categories = {
['Module:String'] = 'Lua String-based templates',
['Module:String'] = 'Templates based on the String Lua module',
['Module:Math'] = 'Templates based on the Math Lua module',
['Module:Math'] = 'Templates based on the Math Lua module',
['Module:BaseConvert'] = 'Templates based on the BaseConvert Lua module',
['Module:BaseConvert'] = 'Templates based on the BaseConvert Lua module',
['Module:Citation'] = 'Lua-based citation templates'
['Module:Citation'] = 'Templates based on the Citation/CS1 Lua module'
}
}
categories['Module:Citation/CS1'] = categories['Module:Citation']
categories['Module:Citation/CS1'] = categories['Module:Citation']