Editing Module:Message box/configuration

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. Read the Privacy Policy to learn what information we collect about you and how we use it.

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 = {
--                                                                            --
speedy = {
-- This module contains configuration data for [[Module:Message box]].        --
class = 'ambox-speedy',
--------------------------------------------------------------------------------
image = 'Ambox speedy deletion.png'
 
},
return {
delete = {
ambox = {
class = 'ambox-delete',
types = {
image = 'Ambox deletion.png'
speedy = {
},
class = 'ambox-speedy',
content = {
image = 'Ambox warning pn.svg'
class = 'ambox-content',
},
image = 'Ambox content.png'
delete = {
},
class = 'ambox-delete',
style = {
image = 'Ambox warning pn.svg'
class = 'ambox-style',
},
image = 'Edit-clear.svg'
content = {
},
class = 'ambox-content',
move = {
image = 'Ambox important.svg'
class = 'ambox-move',
},
image = 'Ambox move.png'
style = {
},
class = 'ambox-style',
protection = {
image = 'Edit-clear.svg'
class = 'ambox-protection',
},
image = 'Ambox protection.png'
move = {
class = 'ambox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ambox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ambox-notice',
image = 'Information icon4.svg'
}
},
},
default                    = 'notice',
notice = {
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              = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
},
},
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','extension','page',
},
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 = {
speedy = {
class = 'cmbox-protection',
class = 'cmbox-speedy',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Cmbox deletion.png'
},
},
notice = {
delete = {
class = 'cmbox-notice',
class = 'cmbox-delete',
image = 'Information icon4.svg'
image = 'Cmbox deletion.png'
}
},
content = {
class = 'cmbox-content',
image = 'Cmbox content.png'
},
style = {
class = 'cmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'cmbox-move',
image = 'Cmbox move.png'
},
protection = {
class = 'cmbox-protection',
image = 'Cmbox protection.png'
},
},
default              = 'notice',
notice = {
showInvalidTypeError = true,
class = 'cmbox-notice',
classes              = {'cmbox'},
image = 'Cmbox notice.png'
imageEmptyCell      = true
}
},
},
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
},
},
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 = {
},
speedy = {
content = {
class = 'imbox-speedy',
class = 'imbox-content',
image = 'Imbox speedy deletion.png'
image = 'Ambox important.svg'
},
},
delete = {
style = {
class = 'imbox-delete',
class = 'imbox-style',
image = 'Imbox deletion.png'
image = 'Edit-clear.svg'
},
},
content = {
move = {
class = 'imbox-content',
class = 'imbox-move',
image = 'Imbox content.png'
image = 'Merge-split-transwiki default.svg'
},
},
style = {
protection = {
class = 'imbox-style',
class = 'imbox-protection',
image = 'Edit-clear.svg'
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',
move = {
showInvalidTypeError = true,
class = 'imbox-move',
classes              = {'imbox'},
image = 'Imbox move.png'
imageEmptyCell      = true,
},
below                = true,
protection = {
templateCategory    = 'File message boxes'
class = 'imbox-protection',
image = 'Imbox protection.png'
},
license = {
class = 'imbox-license',
image = 'Imbox license.png'
},
featured = {
class = 'imbox-featured',
image = 'Imbox featured.png'
},
notice = {
class = 'imbox-notice',
image = 'Imbox notice.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 = {
speedy = {
class = 'ombox-content',
class = 'ombox-speedy',
image = 'Ambox important.svg'
image = 'Imbox speedy deletion.png'
},
},
style = {
delete = {
class = 'ombox-style',
class = 'ombox-delete',
image = 'Edit-clear.svg'
image = 'Imbox deletion.png'
},
},
move = {
content = {
class = 'ombox-move',
class = 'ombox-content',
image = 'Merge-split-transwiki default.svg'
image = 'Imbox content.png'
},
},
protection = {
style = {
class = 'ombox-protection',
class = 'ombox-style',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Edit-clear.svg'
},
},
notice = {
move = {
class = 'ombox-notice',
class = 'ombox-move',
image = 'Information icon4.svg'
image = 'Imbox move.png'
}
},
},
default              = 'notice',
protection = {
showInvalidTypeError = true,
class = 'ombox-protection',
classes              = {'ombox'},
image = 'Imbox protection.png'
allowSmall          = true,
},
imageEmptyCell      = true,
notice = {
imageRightNone      = true
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 = {
},
speedy = {
content = {
class = 'tmbox-speedy',
class = 'tmbox-content',
image = 'Imbox speedy deletion.png'
image = 'Ambox important.svg'
},
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',
delete = {
showInvalidTypeError = true,
class = 'tmbox-delete',
classes              = {'tmbox'},
image = 'Imbox deletion.png'
allowSmall          = true,
},
imageRightNone      = true,
content = {
imageEmptyCell      = true,
class = 'tmbox-content',
imageEmptyCellStyle  = true,
image = 'Imbox content.png'
templateCategory    = 'Talk message boxes'
},
}
style = {
class = 'tmbox-style',
image = 'Edit-clear.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'
}
},
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 Nonbinary Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Nonbinary Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, 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. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: