Module:Message box/configuration: Difference between revisions

add removalNotice field to ambox
(add warning type)
m>Mr. Stradivarius
(add removalNotice field to ambox)
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 59: Line 55:
        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'},
removalNotice              = '[[Help:Maintenance template removal|Learn how and when to remove this template message]].'
},
},
Line 91: Line 88:
class = 'cmbox-notice',
class = 'cmbox-notice',
image = 'Information icon4.svg'
image = 'Information icon4.svg'
},
caution = {
class = 'cmbox-style',
image = 'Ambox warning yellow.svg'
}
}
},
},
Line 182: Line 175:
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 206: Line 195:
class = 'ombox-notice',
class = 'ombox-notice',
image = 'Information icon4.svg'
image = 'Information icon4.svg'
},
critical = {
class = 'mbox-critical',
image = 'Ambox warning pn.svg'
}
}
},
},
Anonymous user