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' | ||
}, | }, | ||
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' | ||
} | } | ||
}, | }, | ||
Line 182: | Line 175: | ||
class = 'ombox-delete', | class = 'ombox-delete', | ||
image = 'Ambox warning pn.svg' | image = 'Ambox warning pn.svg' | ||
}, | }, | ||
content = { | content = { | ||
Line 206: | Line 195: | ||
class = 'ombox-notice', | class = 'ombox-notice', | ||
image = 'Information icon4.svg' | image = 'Information icon4.svg' | ||
} | } | ||
}, | }, |