Module:Message box/configuration: Difference between revisions
Appearance
Created page with "-------------------------------------------------------------------------------- -- Message box configuration -- -- -- -- This module contains configuration data for Module:Message box. -- -------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-spee..." |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
ambox = { | ambox = { | ||
types = { | types = { | ||
delete = { | delete = { | ||
class = 'ambox-delete', | class = 'ambox-delete', | ||
image = ' | image = 'Delete.png' | ||
}, | }, | ||
content = { | content = { | ||
class = 'ambox-content', | class = 'ambox-content', | ||
image = ' | image = 'Warning.png' | ||
}, | }, | ||
notice = { | |||
class = 'ambox- | class = 'ambox-notice', | ||
image = ' | image = 'Information icon4.svg' | ||
}, | |||
incomplete = { | |||
class = 'ambox-content', | |||
image = 'Incomplete.png' | |||
}, | |||
ai = { | |||
class = 'ambox-delete', | |||
image = 'Ai.png' | |||
}, | }, | ||
investigated = { | |||
class = 'ambox-move', | class = 'ambox-move', | ||
image = ' | image = 'Possiblyfake.png' | ||
}, | }, | ||
nsfw = { | |||
class = 'ambox- | class = 'ambox-style', | ||
image = ' | image = 'Nsfw.png' | ||
}, | }, | ||
}, | }, | ||
default = 'notice', | default = 'notice', | ||
| Line 62: | Line 62: | ||
cmbox = { | cmbox = { | ||
types = { | types = { | ||
delete = { | delete = { | ||
class = 'cmbox-delete', | class = 'cmbox-delete', | ||
image = ' | image = 'Delete.png' | ||
}, | }, | ||
content = { | content = { | ||
class = 'cmbox-content', | class = 'cmbox-content', | ||
image = ' | image = 'Warning.png' | ||
}, | |||
notice = { | |||
class = 'cmbox-notice', | |||
image = 'Information icon4.svg' | |||
}, | |||
jumpscare = { | |||
class = 'cmbox-speedy', | |||
image = 'Jumpscare.png' | |||
}, | |||
incomplete = { | |||
class = 'cmbox-content', | |||
image = 'Incomplete.png' | |||
}, | }, | ||
volume = { | |||
class = 'cmbox-style', | class = 'cmbox-style', | ||
image = ' | image = 'Volume.png' | ||
}, | }, | ||
phone = { | |||
class = 'cmbox-move', | class = 'cmbox-move', | ||
image = ' | image = 'Phone.png' | ||
}, | }, | ||
ai = { | |||
class = 'cmbox- | class = 'cmbox-delete', | ||
image = ' | image = 'Ai.png' | ||
}, | }, | ||
flashing = { | |||
class = 'cmbox-notice', | class = 'cmbox-notice', | ||
image = ' | image = 'Flashing.png' | ||
} | }, | ||
possiblyfake = { | |||
class = 'cmbox-move', | |||
image = 'Possiblyfake.png' | |||
}, | |||
nsfw = { | |||
class = 'cmbox-style', | |||
image = 'Nsfw.png' | |||
}, | |||
}, | }, | ||
default = 'notice', | default = 'notice', | ||
| Line 103: | Line 119: | ||
warning = { | warning = { | ||
class = 'fmbox-warning', | class = 'fmbox-warning', | ||
image = ' | image = 'Delete.png' | ||
}, | }, | ||
editnotice = { | editnotice = { | ||
| Line 125: | Line 141: | ||
imbox = { | imbox = { | ||
types = { | types = { | ||
delete = { | delete = { | ||
class = 'imbox-delete', | class = 'imbox-delete', | ||
image = ' | image = 'Delete.png' | ||
}, | }, | ||
content = { | content = { | ||
class = 'imbox-content', | class = 'imbox-content', | ||
image = ' | image = 'Warning.png' | ||
}, | |||
notice = { | |||
class = 'imbox-notice', | |||
image = 'Information icon4.svg' | |||
}, | |||
jumpscare = { | |||
class = 'imbox-speedy', | |||
image = 'Jumpscare.png' | |||
}, | |||
incomplete = { | |||
class = 'imbox-content', | |||
image = 'Incomplete.png' | |||
}, | }, | ||
volume = { | |||
class = 'imbox-style', | class = 'imbox-style', | ||
image = ' | image = 'Volume.png' | ||
}, | }, | ||
phone = { | |||
class = 'imbox-move', | class = 'imbox-move', | ||
image = ' | image = 'Phone.png' | ||
}, | }, | ||
ai = { | |||
class = 'imbox- | class = 'imbox-delete', | ||
image = ' | image = 'Ai.png' | ||
}, | }, | ||
flashing = { | |||
class = 'imbox- | class = 'imbox-notice', | ||
image = ' | image = 'Flashing.png' | ||
}, | }, | ||
possiblyfake = { | |||
class = 'imbox- | class = 'imbox-move', | ||
image = ' | image = 'Possiblyfake.png' | ||
}, | }, | ||
nsfw= { | |||
class = 'imbox- | class = 'imbox-style', | ||
image = ' | image = 'Nsfw.png' | ||
}, | }, | ||
}, | }, | ||
default = 'notice', | default = 'notice', | ||
| Line 181: | Line 200: | ||
speedy = { | speedy = { | ||
class = 'ombox-speedy', | class = 'ombox-speedy', | ||
image = ' | image = 'Delete.png' | ||
}, | }, | ||
delete = { | delete = { | ||
class = 'ombox-delete', | class = 'ombox-delete', | ||
image = ' | image = 'Delete.png' | ||
}, | }, | ||
content = { | content = { | ||
class = 'ombox-content', | class = 'ombox-content', | ||
image = ' | image = 'Warning.png' | ||
}, | }, | ||
style = { | style = { | ||
| Line 221: | Line 240: | ||
speedy = { | speedy = { | ||
class = 'tmbox-speedy', | class = 'tmbox-speedy', | ||
image = ' | image = 'Delete.png' | ||
}, | }, | ||
delete = { | delete = { | ||
class = 'tmbox-delete', | class = 'tmbox-delete', | ||
image = ' | image = 'Delete.png' | ||
}, | }, | ||
content = { | content = { | ||
class = 'tmbox-content', | class = 'tmbox-content', | ||
image = ' | image = 'Warning.png' | ||
}, | }, | ||
style = { | style = { | ||
Latest revision as of 18:09, 22 November 2025
Documentation for this module may be created at Module:Message box/configuration/doc
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
delete = {
class = 'ambox-delete',
image = 'Delete.png'
},
content = {
class = 'ambox-content',
image = 'Warning.png'
},
notice = {
class = 'ambox-notice',
image = 'Information icon4.svg'
},
incomplete = {
class = 'ambox-content',
image = 'Incomplete.png'
},
ai = {
class = 'ambox-delete',
image = 'Ai.png'
},
investigated = {
class = 'ambox-move',
image = 'Possiblyfake.png'
},
nsfw = {
class = 'ambox-style',
image = 'Nsfw.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 message]]</small>',
templatestyles = 'Module:Message box/ambox.css'
},
cmbox = {
types = {
delete = {
class = 'cmbox-delete',
image = 'Delete.png'
},
content = {
class = 'cmbox-content',
image = 'Warning.png'
},
notice = {
class = 'cmbox-notice',
image = 'Information icon4.svg'
},
jumpscare = {
class = 'cmbox-speedy',
image = 'Jumpscare.png'
},
incomplete = {
class = 'cmbox-content',
image = 'Incomplete.png'
},
volume = {
class = 'cmbox-style',
image = 'Volume.png'
},
phone = {
class = 'cmbox-move',
image = 'Phone.png'
},
ai = {
class = 'cmbox-delete',
image = 'Ai.png'
},
flashing = {
class = 'cmbox-notice',
image = 'Flashing.png'
},
possiblyfake = {
class = 'cmbox-move',
image = 'Possiblyfake.png'
},
nsfw = {
class = 'cmbox-style',
image = 'Nsfw.png'
},
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true,
templatestyles = 'Module:Message box/cmbox.css',
div_structure = true,
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Delete.png'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information icon4.svg'
},
system = {
class = 'fmbox-system',
image = 'Information icon4.svg'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageRightNone = false,
templatestyles = 'Module:Message box/fmbox.css',
div_structure = true,
},
imbox = {
types = {
delete = {
class = 'imbox-delete',
image = 'Delete.png'
},
content = {
class = 'imbox-content',
image = 'Warning.png'
},
notice = {
class = 'imbox-notice',
image = 'Information icon4.svg'
},
jumpscare = {
class = 'imbox-speedy',
image = 'Jumpscare.png'
},
incomplete = {
class = 'imbox-content',
image = 'Incomplete.png'
},
volume = {
class = 'imbox-style',
image = 'Volume.png'
},
phone = {
class = 'imbox-move',
image = 'Phone.png'
},
ai = {
class = 'imbox-delete',
image = 'Ai.png'
},
flashing = {
class = 'imbox-notice',
image = 'Flashing.png'
},
possiblyfake = {
class = 'imbox-move',
image = 'Possiblyfake.png'
},
nsfw= {
class = 'imbox-style',
image = 'Nsfw.png'
},
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes',
templatestyles = 'Module:Message box/imbox.css',
div_structure = true,
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Delete.png'
},
delete = {
class = 'ombox-delete',
image = 'Delete.png'
},
content = {
class = 'ombox-content',
image = 'Warning.png'
},
style = {
class = 'ombox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ombox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ombox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ombox-notice',
image = 'Information icon4.svg'
}
},
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 = 'Delete.png'
},
delete = {
class = 'tmbox-delete',
image = 'Delete.png'
},
content = {
class = 'tmbox-content',
image = 'Warning.png'
},
style = {
class = 'tmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'tmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'tmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'tmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
templateCategory = 'Talk message boxes',
templatestyles = 'Module:Message box/tmbox.css'
}
}