Difference between revisions of "Module:Message box/configuration"
Jump to navigation
Jump to search
Module:Message box/configuration (view source)
Revision as of 15:02, 13 October 2013
, 15:02, 13 October 2013add a config option to require the name parameter for template categories
>Mr. Stradivarius (allow issue, fix and subst to be blank for ambox) |
>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'} | |||
} | } | ||