Module:Message box/configuration: Difference between revisions

add removalNotice field to ambox
(add warning type)
(add removalNotice field to ambox)
Line 15:
class = 'ambox-delete',
image = 'Ambox warning pn.svg'
},
warning = { -- alias for content
class = 'ambox-content',
image = 'Ambox important.svg'
},
content = {
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'
}
},
Line 182 ⟶ 175:
class = 'ombox-delete',
image = 'Ambox warning pn.svg'
},
warning = { -- alias for content
class = 'ombox-content',
image = 'Ambox important.svg'
},
content = {
Line 206 ⟶ 195:
class = 'ombox-notice',
image = 'Information icon4.svg'
},
critical = {
class = 'mbox-critical',
image = 'Ambox warning pn.svg'
}
},
Anonymous user