Module:Documentation/config: Difference between revisions
Content deleted Content added
add a message for running test cases |
m 1 revision imported from mw:Module:Documentation/config |
||
(23 intermediate revisions by 11 users not shown) | |||
Line 14:
----------------------------------------------------------------------------------------------------
-- cfg['protection-
-- The protection reason for edit-protected templates to pass to
-- [[Module:Protection banner]].
cfg['protection-
--[[
Line 39 ⟶ 32:
-- cfg['sandbox-notice-image']
-- The image displayed in the sandbox notice.
cfg['sandbox-notice-image'] = '[[
--[[
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-
-- 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 [[Wikipedia:Template documentation|documentation]] is [[
--[[
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'
-- The page to preload when a user clicks the "mirror" link.
----------------------------------------------------------------------------------------------------
Line 263 ⟶ 260:
-- The text to display for test cases "edit" links.
cfg['testcases-edit-link-display'] = 'edit'
-- cfg['testcases-create-link-display']
Line 278 ⟶ 279:
-- link to the /doc subpage with a display value of cfg['doc-link-display'].
--]]
cfg['add-categories-blurb'] = '
-- cfg['doc-link-display']
Line 323 ⟶ 324:
-- The name of the subpage typically used for documentation pages.
cfg['doc-subpage'] = 'doc'
▲-- cfg['file-docpage-preload']
▲cfg['file-docpage-preload'] = 'Template:Documentation/preload-filespace'
-- cfg['docpage-preload']
Line 337 ⟶ 334:
----------------------------------------------------------------------------------------------------
--
----------------------------------------------------------------------------------------------------
-- cfg['
-- The name of the
-- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed.
cfg['templatestyles'] = 'Module:Documentation/styles.css'
-- cfg['
-- Class which can be used to set flex or grid CSS on the
▲-- The text to display when linking to the /Print subpage.
-- two child divs documentation and documentation-metadata
▲cfg['print-link-display'] = '/Print'
cfg['container'] = 'documentation-container'
-- cfg['
cfg['main-div-classes'] = 'documentation'
-- cfg['
-- Class for the main heading for templates and modules and assoc. talk spaces
cfg['main-div-heading-class'] = 'documentation-heading'
-- cfg['
-- Class for the start box
cfg['
-- mw-editsection-like is per [[Wikipedia:Village pump (technical)/Archive 117]]
-- cfg['
--
cfg['
-- cfg['
-- Plainlinks
▲-- The CSS classes added to the main HTML "div" tag.
cfg['
▲-- cfg['start-box-linkclasses']
▲-- The CSS classes used for the [view][edit][history] or [create] links in the start box.
▲cfg['start-box-linkclasses'] = 'mw-editsection-like plainlinks'
▲-- cfg['start-box-link-id']
-- cfg['
-- Class added for toolbar links.
cfg['
-- cfg['
-- Just used to clear things.
cfg['
----------------------------------------------------------------------------------------------------
|