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 = {
--                                                                            --
speedy = {
-- This module contains configuration data for [[Module:Message box]].       --
class = 'ambox-speedy',
--------------------------------------------------------------------------------
image = 'Ambox speedy deletion.png'
},
delete = {
class = 'ambox-delete',
image = 'Ambox deletion.png'
},
content = {
class = 'ambox-content',
image = 'Ambox content.png'
},
style = {
class = 'ambox-style',
image = 'Edit-clear.svg'
},
move = {
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',
allowBlankParams            = {'talk', 'sect', 'date', 'issue', 'fix', 'subst'},
allowSmall                  = true,
smallParam                  = 'left',
smallClass                  = 'mbox-small-left',
substCheck                  = true,
classes                    = {'metadata', 'plainlinks', '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'}
}


return {
local cmbox = {
ambox = {
types = {
types = {
speedy = {
speedy = {
class = 'cmbox-speedy',
class = 'ambox-speedy',
image = 'Cmbox deletion.png'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'cmbox-delete',
class = 'ambox-delete',
image = 'Cmbox deletion.png'
image = 'Ambox warning pn.svg'
},
},
content = {
content = {
class = 'cmbox-content',
class = 'ambox-content',
image = 'Cmbox content.png'
image = 'Ambox important.svg'
},
},
style = {
style = {
class = 'cmbox-style',
class = 'ambox-style',
image = 'Edit-clear.svg'
image = 'Edit-clear.svg'
},
},
move = {
move = {
class = 'cmbox-move',
class = 'ambox-move',
image = 'Cmbox move.png'
image = 'Merge-split-transwiki default.svg'
},
},
protection = {
protection = {
class = 'cmbox-protection',
class = 'ambox-protection',
image = 'Cmbox protection.png'
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 = 'cmbox-notice',
allowSmall                  = true,
image = 'Cmbox 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 = {
showInvalidTypeError = true,
types = {
classes              = {'plainlinks', 'cmbox'},
speedy = {
imageEmptyCell      = true
class = 'cmbox-speedy',
}
image = 'Ambox warning pn.svg'
 
},
local fmbox = {
delete = {
types = {
class = 'cmbox-delete',
warning = {
image = 'Ambox warning pn.svg'
class = 'fmbox-warning',
},
image = 'Cmbox deletion.png'
content = {
class = 'cmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'cmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'cmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'cmbox-notice',
image = 'Information icon4.svg'
}
},
},
default              = 'notice',
editnotice = {
showInvalidTypeError = true,
class = 'fmbox-editnotice',
classes              = {'cmbox'},
image = 'Imbox notice.png'
imageEmptyCell      = true,
},
templatestyles      = 'Module:Message box/cmbox.css'
system = {
class = 'fmbox-system',
image = 'Imbox notice.png'
}
},
},
default              = 'system',
fmbox = {
showInvalidTypeError = true,
types = {
allowId                = true,
warning = {
classes              = {'plainlinks', 'fmbox'},
class = 'fmbox-warning',
imageEmptyCell      = false,
image = 'Ambox warning pn.svg'
imageRightNone      = false
},
}
editnotice = {
 
class = 'fmbox-editnotice',
local imbox = {
image = 'Information icon4.svg'
types = {
},
speedy = {
system = {
class = 'imbox-speedy',
class = 'fmbox-system',
image = 'Imbox speedy deletion.png'
image = 'Information icon4.svg'
},
}
delete = {
class = 'imbox-delete',
image = 'Imbox deletion.png'
},
content = {
class = 'imbox-content',
image = 'Imbox content.png'
},
style = {
class = 'imbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'imbox-move',
image = 'Imbox move.png'
},
},
default              = 'system',
protection = {
showInvalidTypeError = true,
class = 'imbox-protection',
classes              = {'fmbox'},
image = 'Imbox protection.png'
imageEmptyCell      = false,
},
imageRightNone      = false,
license = {
templatestyles      = 'Module:Message box/fmbox.css'
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',
imbox = {
showInvalidTypeError = true,
types = {
classes              = {'imbox'},
speedy = {
usePlainlinksParam  = true,
class = 'imbox-speedy',
imageEmptyCell      = true,
image = 'Ambox warning pn.svg'
below                = true,
},
templateCategory    = 'File message boxes'
delete = {
}
class = 'imbox-delete',
 
image = 'Ambox warning pn.svg'
local ombox = {
},
types = {
content = {
speedy = {
class = 'imbox-content',
class = 'ombox-speedy',
image = 'Ambox important.svg'
image = 'Imbox speedy deletion.png'
},
},
style = {
delete = {
class = 'imbox-style',
class = 'ombox-delete',
image = 'Edit-clear.svg'
image = 'Imbox deletion.png'
},
move = {
class = 'imbox-move',
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',
content = {
showInvalidTypeError = true,
class = 'ombox-content',
classes              = {'imbox'},
image = 'Imbox content.png'
imageEmptyCell      = true,
},
below                = true,
style = {
templateCategory    = 'File message boxes',
class = 'ombox-style',
templatestyles      = 'Module:Message box/imbox.css'
image = 'Edit-clear.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'
}
},
},
default              = 'notice',
ombox = {
showInvalidTypeError = true,
types = {
classes              = {'plainlinks', 'ombox'},
speedy = {
allowSmall          = true,
class = 'ombox-speedy',
imageEmptyCell      = true,
image = 'Ambox warning pn.svg'
imageRightNone      = true
},
}
delete = {
 
class = 'ombox-delete',
local tmbox = {
image = 'Ambox warning pn.svg'
types = {
},
speedy = {
content = {
class = 'tmbox-speedy',
class = 'ombox-content',
image = 'Imbox speedy deletion.png'
image = 'Ambox important.svg'
},
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',
delete = {
showInvalidTypeError = true,
class = 'tmbox-delete',
classes              = {'ombox'},
image = 'Imbox deletion.png'
allowSmall          = true,
},
imageEmptyCell      = true,
content = {
imageRightNone      = true,
class = 'tmbox-content',
templatestyles      = 'Module:Message box/ombox.css'
image = 'Imbox content.png'
},
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',
tmbox = {
showInvalidTypeError = true,
types = {
classes              = {'plainlinks', 'tmbox'},
speedy = {
allowSmall          = true,
class = 'tmbox-speedy',
imageRightNone      = true,
image = 'Ambox warning pn.svg'
imageEmptyCell      = true,
},
imageEmptyCellStyle  = true,
delete = {
templateCategory    = 'Talk message boxes'
class = 'tmbox-delete',
}
image = 'Ambox warning pn.svg'
 
},
return {
content = {
ambox = ambox,
class = 'tmbox-content',
cmbox = cmbox,
image = 'Ambox important.svg'
fmbox = fmbox,
},
imbox = imbox,
style = {
ombox = ombox,
class = 'tmbox-style',
tmbox = tmbox
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'
}
}
}
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: