Changes

Jump to navigation Jump to search
add warning type
local ambox = ---------------------------------------------------------------------------------- Message box configuration ---- ---- This module contains configuration data for [[Module:Message box]]. ---------------------------------------------------------------------------------- return { types ambox = { critical types = { class = 'ambox-speedy', image = 'Ambox speedy deletion.png' }, speedy = { class = 'ambox-speedy', image = 'Ambox speedy deletionwarning pn.pngsvg' }, important = { class = 'ambox-delete', image = 'Ambox deletion.png' }, delete = { class = 'ambox-delete', image = 'Ambox deletionwarning pn.pngsvg' }, warning = {-- alias for content class = 'ambox-content', image = 'Ambox contentimportant.pngsvg' }, content = { class = 'ambox-content', image = 'Ambox contentimportant.pngsvg' }, caution style = { class = 'ambox-style', image = 'Ambox warning yellowEdit-clear.svg' }, style move = { class = 'ambox-stylemove', image = 'Ambox warning yellowMerge-split-transwiki default.svg' }, move protection = { class = 'ambox-moveprotection', image = 'Ambox movePadlock-silver-medium.pngsvg' }, protection notice = { class = 'ambox-protectionnotice', image = 'Ambox protectionInformation icon4.pngsvg' }
},
default = 'notice ', allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'}, class allowSmall = true, smallParam = 'left', smallClass = 'mbox-small-left', substCheck = true, classes = {'metadata', 'plainlinks', 'ambox-notice'}, imageEmptyCell = true, imageCheckBlank = true, image imageSmallSize = 'Ambox notice.png20x20px', imageCellDiv = true, useCollapsibleTextFields = true, }imageRightNone = true, sectionDefault = 'article', license allowMainspaceCategories = {true, class templateCategory = 'ambox-noticeArticle message templates', image templateCategoryRequireName = true, templateErrorCategory = 'Ambox notice.pngArticle message templates with missing parameters', templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
},
default = 'notice', allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'}, 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'}} local cmbox = { types = { critical = { class = 'cmbox-speedy', image = 'Cmbox deletion.png' }, speedy = { class = 'cmbox-speedy', image = 'Cmbox deletionAmbox warning pn.pngsvg' }, important = { class = 'cmbox-delete', image = 'Cmbox deletion.png' }, delete = { class = 'cmbox-delete', image = 'Cmbox deletionAmbox warning pn.pngsvg' }, warning = { class = 'cmbox-content', image = 'Cmbox content.png' }, content = { class = 'cmbox-content', image = 'Cmbox contentAmbox important.pngsvg' }, caution style = { class = 'cmbox-style', image = 'Ambox warning yellowEdit-clear.svg' }, style move = { class = 'cmbox-stylemove', image = 'Ambox warning yellowMerge-split-transwiki default.svg' }, move protection = { class = 'cmbox-moveprotection', image = 'Cmbox movePadlock-silver-medium.pngsvg' }, protection notice = { class = 'cmbox-protectionnotice', image = 'Cmbox protectionInformation icon4.pngsvg' }, notice caution = { class = 'cmbox-noticestyle', image = 'Cmbox noticeAmbox warning yellow.pngsvg' }
},
license = { class default = 'cmbox-notice', image showInvalidTypeError = true, classes = {'Cmbox notice.pngplainlinks', 'cmbox'}, }imageEmptyCell = true
},
default = 'notice', showInvalidTypeError = true, classes = {'plainlinks', 'cmbox'}, imageEmptyCell = true} local fmbox = { types = { warning = { class = 'fmbox-warning', image = 'Cmbox deletionAmbox warning pn.pngsvg' }, editnotice = { class = 'fmbox-editnotice', image = 'Information icon4.svg' }, system = { class = 'fmbox-system', image = 'Imbox noticeInformation icon4.pngsvg' }
},
default = 'system ', showInvalidTypeError = {true, class classes = {'plainlinks', '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 = { class = 'imbox-delete', image = true'Ambox warning pn.svg' }, classes content = { class = 'plainlinksimbox-content', image = 'fmboxAmbox important.svg' }, imageEmptyCell style = { class = false'imbox-style', imageRightNone image = false'Edit-clear.svg' }, move = {local class = 'imbox -move', image = 'Merge-split-transwiki default.svg' }, protection = { types class = 'imbox-protection', image = {'Padlock-silver-medium.svg' }, critical license = { class = 'imbox-speedylicense licensetpl', image = 'Imbox speedy deletionlicense.png'-- @todo We need an SVG version of this }, speedy featured = { class = 'imbox-speedyfeatured', image = 'Imbox speedy deletionCscr-featured.pngsvg' }, important notice = { class = 'imbox-deletenotice', image = 'Imbox deletionInformation icon4.pngsvg' }
},
delete = { class default = 'imbox-deletenotice', image = 'Imbox deletion.png' }, warning showInvalidTypeError = { class = 'imbox-content'true, image = 'Imbox content.png' }, content classes = { class = 'imbox-content', image = 'Imbox content.png' }, caution = { class usePlainlinksParam = 'imbox-style'true, image = 'Ambox warning yellow.svg' }, style imageEmptyCell = { class = 'imbox-style'true, image = 'Ambox warning yellow.svg' }, move = { class below = 'imbox-move'true, image = 'Imbox move.png' }, protection = { class templateCategory = 'imbox-protectionFile message boxes', image = 'Imbox protection.png' }, notice = { class = 'imbox-notice', image = 'Imbox notice.png' }, license = { class = 'imbox-license', image = 'Imbox license.png' }, featured = { class = 'imbox-featured', image = 'Imbox featured.png' }
},
default ombox = 'notice',{ showInvalidTypeError types = true,{ classes speedy = { class = 'imboxombox-speedy'}, usePlainlinksParam image = true'Ambox warning pn.svg' }, imageEmptyCell delete = true,{ below class = true'ombox-delete', templateCategory image = 'File message boxesAmbox warning pn.svg' }, warning = { -- alias for contentlocal class = 'ombox -content', image = {'Ambox important.svg' types = { }, critical content = { class = 'ombox-speedycontent', image = 'Imbox speedy deletionAmbox important.pngsvg' }, speedy style = { class = 'ombox-speedystyle', image = 'Imbox speedy deletionEdit-clear.pngsvg' }, important move = { class = 'ombox-deletemove', image = 'Imbox deletionMerge-split-transwiki default.pngsvg' }, delete protection = { class = 'ombox-deleteprotection', image = 'Imbox deletionPadlock-silver-medium.pngsvg' }, warning notice = { class = 'ombox-contentnotice', image = 'Imbox contentInformation icon4.pngsvg' }, content critical = { class = 'omboxmbox-contentcritical', image = 'Imbox contentAmbox warning pn.pngsvg' }
},
caution = { class default = 'ombox-stylenotice', image showInvalidTypeError = 'Ambox warning yellow.svg' }true, style classes = { class = 'ombox-styleplainlinks', image = 'Ambox warning yellow.svg' }, move = { class = 'ombox-move', image = 'Imbox move.png' }, protection = { class = 'ombox-protection', image allowSmall = 'Imbox protection.png' }true, notice imageEmptyCell = { class = 'ombox-notice'true, image = 'Imbox notice.png' }, license = { 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 = true,{ imageEmptyCell class = true'tmbox-content', imageRightNone image = true'Ambox important.svg' }, style = {local class = 'tmbox -style', image = {'Edit-clear.svg' types = { }, critical move = { class = 'tmbox-speedymove', image = 'Imbox speedy deletionMerge-split-transwiki default.pngsvg' }, speedy protection = { class = 'tmbox-speedyprotection', image = 'Imbox speedy deletionPadlock-silver-medium.pngsvg' }, important notice = { class = 'tmbox-deletenotice', image = 'Imbox deletionInformation icon4.pngsvg' }
},
delete = { class = 'tmbox-delete', image = 'Imbox deletion.png' }, warning = { class = 'tmbox-content', image = 'Imbox content.png' }, 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
}

Navigation menu