Module:Lua banner: Difference between revisions
Jump to navigation
Jump to search
Update categories, see Wikipedia:Categories for discussion/Log/2021 October 31
miraheze>Rob Kam m (1 revision imported) |
(Update categories, see Wikipedia:Categories for discussion/Log/2021 October 31) |
||
Line 52: | Line 52: | ||
boxArgs.type = 'notice' | boxArgs.type = 'notice' | ||
boxArgs.small = true | boxArgs.small = true | ||
boxArgs.image = '[[File:Lua- | boxArgs.image = '[[File:Lua-Logo.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'] = 'Lua | ['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 | ['Module:Citation'] = 'Templates based on the Citation/CS1 Lua module' | ||
} | } | ||
categories['Module:Citation/CS1'] = categories['Module:Citation'] | categories['Module:Citation/CS1'] = categories['Module:Citation'] |