Module:Documentation/config: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 13: Line 13:
-- Protection template configuration
-- Protection template configuration
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
-- cfg['protection-template']
-- The name of the template that displays the protection icon (a padlock on enwiki).
cfg['protection-template'] = 'pp-template'


-- cfg['protection-reason-edit']
-- cfg['protection-reason-edit']
Line 42: Line 46:
-- cfg['sandbox-notice-diff-blurb'].
-- cfg['sandbox-notice-diff-blurb'].
--]]
--]]
cfg['sandbox-notice-pagetype-template'] = '[[w:Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-module'] = '[[w:Wikipedia:Template test cases|module sandbox]] page'
cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page'
cfg['sandbox-notice-pagetype-other'] = 'sandbox page'
cfg['sandbox-notice-pagetype-other'] = 'sandbox page'


Line 232: Line 236:
-- The text to display for "mirror" links.
-- The text to display for "mirror" links.
cfg['mirror-link-display'] = 'mirror'
cfg['mirror-link-display'] = 'mirror'
-- cfg['mirror-link-preload']
-- The page to preload when a user clicks the "mirror" link.
cfg['mirror-link-preload'] = 'Template:Documentation/mirror'


----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Line 389: Line 389:
-- cfg['fmbox-style']
-- cfg['fmbox-style']
-- The value sent to the style parameter of {{fmbox}}.
-- The value sent to the style parameter of {{fmbox}}.
cfg['fmbox-style'] = 'clear: both; margin: 0.2em 0; width: 100%; border: 1px solid #aaa; background: #ecfcf4'
cfg['fmbox-style'] = 'background-color: #ecfcf4'


-- cfg['fmbox-textstyle']
-- cfg['fmbox-textstyle']
Anonymous user