Module:Message box/config: Difference between revisions
Jump to navigation
Jump to search
m (Penguinplushie moved page Module:Message box/configuration to Module:Message box/config without leaving a redirect) |
mNo edit summary |
||
Line 1: | Line 1: | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
-- Message box | -- Message box Config -- | ||
-- -- | -- -- | ||
-- This module contains configuration data for [[Module:Message box]]. -- | -- This module contains configuration data for [[Module:Message box]]. -- | ||
Line 56: | Line 56: | ||
templateErrorCategory = 'Article message templates with missing parameters', | templateErrorCategory = 'Article message templates with missing parameters', | ||
templateErrorParamsToCheck = {'issue', 'fix', 'subst'}, | templateErrorParamsToCheck = {'issue', 'fix', 'subst'}, | ||
removalNotice = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]' | removalNotice = '<small>[[Help:Maintenance template removal|Learn how and when to remove this template message]]</small>', | ||
templatestyles = 'Module:Message box/ambox.css' | |||
}, | }, | ||
Line 93: | Line 94: | ||
showInvalidTypeError = true, | showInvalidTypeError = true, | ||
classes = {'cmbox'}, | classes = {'cmbox'}, | ||
imageEmptyCell = true | imageEmptyCell = true, | ||
templatestyles = 'Module:Message box/cmbox.css' | |||
}, | }, | ||
Line 115: | Line 117: | ||
classes = {'fmbox'}, | classes = {'fmbox'}, | ||
imageEmptyCell = false, | imageEmptyCell = false, | ||
imageRightNone = false | imageRightNone = false, | ||
templatestyles = 'Module:Message box/fmbox.css' | |||
}, | }, | ||
Line 138: | Line 141: | ||
move = { | move = { | ||
class = 'imbox-move', | class = 'imbox-move', | ||
image = ' | image = 'Move.png' | ||
}, | }, | ||
protection = { | protection = { | ||
class = 'imbox-protection', | class = 'imbox-protection', | ||
image = 'Lock.png' | image = 'Lock.png' | ||
}, | }, | ||
notice = { | notice = { | ||
Line 162: | Line 157: | ||
imageEmptyCell = true, | imageEmptyCell = true, | ||
below = true, | below = true, | ||
templateCategory = 'File message boxes' | templateCategory = 'File message boxes', | ||
templatestyles = 'Module:Message box/imbox.css' | |||
}, | }, | ||
Line 201: | Line 197: | ||
allowSmall = true, | allowSmall = true, | ||
imageEmptyCell = true, | imageEmptyCell = true, | ||
imageRightNone = true | imageRightNone = true, | ||
templatestyles = 'Module:Message box/ombox.css' | |||
}, | }, | ||
Line 242: | Line 239: | ||
imageEmptyCell = true, | imageEmptyCell = true, | ||
imageEmptyCellStyle = true, | imageEmptyCellStyle = true, | ||
templateCategory = 'Talk message boxes' | templateCategory = 'Talk message boxes', | ||
templatestyles = 'Module:Message box/tmbox.css' | |||
} | } | ||
} | } |
Revision as of 00:55, 11 June 2023
This module contains configuration data for Module:Message box.
--------------------------------------------------------------------------------
-- Message box Config --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Warning.png'
},
delete = {
class = 'ambox-delete',
image = 'Warning.png'
},
content = {
class = 'ambox-content',
image = 'Content.png'
},
style = {
class = 'ambox-style',
image = 'Cleanup.png'
},
move = {
class = 'ambox-move',
image = 'Move.png'
},
protection = {
class = 'ambox-protection',
image = 'Lock.png'
},
notice = {
class = 'ambox-notice',
image = 'Info.png'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = 'article',
allowMainspaceCategories = true,
templateCategory = 'Article message templates',
templateCategoryRequireName = true,
templateErrorCategory = 'Article message templates with missing parameters',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'},
removalNotice = '<small>[[Help:Maintenance template removal|Learn how and when to remove this template message]]</small>',
templatestyles = 'Module:Message box/ambox.css'
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Warning.png'
},
delete = {
class = 'cmbox-delete',
image = 'Warning.png'
},
content = {
class = 'cmbox-content',
image = 'Content.png'
},
style = {
class = 'cmbox-style',
image = 'Cleanup.png'
},
move = {
class = 'cmbox-move',
image = 'Move.png'
},
protection = {
class = 'cmbox-protection',
image = 'Lock.png'
},
notice = {
class = 'cmbox-notice',
image = 'Info.png'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true,
templatestyles = 'Module:Message box/cmbox.css'
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Warning.png'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Content.png'
},
system = {
class = 'fmbox-system',
image = 'Info.png'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageRightNone = false,
templatestyles = 'Module:Message box/fmbox.css'
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Warning.png'
},
delete = {
class = 'imbox-delete',
image = 'Warning.png'
},
content = {
class = 'imbox-content',
image = 'Content.png'
},
style = {
class = 'imbox-style',
image = 'Cleanup.png'
},
move = {
class = 'imbox-move',
image = 'Move.png'
},
protection = {
class = 'imbox-protection',
image = 'Lock.png'
},
notice = {
class = 'imbox-notice',
image = 'Info.png'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes',
templatestyles = 'Module:Message box/imbox.css'
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Warning.png'
},
delete = {
class = 'ombox-delete',
image = 'Warning.png'
},
content = {
class = 'ombox-content',
image = 'Content.png'
},
style = {
class = 'ombox-style',
image = 'Cleanup.png'
},
move = {
class = 'ombox-move',
image = 'Move.png'
},
protection = {
class = 'ombox-protection',
image = 'Lock.png'
},
notice = {
class = 'ombox-notice',
image = 'Info.png'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true,
templatestyles = 'Module:Message box/ombox.css'
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'Warning.png'
},
delete = {
class = 'tmbox-delete',
image = 'Warning.png'
},
content = {
class = 'tmbox-content',
image = 'Content.png'
},
style = {
class = 'tmbox-style',
image = 'Cleanup.png'
},
move = {
class = 'tmbox-move',
image = 'Move.png'
},
protection = {
class = 'tmbox-protection',
image = 'Lock.png'
},
notice = {
class = 'tmbox-notice',
image = 'Info.png'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
imageEmptyCellStyle = true,
templateCategory = 'Talk message boxes',
templatestyles = 'Module:Message box/tmbox.css'
}
}