Module:Documentation/config: Difference between revisions
From Video Credit Archive
Content deleted Content added
wikpedia>Mr. Stradivarius remove strange-usage-category-mainspace-sort |
wikpedia>Mr. Stradivarius add notes for non-string values |
||
Line 19:
-- 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'}
Line 306 ⟶ 308:
-- 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
Line 354 ⟶ 357:
-- 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
|