Module:Lua banner: Difference between revisions

m
1 revision imported: Miraheze infobox
m (1 revision imported: Miraheze infobox)
Line 52: Line 52:
boxArgs.type = 'notice'
boxArgs.type = 'notice'
boxArgs.small = true
boxArgs.small = true
boxArgs.image = '[[File:Lua-Logo.svg|30px|alt=|link=]]'
boxArgs.image = '[[File:Lua-logo-nolabel.svg|30px|alt=|link=]]'
return mMessageBox.main('mbox', boxArgs)
return mMessageBox.main('mbox', boxArgs)
end
end
Line 82: Line 82:
if not category then
if not category then
local categories = {
local categories = {
['Module:String'] = 'Templates based on the String Lua module',
['Module:String'] = 'Lua String-based templates',
['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'] = 'Templates based on the Citation/CS1 Lua module'
['Module:Citation'] = 'Lua-based citation templates'
}
}
categories['Module:Citation/CS1'] = categories['Module:Citation']
categories['Module:Citation/CS1'] = categories['Module:Citation']