Module:Documentation/config: Difference between revisions
m
1 revision imported
m (5 revisions imported from templatewiki:Module:Documentation/config: Requested.) |
m (1 revision imported) Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
(22 intermediate revisions by 18 users not shown) | |||
Line 32:
-- cfg['sandbox-notice-image']
-- The image displayed in the sandbox notice.
cfg['sandbox-notice-image'] = '[[
--[[
Line 81:
cfg['sandbox-notice-testcases-run-link-display'] = 'run'
-- cfg['sandbox-category'] - A category to add to all template sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all
-- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules.
cfg['sandbox-category'] = 'Template sandboxes'
cfg['module-sandbox-category'] = 'Module sandboxes'
cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace'
----------------------------------------------------------------------------------------------------
Line 135 ⟶ 139:
-- 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 279 ⟶ 283:
-- link to the /doc subpage with a display value of cfg['doc-link-display'].
--]]
cfg['add-categories-blurb'] = '
-- cfg['doc-link-display']
Line 324 ⟶ 328:
-- The name of the subpage typically used for documentation pages.
cfg['doc-subpage'] = 'doc'
-- cfg['docpage-preload']
Line 338:
----------------------------------------------------------------------------------------------------
--
----------------------------------------------------------------------------------------------------
-- 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
-- two child divs documentation and documentation-metadata
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['
▲-- 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['
----------------------------------------------------------------------------------------------------
|