Module:Message box/configuration: Difference between revisions

Jump to navigation Jump to search
m>Mr. Stradivarius
split data functions from Module:Message box
 
m>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'}