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