Module:Documentation/config: Difference between revisions
Created page with "--<pre> ---------------------------------------------------------------------------------------------------- -- -- '''Configuration for Module:Documentation''' -- -- Here you can set the values of the parameters and messages used in Module:Documentation -- to localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. -- -- @submodule documentation.config -- @alias cfg -------------..." |
from https://dev.fandom.com/wiki/Module:Documentation/config since it is no longer being loaded in |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 47: | Line 47: | ||
--- The file displayed in the sandbox notice. | --- The file displayed in the sandbox notice. | ||
-- @property {string} cfg['sandbox-notice-image'] | -- @property {string} cfg['sandbox-notice-image'] | ||
cfg['sandbox-notice-image'] = 'Icon | cfg['sandbox-notice-image'] = 'Herocrates Character Icon.png' | ||
--[[ | --[[ | ||
| Line 58: | Line 58: | ||
--]] | --]] | ||
cfg['sandbox-notice-pagetype-template'] = 'template draft page' | cfg['sandbox-notice-pagetype-template'] = 'template draft page' | ||
cfg['sandbox-notice-pagetype-module'] = | cfg['sandbox-notice-pagetype-module'] = 'module draft page' | ||
cfg['sandbox-notice-pagetype-other'] = 'draft page' | cfg['sandbox-notice-pagetype-other'] = 'draft page' | ||
| Line 81: | Line 81: | ||
cfg['sandbox-category'] = 'Template Drafts' | cfg['sandbox-category'] = 'Template Drafts' | ||
cfg['sandbox-module-category'] = 'Module Drafts' | cfg['sandbox-module-category'] = 'Module Drafts' | ||
--[[ | |||
-- cfg['sandbox-notice-testcases-blurb'] | |||
-- cfg['sandbox-notice-testcases-link-display'] | |||
-- cfg['sandbox-notice-testcases-run-blurb'] | |||
-- cfg['sandbox-notice-testcases-run-link-display'] | |||
-- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page | |||
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page. | |||
-- cfg['sandbox-notice-testcases-link-display'] is the display value for that link. | |||
-- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page | |||
-- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test | |||
-- cases page, and $2 is a link to the page to run it. | |||
-- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test | |||
-- cases. | |||
--]] | |||
cfg['sandbox-notice-testcases-show'] = false | |||
cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.' | |||
cfg['sandbox-notice-testcases-link-display'] = 'test cases' | |||
cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).' | |||
cfg['sandbox-notice-testcases-run-link-display'] = 'run' | |||
--- A category to add to all template sandboxes. | |||
-- @property {string} cfg['sandbox-category'] | |||
cfg['sandbox-category'] = 'Template sandboxes' | |||
-- ------------------------------------------------------------------------------------------------- | -- ------------------------------------------------------------------------------------------------- | ||
| Line 125: | Line 149: | ||
-- @property {string} cfg['mirror-link-preload'] | -- @property {string} cfg['mirror-link-preload'] | ||
cfg['mirror-link-preload'] = 'Template:Documentation/mirror' | cfg['mirror-link-preload'] = 'Template:Documentation/mirror' | ||
-- ------------------------------------------------------------------------------------------------- | |||
-- Test cases link configuration | |||
-- ------------------------------------------------------------------------------------------------- | |||
--- The name of the template subpage typically used for test cases. | |||
-- @property {string} cfg['testcases-subpage'] | |||
cfg['testcases-subpage'] = 'testcases' | |||
--- Preload file for template test cases pages. | |||
-- @property {string} cfg['template-testcases-preload'] | |||
cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases' | |||
--- Preload file for Lua module test cases pages. | |||
-- @property {string} cfg['module-testcases-preload'] | |||
cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases' | |||
-- ------------------------------------------------------------------------------------------------- | -- ------------------------------------------------------------------------------------------------- | ||