Module:Lua banner/config: Difference between revisions

m
1 revision imported
m (1 revision imported)
m (1 revision imported)
 
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'] = true
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 45: Line 45:
cfg['module_categories'] = {
cfg['module_categories'] = {
['String'] = 'Lua String-based templates',
['String'] = 'Lua String-based templates',
['Iteration'] = 'Lua-based iteration templates',
}
}


return cfg -- Don’t touch this line.
return cfg -- Don’t touch this line.