Module:Message box/configuration
From Karteria DWRP Wiki
Jump to navigationJump to search
See source: https://www.mediawiki.org/wiki/Module:Message_box
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy'
},
delete = {
class = 'ambox-delete'
},
warning = { -- alias for content
class = 'ambox-content'
},
content = {
class = 'ambox-content'
},
style = {
class = 'ambox-style'
},
move = {
class = 'ambox-move'
},
protection = {
class = 'ambox-protection'
},
notice = {
class = 'ambox-notice'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'plainlinks', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = 'article',
allowMainspaceCategories = true,
templateCategory = 'Article message templates',
templateCategoryRequireName = true,
templateErrorCategory = nil,
templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy'
},
delete = {
class = 'cmbox-delete'
},
content = {
class = 'cmbox-content'
},
style = {
class = 'cmbox-style'
},
move = {
class = 'cmbox-move'
},
protection = {
class = 'cmbox-protection'
},
notice = {
class = 'cmbox-notice'
},
caution = {
class = 'cmbox-style'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'cmbox'},
imageEmptyCell = true
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning'
},
editnotice = {
class = 'fmbox-editnotice'
},
system = {
class = 'fmbox-system'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'plainlinks', 'fmbox'},
imageEmptyCell = false,
imageRightNone = false
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy'
},
delete = {
class = 'imbox-delete'
},
content = {
class = 'imbox-content'
},
style = {
class = 'imbox-style'
},
move = {
class = 'imbox-move'
},
protection = {
class = 'imbox-protection'
},
license = {
class = 'imbox-license licensetpl'
},
featured = {
class = 'imbox-featured'
},
notice = {
class = 'imbox-notice'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
usePlainlinksParam = true,
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes'
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy'
},
delete = {
class = 'ombox-delete'
},
warning = { -- alias for content
class = 'ombox-content'
},
content = {
class = 'ombox-content'
},
style = {
class = 'ombox-style'
},
move = {
class = 'ombox-move'
},
protection = {
class = 'ombox-protection'
},
notice = {
class = 'ombox-notice'
},
critical = {
class = 'mbox-critical'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy'
},
delete = {
class = 'tmbox-delete'
},
content = {
class = 'tmbox-content'
},
style = {
class = 'tmbox-style'
},
move = {
class = 'tmbox-move'
},
protection = {
class = 'tmbox-protection'
},
notice = {
class = 'tmbox-notice'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
imageEmptyCellStyle = true,
templateCategory = 'Talk message boxes'
}
}