Module:Message box/configuration: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(allow issue, fix and subst to be blank for ambox) |
(add a config option to require the name parameter for template categories) |
||
Line 30: | Line 30: | ||
} |
} |
||
}, |
}, |
||
default = 'notice', |
default = 'notice', |
||
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst'}, |
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst'}, |
||
allowSmall = true, |
allowSmall = true, |
||
smallParam = 'left', |
smallParam = 'left', |
||
smallClass = 'mbox-small-left', |
smallClass = 'mbox-small-left', |
||
substCheck = true, |
substCheck = true, |
||
classes = {'metadata', 'plainlinks', 'ambox'}, |
classes = {'metadata', 'plainlinks', 'ambox'}, |
||
imageEmptyCell = true, |
imageEmptyCell = true, |
||
imageCheckBlank = true, |
imageCheckBlank = true, |
||
imageSmallSize = '20x20px', |
imageSmallSize = '20x20px', |
||
imageCellDiv = true, |
imageCellDiv = true, |
||
useCollapsibleTextFields = true, |
useCollapsibleTextFields = true, |
||
imageRightNone = true, |
imageRightNone = true, |
||
sectionDefault = 'article', |
sectionDefault = 'article', |
||
allowMainspaceCategories = true, |
allowMainspaceCategories = true, |
||
templateCategory = 'Article message templates', |
templateCategory = 'Article message templates', |
||
templateCategoryRequireName = true, |
|||
templateErrorCategory = 'Article message templates with missing parameters', |
templateErrorCategory = 'Article message templates with missing parameters', |
||
templateErrorParamsToCheck = {'issue', 'fix', 'subst'} |
templateErrorParamsToCheck = {'issue', 'fix', 'subst'} |
||
} |
} |
||