Module:Lua banner/config: Difference between revisions
From Test Wiki
Content deleted Content added
←Created page with 'local cfg = {} -- Don’t touch this line. -- Subpage blacklist: these subpages will not be categorized (except for the -- error category, which is always adde...' |
m>Veritas Sapientiae m 1 revision imported from commons:Module:Lua_banner/config |
||
| Line 20: | Line 20: | ||
-- added. If false, such calls are invalid, an error message appears, and |
-- added. If false, such calls are invalid, an error message appears, and |
||
-- cfg['error_category'] is added. |
-- cfg['error_category'] is added. |
||
cfg['allow_wishes'] = |
cfg['allow_wishes'] = false |
||
-- Default category: this category is added if the module call contains errors |
-- Default category: this category is added if the module call contains errors |
||
| Line 30: | Line 30: | ||
-- allowed. (Not used if wishes are not allowed.) A category name without |
-- allowed. (Not used if wishes are not allowed.) A category name without |
||
-- namespace, or nil to disable categorization. |
-- namespace, or nil to disable categorization. |
||
cfg['wish_category'] = |
cfg['wish_category'] = nil |
||
-- Default category: this category is added if none of the below module_categories |
-- Default category: this category is added if none of the below module_categories |
||
| Line 44: | Line 44: | ||
-- table (i.e. no module-based categorization) will suffice on smaller wikis. |
-- table (i.e. no module-based categorization) will suffice on smaller wikis. |
||
cfg['module_categories'] = { |
cfg['module_categories'] = { |
||
[' |
['Citation'] = 'Lua-based citation templates', |
||
[' |
['Citation/CS1'] = 'Lua-based citation templates', |
||
} |
} |
||