Open main menu

Changes

Module:Message box/configuration

838 bytes added, 01:26, 10 September 2019
m
26 revisions imported
local ---------------------------------------------------------------------------------- Message box configuration ---- ---- This module contains configuration data for [[Module:Message box]]. ---------------------------------------------------------------------------------- return { ambox = { types = { speedy = { class = 'ambox-speedy', image = 'Ambox speedy deletionwarning pn.pngsvg' }, delete = { class = 'ambox-delete', image = 'Ambox deletionwarning pn.pngsvg' }, content = { class = 'ambox-content', image = 'Ambox contentimportant.pngsvg' }, style = { class = 'ambox-style', image = 'Edit-clear.svg' }, move = { class = 'ambox-move', image = 'Merge-split-transwiki default.svg' }, protection = { class = 'ambox-moveprotection', image = 'Semi-protection-shackle-keyhole.svg' }, notice = { class = 'ambox-notice', image = 'Ambox moveInformation icon4.pngsvg' }
},
protection default = 'notice', allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'}, class allowSmall = true, smallParam = 'left', smallClass = 'amboxmbox-small-protectionleft', image substCheck = true, classes = {'metadata', 'Ambox protection.pngambox'}, }imageEmptyCell = true, imageCheckBlank = true, imageSmallSize = '20x20px', imageCellDiv = true, useCollapsibleTextFields = true, imageRightNone = true, sectionDefault = 'article', notice allowMainspaceCategories = {true, class templateCategory = 'ambox-noticeArticle message templates', image templateCategoryRequireName = true, templateErrorCategory = 'Ambox notice.pngArticle message templates with missing parameters', templateErrorParamsToCheck = {'issue', 'fix', 'subst'}, removalNotice = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
},
default cmbox = 'notice',{ allowBlankParams types = {'talk', 'sect', 'date', 'issue', 'fix', 'subst'}, allowSmall speedy = true,{ smallParam class = 'leftcmbox-speedy', smallClass image = 'mbox-small-leftAmbox warning pn.svg' }, substCheck delete = true,{ classes class = {'metadatacmbox-delete', image = 'plainlinks', 'amboxAmbox warning pn.svg' }, imageEmptyCell content = true,{ imageCheckBlank class = true'cmbox-content', imageSmallSize image = '20x20pxAmbox important.svg', imageCellDiv = true }, useCollapsibleTextFields style = true,{ imageRightNone class = true'cmbox-style', sectionDefault image = 'articleEdit-clear.svg' }, allowMainspaceCategories move = true,{ templateCategory class = 'Article message templatescmbox-move', templateErrorCategory image = 'Article message templates with missing parametersMerge-split-transwiki default.svg' }, templateErrorParamsToCheck protection = { class = 'issuecmbox-protection', image = 'fix', 'substSemi-protection-shackle-keyhole.svg'} }, local cmbox = { types = { speedy notice = { class = 'cmbox-speedynotice', image = 'Cmbox deletionInformation icon4.pngsvg' }
},
delete = { class default = 'cmbox-deletenotice', image = 'Cmbox deletion.png' }, content = { class showInvalidTypeError = 'cmbox-content'true, image = 'Cmbox content.png' }, style classes = { class = 'cmbox-style', image = 'Edit-clear.svg' }, move = { class imageEmptyCell = 'cmbox-move', image = 'Cmbox move.png' }, protection = { class = 'cmbox-protection', image = 'Cmbox protection.png' }, notice = { class = 'cmbox-notice', image = 'Cmbox notice.png' }true
},
default fmbox = 'notice',{ showInvalidTypeError types = true,{ classes warning = { class = 'plainlinksfmbox-warning', image = 'cmboxAmbox warning pn.svg' }, imageEmptyCell editnotice = true{} class = 'fmbox-editnotice', local fmbox image = {'Information icon4.svg' types = { }, warning system = { class = 'fmbox-warningsystem', image = 'Cmbox deletionInformation icon4.pngsvg' }
},
editnotice = { class default = 'fmbox-editnoticesystem', image showInvalidTypeError = 'Imbox notice.png' }true, system classes = { class = 'fmbox-system'}, image imageEmptyCell = 'Imbox notice.png'false, }imageRightNone = false
},
default imbox = { types = { speedy = { class = 'systemimbox-speedy', showInvalidTypeError image = true'Ambox warning pn.svg' }, allowId delete = true,{ classes class = {'plainlinksimbox-delete', image = 'fmboxAmbox warning pn.svg' }, imageEmptyCell content = { class = false'imbox-content', imageRightNone image = false'Ambox important.svg' }, style = {local class = 'imbox -style', image = {'Edit-clear.svg' types = { }, speedy move = { class = 'imbox-speedymove', image = 'Imbox speedy deletionMerge-split-transwiki default.pngsvg' }, delete protection = { class = 'imbox-deleteprotection', image = 'Imbox deletionSemi-protection-shackle-keyhole.pngsvg' }, content license = { class = 'imbox-contentlicense licensetpl', image = 'Imbox contentlicense.png'-- @todo We need an SVG version of this }, style featured = { class = 'imbox-stylefeatured', image = 'EditCscr-clearfeatured.svg' }, move notice = { class = 'imbox-movenotice', image = 'Imbox moveInformation icon4.pngsvg' }
},
protection = { class default = 'imbox-protectionnotice', image showInvalidTypeError = 'Imbox protection.png' }true, license classes = { class = 'imbox-license', image = 'Imbox license.png' }, featured = { class imageEmptyCell = 'imbox-featured'true, image below = 'Imbox featured.png' }true, notice = { class templateCategory = 'imbox-notice', image = File message boxes'Imbox notice.png' }
},
default ombox = { types = { speedy = { class = 'noticeombox-speedy', showInvalidTypeError image = true'Ambox warning pn.svg' }, classes delete = { class = 'ombox-delete', image = 'imboxAmbox warning pn.svg' }, usePlainlinksParam content = { class = true'ombox-content', imageEmptyCell image = true'Ambox important.svg' }, below style = { class = true'ombox-style', templateCategory image = 'File message boxesEdit-clear.svg' }, move = {local class = 'ombox -move', image = {'Merge-split-transwiki default.svg' types = { }, speedy protection = { class = 'ombox-speedyprotection', image = 'Imbox speedy deletionSemi-protection-shackle-keyhole.pngsvg' }, delete notice = { class = 'ombox-deletenotice', image = 'Imbox deletionInformation icon4.pngsvg' }
},
content = { class default = 'ombox-contentnotice', image showInvalidTypeError = 'Imbox content.png' }true, style classes = { class = 'ombox-style', image = 'Edit-clear.svg' }, move = { class allowSmall = 'ombox-move'true, image = 'Imbox move.png' }, protection = { class = 'ombox-protection', image imageEmptyCell = 'Imbox protection.png' }true, notice = { class = 'ombox-notice', image imageRightNone = 'Imbox notice.png' }true
},
default tmbox = { types = { speedy = { class = 'noticetmbox-speedy', showInvalidTypeError image = true'Ambox warning pn.svg' }, classes delete = { class = 'plainlinkstmbox-delete', image = 'omboxAmbox warning pn.svg' }, allowSmall content = { class = true'tmbox-content', imageEmptyCell image = true'Ambox important.svg' }, imageRightNone style = { class = 'tmbox-style', image = true'Edit-clear.svg' }, move = {local class = 'tmbox -move', image = 'Merge-split-transwiki default.svg' }, protection = { types class = 'tmbox-protection', image = {'Semi-protection-shackle-keyhole.svg' }, speedy notice = { class = 'tmbox-speedynotice', image = 'Imbox speedy deletionInformation icon4.pngsvg' }
},
delete = { class = 'tmbox-delete', image = 'Imbox deletion.png' }, content = { class = 'tmbox-content', 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', showInvalidTypeError = true, classes = {'plainlinks', 'tmbox'}, 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
}