Module:Uses TemplateStyles/config: Difference between revisions

None of these categories exist
m (Protected "Module:Uses TemplateStyles/config": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
(None of these categories exist)
Line 23:
-- (e.g. no stylesheet listed). A category name without namespace, or nil
-- to disable categorization (not recommended).
cfg['error_category'] = 'Uses TemplateStyles templates with errors'nil
 
-- Default category: this category is added if no custom category is specified
-- in module/template call. A category name without namespace, or nil
-- to disable categorization.
cfg['default_category'] = 'Templates using TemplateStyles'nil
 
-- Protection conflict category: this category is added if the protection level
-- of any stylesheet differs from the one of the template. A category name
-- without namespace, or nil to disable categorization (not recommended).
cfg['protection_conflict_category'] = 'Templates using TemplateStyles with a different protection level'nil
 
-- Padlock pattern: Lua pattern to search on protected stylesheets for, or nil
-- to disable padlock check.
cfg['padlock_pattern'] = '{{pp-'nil
 
-- Missing padlock category: this category is added if a protected stylesheet
Line 43:
-- A category name without namespace (no nil allowed) if the pattern is not nil,
-- unused (and thus may be nil) otherwise.
cfg['missing_padlock_category'] = 'Templates using TemplateStyles without padlocks'nil
 
return cfg -- Don’t touch this line.
Anonymous user