Module:Documentation/config: Difference between revisions
m
4 revisions imported: import clickable buttons 2
(per talk) |
m (4 revisions imported: import clickable buttons 2) |
||
(17 intermediate revisions by 10 users not shown) | |||
Line 14:
----------------------------------------------------------------------------------------------------
-- cfg['protection-
-- The protection reason for edit-protected templates to pass to
-- [[Module:Protection banner]].
cfg['protection-
--[[
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 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']
|