Difference between revisions of "Module:Message box/configuration"

Jump to navigation Jump to search
add 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                   = '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',
templateErrorCategory     = 'Article message templates with missing parameters',
        templateCategoryRequireName = true,
templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
templateErrorCategory       = 'Article message templates with missing parameters',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
}
}


Anonymous user

Navigation menu