Module:Message box/config: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Changed protection settings for "Module:Message box/config" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
||
(5 intermediate revisions by the same user not shown) | |||
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 18: | Line 18: | ||
content = { | content = { | ||
class = 'ambox-content', | class = 'ambox-content', | ||
image = ' | image = 'Content.png' | ||
}, | }, | ||
style = { | style = { | ||
class = 'ambox-style', | class = 'ambox-style', | ||
image = ' | image = 'Cleanup.png' | ||
}, | }, | ||
move = { | move = { | ||
class = 'ambox-move', | class = 'ambox-move', | ||
image = ' | image = 'Move.png' | ||
}, | }, | ||
protection = { | protection = { | ||
class = 'ambox-protection', | class = 'ambox-protection', | ||
image = ' | image = 'Lock.png' | ||
}, | }, | ||
notice = { | notice = { | ||
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 71: | Line 72: | ||
content = { | content = { | ||
class = 'cmbox-content', | class = 'cmbox-content', | ||
image = ' | image = 'Content.png' | ||
}, | }, | ||
style = { | style = { | ||
class = 'cmbox-style', | class = 'cmbox-style', | ||
image = ' | image = 'Cleanup.png' | ||
}, | }, | ||
move = { | move = { | ||
class = 'cmbox-move', | class = 'cmbox-move', | ||
image = ' | image = 'Move.png' | ||
}, | }, | ||
protection = { | protection = { | ||
class = 'cmbox-protection', | class = 'cmbox-protection', | ||
image = ' | image = 'Lock.png' | ||
}, | }, | ||
notice = { | notice = { | ||
Line 93: | Line 94: | ||
showInvalidTypeError = true, | showInvalidTypeError = true, | ||
classes = {'cmbox'}, | classes = {'cmbox'}, | ||
imageEmptyCell = true | imageEmptyCell = true, | ||
templatestyles = 'Module:Message box/cmbox.css' | |||
}, | }, | ||
Line 104: | Line 106: | ||
editnotice = { | editnotice = { | ||
class = 'fmbox-editnotice', | class = 'fmbox-editnotice', | ||
image = ' | image = 'Content.png' | ||
}, | }, | ||
system = { | system = { | ||
Line 115: | Line 117: | ||
classes = {'fmbox'}, | classes = {'fmbox'}, | ||
imageEmptyCell = false, | imageEmptyCell = false, | ||
imageRightNone = false | imageRightNone = false, | ||
templatestyles = 'Module:Message box/fmbox.css' | |||
}, | }, | ||
Line 130: | Line 133: | ||
content = { | content = { | ||
class = 'imbox-content', | class = 'imbox-content', | ||
image = ' | image = 'Content.png' | ||
}, | }, | ||
style = { | style = { | ||
class = 'imbox-style', | class = 'imbox-style', | ||
image = ' | image = 'Cleanup.png' | ||
}, | }, | ||
move = { | move = { | ||
class = 'imbox-move', | class = 'imbox-move', | ||
image = ' | image = 'Move.png' | ||
}, | }, | ||
protection = { | protection = { | ||
class = 'imbox-protection', | class = 'imbox-protection', | ||
image = ' | 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 177: | Line 173: | ||
content = { | content = { | ||
class = 'ombox-content', | class = 'ombox-content', | ||
image = ' | image = 'Content.png' | ||
}, | }, | ||
style = { | style = { | ||
class = 'ombox-style', | class = 'ombox-style', | ||
image = ' | image = 'Cleanup.png' | ||
}, | }, | ||
move = { | move = { | ||
class = 'ombox-move', | class = 'ombox-move', | ||
image = ' | image = 'Move.png' | ||
}, | }, | ||
protection = { | protection = { | ||
class = 'ombox-protection', | class = 'ombox-protection', | ||
image = ' | image = 'Lock.png' | ||
}, | }, | ||
notice = { | notice = { | ||
Line 201: | Line 197: | ||
allowSmall = true, | allowSmall = true, | ||
imageEmptyCell = true, | imageEmptyCell = true, | ||
imageRightNone = true | imageRightNone = true, | ||
templatestyles = 'Module:Message box/ombox.css' | |||
}, | }, | ||
Line 216: | Line 213: | ||
content = { | content = { | ||
class = 'tmbox-content', | class = 'tmbox-content', | ||
image = ' | image = 'Content.png' | ||
}, | }, | ||
style = { | style = { | ||
class = 'tmbox-style', | class = 'tmbox-style', | ||
image = ' | image = 'Cleanup.png' | ||
}, | }, | ||
move = { | move = { | ||
class = 'tmbox-move', | class = 'tmbox-move', | ||
image = ' | image = 'Move.png' | ||
}, | }, | ||
protection = { | protection = { | ||
class = 'tmbox-protection', | class = 'tmbox-protection', | ||
image = ' | image = 'Lock.png' | ||
}, | }, | ||
notice = { | notice = { | ||
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' | |||
} | } | ||
} | } |
Latest revision as of 05:25, 19 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'
}
}