Module:Documentation/config: Difference between revisions
m
12 revisions imported from templatewiki:Module:Documentation/config: see Topic:Vtixlm0q28eo6jtf
(Created page with "---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation...") |
m (12 revisions imported from templatewiki:Module:Documentation/config: see Topic:Vtixlm0q28eo6jtf) |
||
| (36 intermediate revisions by 24 users not shown) | |||
| Line 7: | Line 7: | ||
-- should be string values. | -- should be string values. | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
local cfg = {} -- Do not edit this line. | local cfg = {} -- Do not edit this line. | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
-- Protection template configuration | -- Protection template configuration | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
-- cfg['protection- | -- cfg['protection-reason-edit'] | ||
-- The | -- The protection reason for edit-protected templates to pass to | ||
-- [[Module:Protection banner]]. | |||
cfg['protection-reason-edit'] = 'template' | |||
--[[ | |||
cfg['protection- | |||
--[[ | --[[ | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
| Line 36: | Line 29: | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
--]] | --]] | ||
-- cfg['sandbox-notice-image'] | -- cfg['sandbox-notice-image'] | ||
-- The image displayed in the sandbox notice. | -- The image displayed in the sandbox notice. | ||
cfg['sandbox-notice-image'] = '[[ | cfg['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]' | ||
--[[ | --[[ | ||
-- cfg['sandbox-notice-pagetype-template'] | -- cfg['sandbox-notice-pagetype-template'] | ||
| Line 52: | Line 45: | ||
cfg['sandbox-notice-pagetype-module'] = '[[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' | ||
--[[ | --[[ | ||
-- cfg['sandbox-notice-blurb'] | -- cfg['sandbox-notice-blurb'] | ||
| Line 68: | Line 61: | ||
cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).' | cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).' | ||
cfg['sandbox-notice-compare-link-display'] = 'diff' | cfg['sandbox-notice-compare-link-display'] = 'diff' | ||
--[[ | --[[ | ||
-- cfg['sandbox-notice-testcases-blurb'] | -- cfg['sandbox-notice-testcases-blurb'] | ||
-- cfg['sandbox-notice-testcases-link-display'] | -- 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 | -- 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. | -- 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-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-blurb'] = 'See also the companion subpage for $1.' | cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.' | ||
cfg['sandbox-notice-testcases-link-display'] = 'test cases' | 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' | |||
-- cfg['sandbox-category'] | -- cfg['sandbox-category'] | ||
-- A category to add to all template sandboxes. | -- A category to add to all template sandboxes. | ||
cfg['sandbox-category'] = 'Template sandboxes' | cfg['sandbox-category'] = 'Template sandboxes' | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
-- Start box configuration | -- Start box configuration | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
-- cfg['documentation-icon-wikitext'] | -- cfg['documentation-icon-wikitext'] | ||
-- The wikitext for the icon shown at the top of the template. | -- The wikitext for the icon shown at the top of the template. | ||
cfg['documentation-icon-wikitext'] = '[[File:Template- | cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' | ||
-- cfg['template-namespace-heading'] | -- cfg['template-namespace-heading'] | ||
-- The heading shown in the template namespace. | -- The heading shown in the template namespace. | ||
cfg['template-namespace-heading'] = 'Template documentation' | cfg['template-namespace-heading'] = 'Template documentation' | ||
-- cfg['module-namespace-heading'] | -- cfg['module-namespace-heading'] | ||
-- The heading shown in the module namespace. | -- The heading shown in the module namespace. | ||
cfg['module-namespace-heading'] = 'Module documentation' | cfg['module-namespace-heading'] = 'Module documentation' | ||
-- cfg['file-namespace-heading'] | -- cfg['file-namespace-heading'] | ||
-- The heading shown in the file namespace. | -- The heading shown in the file namespace. | ||
cfg['file-namespace-heading'] = 'Summary' | cfg['file-namespace-heading'] = 'Summary' | ||
-- cfg['other-namespaces-heading'] | -- cfg['other-namespaces-heading'] | ||
-- The heading shown in other namespaces. | -- The heading shown in other namespaces. | ||
cfg['other-namespaces-heading'] = 'Documentation' | cfg['other-namespaces-heading'] = 'Documentation' | ||
-- cfg['view-link-display'] | -- cfg['view-link-display'] | ||
-- The text to display for "view" links. | -- The text to display for "view" links. | ||
cfg['view-link-display'] = 'view' | cfg['view-link-display'] = 'view' | ||
-- cfg['edit-link-display'] | -- cfg['edit-link-display'] | ||
-- The text to display for "edit" links. | -- The text to display for "edit" links. | ||