Module:Message box/configuration: Difference between revisions

add ambox parameters to allow as blank, plus the ambox template category
en>Mr. Stradivarius
(split data functions from Module:Message box)
 
en>Mr. Stradivarius
(add ambox parameters to allow as blank, plus the ambox template category)
Line 31: Line 31:
     },
     },
     default = 'notice',
     default = 'notice',
    allowBlankParams = {'talk', 'sect', 'date'},
     allowSmall = true,
     allowSmall = true,
     smallClass = 'mbox-small-left',
     smallClass = 'mbox-small-left',
Line 43: Line 44:
     sectionDefault = 'article',
     sectionDefault = 'article',
     allowMainspaceCategories = true,
     allowMainspaceCategories = true,
    templateCategory = 'Article message templates',
     templateErrorCategory = 'Article message templates with missing parameters',
     templateErrorCategory = 'Article message templates with missing parameters',
     templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
     templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
Anonymous user