Jump to content

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                   = '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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.