Module:Documentation/config

--

-- --                        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.

local cfg = {} -- Do not edit this line.

-- - -- Protection template configuration -- -

--- The protection reason for edit-protected templates to pass -- to Module:Protection banner. cfg['protection-reason-edit'] = 'template'

-- - -- Sandbox notice configuration -- -- On sandbox pages the module can display a template notifying users that the current page is a -- sandbox, and the location of test cases pages, etc. The module decides whether the page is a -- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the -- messages that the notices contains. -- -

-- Not yet converted to the new format

--- Whether to show the sandbox notice on `/sandbox` subpages cfg['sandbox-notice-show'] = false

--- The image displayed in the sandbox notice. cfg['sandbox-notice-image'] = ''

-- -- cfg['sandbox-notice-pagetype-template'] -- cfg['sandbox-notice-pagetype-module'] -- cfg['sandbox-notice-pagetype-other'] -- The page type of the sandbox page. The message that is displayed depends on the current subject -- namespace. This message is used in either cfg['sandbox-notice-blurb'] or -- cfg['sandbox-notice-diff-blurb']. -- cfg['sandbox-notice-pagetype-template'] = 'template sandbox page' cfg['sandbox-notice-pagetype-module'] =  'module sandbox page' cfg['sandbox-notice-pagetype-other'] = 'sandbox page'

-- -- cfg['sandbox-notice-blurb'] -- cfg['sandbox-notice-diff-blurb'] -- cfg['sandbox-notice-diff-display'] -- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence -- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page -- type, which is either cfg['sandbox-notice-pagetype-template'], -- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what -- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between -- the sandbox and the main template. The display value of the diff link is set by -- cfg['sandbox-notice-compare-link-display']. -- cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.' cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).' cfg['sandbox-notice-compare-link-display'] = 'diff'

-- -- 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. cfg['sandbox-category'] = 'Template sandboxes'

-- - -- Start box configuration -- -

--- The wikitext for the icon shown at the top of the template. cfg['documentation-icon-wikitext'] = ''

--- The file name for the icon shown at the top of the template. cfg['documentation-icon'] = 'Template-info.svg'

--- The file name for the icon shown at the top of the template when no /doc subpage exists. cfg['documentation-icon-nodoc'] = 'Template-noinfo.svg'

--- The file name for the icon shown at the top of the template when the documentation is marked as bad. cfg['documentation-icon-baddoc'] = 'Template-badinfo.svg'

-- - -- Sandbox link configuration -- -

--- Whether to show a link to the sandbox subpage cfg['sandbox-subpage-show'] = false

--- The name of the template subpage typically used for sandboxes. cfg['sandbox-subpage'] = 'sandbox'

-- - -- Test cases link configuration -- -

--- The name of the template subpage typically used for test cases. cfg['testcases-subpage'] = 'testcases'

-- - -- Add categories blurb configuration -- -

--- The text to display when linking to the /doc subpage. cfg['doc-link-display'] = '/doc'

-- - -- Doc link configuration -- -

--- The name of the subpage typically used for documentation pages. cfg['doc-subpage'] = 'doc'

--- Preload file for template documentation pages in all namespaces. cfg['docpage-preload'] = 'Template:Documentation/preload'

-- - -- HTML and CSS configuration -- -

--- The "id" attribute of the main HTML "div" tag. cfg['main-div-id'] = 'template-documentation'

--- The CSS classes added to the main HTML "div" tag. cfg['main-div-classes'] = 'template-documentation iezoomfix'

--- The CSS classes used for the start box "div" tag. cfg['start-box-div-classes'] = 'template-documentation-header'

--- The CSS classes used for the [view][edit][history] or [create] links in the start box. cfg['start-box-linkclasses'] = 'mw-editsection-like plainlinks'

--- The HTML "id" attribute for the links in the start box. cfg['start-box-link-id'] = 'doc_editlinks'

--- The CSS classes used for the languages list. cfg['languages-list-div-classes'] = 'template-documentation-langs'

--- The CSS classes used for the content box "div" tag. cfg['content-box-div-classes'] = 'template-documentation-content'

--- The "id" attribute of the end box HTML "div" tag. cfg['end-box-div-id'] = 'documentation-meta-data'

--- The CSS classes used for the end box "div" tag. cfg['end-box-div-classes'] = 'template-documentation-footer transclude-notice-bottom plainlinks'

-- - -- Tracking category configuration -- -

--- 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

--- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a -- /doc subpage or a /testcases subpage. cfg['strange-usage-category'] = 'Pages with strange ((documentation)) usage'

--- Category to output if the /doc subpage is missing and the 'content' parameter is not specified cfg['nodoc-category-template'] = 'Templates without documentation' cfg['nodoc-category-module'] = 'Modules with no documentation' cfg['nodoc-category-file'] = 'Files with no summary'

--- Category to output if the documentation is marked as bad cfg['baddoc-category-template'] = 'Templates with bad documentation' cfg['baddoc-category-module'] = 'Modules with bad documentation' cfg['baddoc-category-file'] = 'Files with bad summary' cfg['baddoc-category-other'] = 'Pages with bad documentation'

-- - -- End configuration -- -- Don't edit anything below this line. -- -

return cfg --