Module:Documentation/config: Difference between revisions
m
4 revisions imported: import clickable buttons 2
(mirror latest WP changes) |
m (4 revisions imported: import clickable buttons 2) |
||
(16 intermediate revisions by 9 users not shown) | |||
Line 14:
----------------------------------------------------------------------------------------------------
-- cfg['protection-
-- The protection reason for edit-protected templates to pass to
-- [[Module:Protection banner]].
cfg['protection-
--[[
Line 49 ⟶ 42:
-- cfg['sandbox-notice-diff-blurb'].
--]]
cfg['sandbox-notice-pagetype-template'] = '[[
cfg['sandbox-notice-pagetype-module'] = '[[
cfg['sandbox-notice-pagetype-other'] = 'sandbox page'
Line 98 ⟶ 91:
-- cfg['documentation-icon-wikitext']
-- The wikitext for the icon shown at the top of the template.
cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=
-- cfg['template-namespace-heading']
Line 142 ⟶ 135:
-- cfg['transcluded-from-blurb']
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page.
cfg['transcluded-from-blurb'] = 'The above [[
--[[
Line 150 ⟶ 143:
-- display cfg['create-link-display'].
--]]
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[
----------------------------------------------------------------------------------------------------
Line 186 ⟶ 179:
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format:
--
-- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display'])
--
-- If the test cases page doesn't exist, it is in the format:
Line 239 ⟶ 232:
-- The text to display for "mirror" links.
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 263 ⟶ 260:
-- The text to display for test cases "edit" links.
cfg['testcases-edit-link-display'] = 'edit'
-- cfg['testcases-run-link-display']
-- The text to display for test cases "run" links.
cfg['testcases-run-link-display'] = 'run'
-- cfg['testcases-create-link-display']
Line 350 ⟶ 351:
-- cfg['print-blurb']
-- Text to display if a /Print subpage exists. $1 is a link to the subpage with a display value of cfg['print-link-display'].
cfg['print-blurb'] = 'A [[
.. ' If you make a change to this template, please update the print version as well.'
Line 410 ⟶ 411:
-- 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'] = '
--[[
|