Open main menu

Changes

Module:Documentation/config

875 bytes removed, 19 January
m
1 revision imported
-- cfg['sandbox-notice-image']
-- The image displayed in the sandbox notice.
cfg['sandbox-notice-image'] = '[[ImageFile:Sandbox.svg|50px|alt=|link=]]'
--[[
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 template module sandboxes.-- 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'
 
----------------------------------------------------------------------------------------------------
-- 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 [[WikipediaHelp:Transclusion|transcluded]] from $1.'
--[[
-- link to the /doc subpage with a display value of cfg['doc-link-display'].
--]]
cfg['add-categories-blurb'] = 'Please add Add categories to the $1 subpage.'
-- cfg['doc-link-display']
-- The name of the subpage typically used for documentation pages.
cfg['doc-subpage'] = 'doc'
 
-- cfg['file-docpage-preload']
-- Preload file for documentation page in the file namespace.
cfg['file-docpage-preload'] = 'Template:Documentation/preload-filespace'
-- cfg['docpage-preload']
----------------------------------------------------------------------------------------------------
-- Print version HTML and CSS configuration
----------------------------------------------------------------------------------------------------
-- cfg['print-subpagetemplatestyles']-- The name of the template subpage used for print versionsTemplateStyles page where CSS is kept.-- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed.cfg['print-subpagetemplatestyles'] = 'PrintModule:Documentation/styles.css'
-- cfg['print-link-displaycontainer']-- The text to display when linking Class which can be used to set flex or grid CSS on the /Print subpage.-- two child divs documentation and documentation-metadatacfg['print-link-displaycontainer'] = '/Printdocumentation-container'
-- cfg['printmain-blurbdiv-classes']-- Text to display if a /Print subpage exists. $1 is a link Classes added to the subpage with a display value of cfg['print-link-display']main HTML "div" tag.cfg['printmain-div-blurbclasses'] = 'A [[Help:Books/for experts#Improving the book layout|print version]] of this template exists at $1.' .. ' If you make a change to this template, please update the print version as well.documentation'
-- cfg['displaymain-printdiv-category']heading-- Set to true to enable output of cfg['print-categoryclass'] if a /Print subpage exists.-- This should be a boolean value (either true or false)Class for the main heading for templates and modules and assoc.talk spacescfg['displaymain-div-printheading-categoryclass'] = true'documentation-heading'
-- cfg['printstart-categorybox-class']-- Category to output if Class for the start boxcfg['displaystart-printbox-categoryclass'] is set to true, and a /Print subpage exists.cfg[= 'printdocumentation-category'] = 'Templates with print versionsstartbox'
--cfg['start-box-link------------------------------------------------------------------------------------------------classes']-- HTML and CSS configurationClasses used for the [view][edit][history] or [create] links in the start box.--mw-editsection-like is per [[Wikipedia:Village pump (technical)/Archive 117]]cfg['start-box-link-classes'] = 'mw-editsection--------------------------------------------------------------------------------------------like plainlinks'
-- cfg['mainend-divbox-idclass']-- The "id" attribute of Class for the main HTML "div" tagend box.cfg['mainend-divbox-idclass'] = 'templatedocumentation-documentationmetadata'
-- cfg['main-div-classes']-- The CSS classes added to the main HTML "div" tag.cfg['main-div-classes'] = 'template-documentation iezoomfix' -- cfg['startend-box-linkclassesplainlinks']-- The CSS classes used for the [view][edit][history] or [create] links in the start box.Plainlinkscfg['startend-box-linkclassesplainlinks'] = 'mw-editsection-like plainlinks' -- cfg['start-box-link-id']-- The HTML "id" attribute for the links in the start box.cfg['start-box-link-id'] = 'doc_editlinks' ------------------------------------------------------------------------------------------------------ {{fmbox}} template configuration----------------------------------------------------------------------------------------------------
-- cfg['fmboxtoolbar-idclass']-- The id sent to the "id" parameter of the {{fmbox}} templateClass added for toolbar links.cfg['fmboxtoolbar-idclass'] = 'documentation-meta-datatoolbar'
-- cfg['fmbox-styleclear']-- The value sent Just used to the style parameter of {{fmbox}}clear things.cfg['fmbox-styleclear'] = 'backgrounddocumentation-color: #ecfcf4clear'
-- cfg['fmbox-textstyle']
-- The value sent to the "textstyle parameter of {{fmbox}}.
cfg['fmbox-textstyle'] = 'font-style: italic'
----------------------------------------------------------------------------------------------------