Changes

Module:Documentation/config

340 bytes added, 23:13, 27 January 2014
add notes for non-string values
-- cfg['protection-template-args']
-- Any arguments to send to the protection template. This should be a Lua table.-- For example, if the protection template is "pp-template", and the wikitext template invocation-- looks like "{{pp-template|docusage=yes}}", then this table should look like "{docusage = 'yes'}".
cfg['protection-template-args'] = {docusage = 'yes'}
-- cfg['display-print-category']
-- Set to true to enable output of cfg['print-category'] if a /Print subpage exists.
-- This should be a boolean value (either true or false).
cfg['display-print-category'] = true
-- cfg['display-strange-usage-category']
-- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage
-- or a /testcases subpage. This should be a boolean value (either true or false).
cfg['display-strange-usage-category'] = true
Anonymous user