Editing Module:Message box/configuration

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
--------------------------------------------------------------------------------
local ambox = {
--                          Message box configuration                        --
types = {
--                                                                            --
critical = {
-- This module contains configuration data for [[Module:Message box]].       --
class = 'ambox-speedy',
--------------------------------------------------------------------------------
image = 'Ambox speedy deletion.png'
 
},
return {
speedy = {
ambox = {
class = 'ambox-speedy',
types = {
image = 'Ambox speedy deletion.png'
speedy = {
},
class = 'ambox-speedy',
important = {
image = 'Ambox warning pn.svg'
class = 'ambox-delete',
},
image = 'Ambox deletion.png'
delete = {
},
class = 'ambox-delete',
delete = {
image = 'Ambox warning pn.svg'
class = 'ambox-delete',
},
image = 'Ambox deletion.png'
content = {
},
class = 'ambox-content',
warning = {
image = 'Ambox important.svg'
class = 'ambox-content',
},
image = 'Ambox content.png'
style = {
},
class = 'ambox-style',
content = {
image = 'Edit-clear.svg'
class = 'ambox-content',
},
image = 'Ambox content.png'
move = {
},
class = 'ambox-move',
caution = {
image = 'Merge-split-transwiki default.svg'
class = 'ambox-style',
},
image = 'Ambox warning yellow.svg'
protection = {
},
class = 'ambox-protection',
style = {
image = 'Semi-protection-shackle-keyhole.svg'
class = 'ambox-style',
},
image = 'Ambox warning yellow.svg'
notice = {
},
class = 'ambox-notice',
move = {
image = 'Information icon4.svg'
class = 'ambox-move',
}
image = 'Ambox move.png'
},
protection = {
class = 'ambox-protection',
image = 'Ambox protection.png'
},
notice = {
class = 'ambox-notice',
image = 'Ambox notice.png'
},
},
default                    = 'notice',
license = {
allowBlankParams            = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
class = 'ambox-notice',
allowSmall                  = true,
image = 'Ambox notice.png'
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'
},
},
default                    = 'notice',
cmbox = {
allowBlankParams            = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
types = {
allowSmall                  = true,
speedy = {
smallParam                  = 'left',
class = 'cmbox-speedy',
smallClass                  = 'mbox-small-left',
image = 'Ambox warning pn.svg'
substCheck                  = true,
},
classes                    = {'metadata', 'plainlinks', 'ambox'},
delete = {
imageEmptyCell              = true,
class = 'cmbox-delete',
imageCheckBlank            = true,
image = 'Ambox warning pn.svg'
imageSmallSize              = '20x20px',
},
imageCellDiv                = true,
content = {
useCollapsibleTextFields    = true,
class = 'cmbox-content',
imageRightNone              = true,
image = 'Ambox important.svg'
sectionDefault              = 'article',
},
allowMainspaceCategories    = true,
style = {
templateCategory            = 'Article message templates',
class = 'cmbox-style',
        templateCategoryRequireName = true,
image = 'Edit-clear.svg'
templateErrorCategory      = 'Article message templates with missing parameters',
},
templateErrorParamsToCheck  = {'issue', 'fix', 'subst'}
move = {
}
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
local cmbox = {
},
types = {
protection = {
critical = {
class = 'cmbox-protection',
class = 'cmbox-speedy',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Cmbox deletion.png'
},
},
notice = {
speedy = {
class = 'cmbox-notice',
class = 'cmbox-speedy',
image = 'Information icon4.svg'
image = 'Cmbox deletion.png'
}
},
important = {
class = 'cmbox-delete',
image = 'Cmbox deletion.png'
},
delete = {
class = 'cmbox-delete',
image = 'Cmbox deletion.png'
},
warning = {
class = 'cmbox-content',
image = 'Cmbox content.png'
},
content = {
class = 'cmbox-content',
image = 'Cmbox content.png'
},
caution = {
class = 'cmbox-style',
image = 'Ambox warning yellow.svg'
},
style = {
class = 'cmbox-style',
image = 'Ambox warning yellow.svg'
},
move = {
class = 'cmbox-move',
image = 'Cmbox move.png'
},
protection = {
class = 'cmbox-protection',
image = 'Cmbox protection.png'
},
notice = {
class = 'cmbox-notice',
image = 'Cmbox notice.png'
},
},
default              = 'notice',
license = {
showInvalidTypeError = true,
class = 'cmbox-notice',
classes              = {'cmbox'},
image = 'Cmbox notice.png'
imageEmptyCell      = true,
}
templatestyles      = 'Module:Message box/cmbox.css'
},
},
default              = 'notice',
fmbox = {
showInvalidTypeError = true,
types = {
classes              = {'plainlinks', 'cmbox'},
warning = {
imageEmptyCell      = true
class = 'fmbox-warning',
}
image = 'Ambox warning pn.svg'
},
local fmbox = {
editnotice = {
types = {
class = 'fmbox-editnotice',
warning = {
image = 'Information icon4.svg'
class = 'fmbox-warning',
},
image = 'Cmbox deletion.png'
system = {
},
class = 'fmbox-system',
editnotice = {
image = 'Information icon4.svg'
class = 'fmbox-editnotice',
}
image = 'Imbox notice.png'
},
},
default              = 'system',
system = {
showInvalidTypeError = true,
class = 'fmbox-system',
classes              = {'fmbox'},
image = 'Imbox notice.png'
imageEmptyCell      = false,
}
imageRightNone      = false,
templatestyles      = 'Module:Message box/fmbox.css'
},
},
default              = 'system',
imbox = {
showInvalidTypeError = true,
types = {
allowId                = true,
speedy = {
classes              = {'plainlinks', 'fmbox'},
class = 'imbox-speedy',
imageEmptyCell      = false,
image = 'Ambox warning pn.svg'
imageRightNone      = false
},
}
delete = {
class = 'imbox-delete',
local imbox = {
image = 'Ambox warning pn.svg'
types = {
},
critical = {
content = {
class = 'imbox-speedy',
class = 'imbox-content',
image = 'Imbox speedy deletion.png'
image = 'Ambox important.svg'
},
},
speedy = {
style = {
class = 'imbox-speedy',
class = 'imbox-style',
image = 'Imbox speedy deletion.png'
image = 'Edit-clear.svg'
},
},
important = {
move = {
class = 'imbox-delete',
class = 'imbox-move',
image = 'Imbox deletion.png'
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'imbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox license.png' -- @todo We need an SVG version of this
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg'
},
notice = {
class = 'imbox-notice',
image = 'Information icon4.svg'
}
},
},
default              = 'notice',
delete = {
showInvalidTypeError = true,
class = 'imbox-delete',
classes              = {'imbox'},
image = 'Imbox deletion.png'
imageEmptyCell      = true,
},
below                = true,
warning = {
templateCategory    = 'File message boxes',
class = 'imbox-content',
templatestyles      = 'Module:Message box/imbox.css'
image = 'Imbox content.png'
},
content = {
class = 'imbox-content',
image = 'Imbox content.png'
},
caution = {
class = 'imbox-style',
image = 'Ambox warning yellow.svg'
},
style = {
class = 'imbox-style',
image = 'Ambox warning yellow.svg'
},
move = {
class = 'imbox-move',
image = 'Imbox move.png'
},
protection = {
class = 'imbox-protection',
image = 'Imbox protection.png'
},
notice = {
class = 'imbox-notice',
image = 'Imbox notice.png'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox license.png'
},
featured = {
class = 'imbox-featured',
image = 'Imbox featured.png'
}
},
},
default              = 'notice',
ombox = {
showInvalidTypeError = true,
types = {
classes              = {'imbox'},
speedy = {
usePlainlinksParam  = true,
class = 'ombox-speedy',
imageEmptyCell      = true,
image = 'Ambox warning pn.svg'
below                = true,
},
templateCategory    = 'File message boxes'
delete = {
}
class = 'ombox-delete',
image = 'Ambox warning pn.svg'
local ombox = {
},
types = {
content = {
critical = {
class = 'ombox-content',
class = 'ombox-speedy',
image = 'Ambox important.svg'
image = 'Imbox speedy deletion.png'
},
},
style = {
speedy = {
class = 'ombox-style',
class = 'ombox-speedy',
image = 'Edit-clear.svg'
image = 'Imbox speedy deletion.png'
},
},
move = {
important = {
class = 'ombox-move',
class = 'ombox-delete',
image = 'Merge-split-transwiki default.svg'
image = 'Imbox deletion.png'
},
},
protection = {
delete = {
class = 'ombox-protection',
class = 'ombox-delete',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Imbox deletion.png'
},
},
notice = {
warning = {
class = 'ombox-notice',
class = 'ombox-content',
image = 'Information icon4.svg'
image = 'Imbox content.png'
}
},
content = {
class = 'ombox-content',
image = 'Imbox content.png'
},
},
default              = 'notice',
caution = {
showInvalidTypeError = true,
class = 'ombox-style',
classes              = {'ombox'},
image = 'Ambox warning yellow.svg'
allowSmall          = true,
},
imageEmptyCell      = true,
style = {
imageRightNone      = true,
class = 'ombox-style',
templatestyles      = 'Module:Message box/ombox.css'
image = 'Ambox warning yellow.svg'
},
move = {
class = 'ombox-move',
image = 'Imbox move.png'
},
protection = {
class = 'ombox-protection',
image = 'Imbox protection.png'
},
notice = {
class = 'ombox-notice',
image = 'Imbox notice.png'
},
license = {
class = 'ombox-notice',
image = 'Imbox notice.png'
}
},
},
default              = 'notice',
tmbox = {
showInvalidTypeError = true,
types = {
classes              = {'plainlinks', 'ombox'},
speedy = {
allowSmall          = true,
class = 'tmbox-speedy',
imageEmptyCell      = true,
image = 'Ambox warning pn.svg'
imageRightNone      = true
},
}
delete = {
class = 'tmbox-delete',
local tmbox = {
image = 'Ambox warning pn.svg'
types = {
},
critical = {
content = {
class = 'tmbox-speedy',
class = 'tmbox-content',
image = 'Imbox speedy deletion.png'
image = 'Ambox important.svg'
},
},
speedy = {
style = {
class = 'tmbox-speedy',
class = 'tmbox-style',
image = 'Imbox speedy deletion.png'
image = 'Edit-clear.svg'
},
},
important = {
move = {
class = 'tmbox-delete',
class = 'tmbox-move',
image = 'Imbox deletion.png'
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',
delete = {
showInvalidTypeError = true,
class = 'tmbox-delete',
classes              = {'tmbox'},
image = 'Imbox deletion.png'
allowSmall          = true,
},
imageRightNone      = true,
warning = {
imageEmptyCell      = true,
class = 'tmbox-content',
templateCategory    = 'Talk message boxes',
image = 'Imbox content.png'
templatestyles      = 'Module:Message box/tmbox.css'
},
}
content = {
class = 'tmbox-content',
image = 'Imbox content.png'
},
caution = {
class = 'tmbox-style',
image = 'Ambox warning yellow.svg'
},
style = {
class = 'tmbox-style',
image = 'Ambox warning yellow.svg'
},
move = {
class = 'tmbox-move',
image = 'Imbox move.png'
},
protection = {
class = 'tmbox-protection',
image = 'Imbox protection.png'
},
notice = {
class = 'tmbox-notice',
image = 'Imbox notice.png'
},
license = {
class = 'tmbox-notice',
image = 'Imbox notice.png'
}
},
default              = 'notice',
showInvalidTypeError = true,
classes              = {'plainlinks', 'tmbox'},
allowId              = true,
allowSmall          = true,
imageRightNone      = true,
imageEmptyCell      = true,
imageEmptyCellStyle  = true,
templateCategory    = 'Talk message boxes'
}
return {
ambox = ambox,
cmbox = cmbox,
fmbox = fmbox,
imbox = imbox,
ombox = ombox,
tmbox = tmbox
}
}
Please note that all contributions to Meta Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Meta Wiki:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: