Module:Message box/configuration: Difference between revisions

m
1 revision imported
(add warning type)
m (1 revision imported)
 
(7 intermediate revisions by 3 users not shown)
Line 15:
class = 'ambox-delete',
image = 'Ambox warning pn.svg'
},
warning = { -- alias for content
class = 'ambox-content',
image = 'Ambox important.svg'
},
content = {
Line 47 ⟶ 43:
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'plainlinks', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
Line 59 ⟶ 55:
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]]'
},
Line 91 ⟶ 88:
class = 'cmbox-notice',
image = 'Information icon4.svg'
},
caution = {
class = 'cmbox-style',
image = 'Ambox warning yellow.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'cmbox'},
imageEmptyCell = true
},
Line 120 ⟶ 113:
default = 'system',
showInvalidTypeError = true,
classes = {'plainlinks', 'fmbox'},
imageEmptyCell = false,
imageRightNone = false
Line 167 ⟶ 160:
showInvalidTypeError = true,
classes = {'imbox'},
usePlainlinksParam = true,
imageEmptyCell = true,
below = true,
Line 182 ⟶ 174:
class = 'ombox-delete',
image = 'Ambox warning pn.svg'
},
warning = { -- alias for content
class = 'ombox-content',
image = 'Ambox important.svg'
},
content = {
Line 206 ⟶ 194:
class = 'ombox-notice',
image = 'Information icon4.svg'
},
critical = {
class = 'mbox-critical',
image = 'Ambox warning pn.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'ombox'},
allowSmall = true,
imageEmptyCell = true,
Line 253 ⟶ 237:
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'tmbox'},
allowSmall = true,
imageRightNone = true,