Module:Message box/configuration: Difference between revisions
Jump to navigation
Jump to search
metawikimedia>Vogone m 2 revisions imported from w:Module:Message_box/configuration: per RFH |
Updated protection icon, change Line 34,86,149,201,244 image = 'Padlock-silver-medium.svg' to image = 'Semi-protection-shackle-keyhole.svg' |
||
Line 15: | Line 15: | ||
class = 'ambox-delete', | class = 'ambox-delete', | ||
image = 'Ambox warning pn.svg' | image = 'Ambox warning pn.svg' | ||
}, | |||
warning = { -- alias for content | |||
class = 'ambox-content', | |||
image = 'Ambox important.svg' | |||
}, | }, | ||
content = { | content = { | ||
Line 43: | Line 47: | ||
smallClass = 'mbox-small-left', | smallClass = 'mbox-small-left', | ||
substCheck = true, | substCheck = true, | ||
classes = {'metadata', 'ambox'}, | classes = {'metadata', 'plainlinks', 'ambox'}, | ||
imageEmptyCell = true, | imageEmptyCell = true, | ||
imageCheckBlank = true, | imageCheckBlank = true, | ||
Line 55: | Line 59: | ||
templateCategoryRequireName = true, | templateCategoryRequireName = true, | ||
templateErrorCategory = 'Article message templates with missing parameters', | templateErrorCategory = 'Article message templates with missing parameters', | ||
templateErrorParamsToCheck = {'issue', 'fix', 'subst'} | templateErrorParamsToCheck = {'issue', 'fix', 'subst'} | ||
}, | }, | ||
Line 88: | Line 91: | ||
class = 'cmbox-notice', | class = 'cmbox-notice', | ||
image = 'Information icon4.svg' | image = 'Information icon4.svg' | ||
}, | |||
caution = { | |||
class = 'cmbox-style', | |||
image = 'Ambox warning yellow.svg' | |||
} | } | ||
}, | }, | ||
default = 'notice', | default = 'notice', | ||
showInvalidTypeError = true, | showInvalidTypeError = true, | ||
classes = {'cmbox'}, | classes = {'plainlinks', 'cmbox'}, | ||
imageEmptyCell = true | imageEmptyCell = true | ||
}, | }, | ||
Line 113: | Line 120: | ||
default = 'system', | default = 'system', | ||
showInvalidTypeError = true, | showInvalidTypeError = true, | ||
classes = {'fmbox'}, | classes = {'plainlinks', 'fmbox'}, | ||
imageEmptyCell = false, | imageEmptyCell = false, | ||
imageRightNone = false | imageRightNone = false | ||
Line 160: | Line 167: | ||
showInvalidTypeError = true, | showInvalidTypeError = true, | ||
classes = {'imbox'}, | classes = {'imbox'}, | ||
usePlainlinksParam = true, | |||
imageEmptyCell = true, | imageEmptyCell = true, | ||
below = true, | below = true, | ||
Line 174: | Line 182: | ||
class = 'ombox-delete', | class = 'ombox-delete', | ||
image = 'Ambox warning pn.svg' | image = 'Ambox warning pn.svg' | ||
}, | |||
warning = { -- alias for content | |||
class = 'ombox-content', | |||
image = 'Ambox important.svg' | |||
}, | }, | ||
content = { | content = { | ||
Line 194: | Line 206: | ||
class = 'ombox-notice', | class = 'ombox-notice', | ||
image = 'Information icon4.svg' | image = 'Information icon4.svg' | ||
}, | |||
critical = { | |||
class = 'mbox-critical', | |||
image = 'Ambox warning pn.svg' | |||
} | } | ||
}, | }, | ||
default = 'notice', | default = 'notice', | ||
showInvalidTypeError = true, | showInvalidTypeError = true, | ||
classes = {'ombox'}, | classes = {'plainlinks', 'ombox'}, | ||
allowSmall = true, | allowSmall = true, | ||
imageEmptyCell = true, | imageEmptyCell = true, | ||
Line 237: | Line 253: | ||
default = 'notice', | default = 'notice', | ||
showInvalidTypeError = true, | showInvalidTypeError = true, | ||
classes = {'tmbox'}, | classes = {'plainlinks', 'tmbox'}, | ||
allowSmall = true, | allowSmall = true, | ||
imageRightNone = true, | imageRightNone = true, |