Module:Documentation/config: Difference between revisions
Content deleted Content added
Undid revision 77159 by System Operator (talk): User mistook meta as their own wikj |
Enwikipedia>DannyS712 add css configuration, so that it can be removed from common.css - see Special:Permalink/906970618#Moving CSS |
||
Line 8: | Line 8: | ||
---------------------------------------------------------------------------------------------------- |
---------------------------------------------------------------------------------------------------- |
||
local cfg = {} -- |
local cfg = {} -- Do not edit this line. |
||
---------------------------------------------------------------------------------------------------- |
---------------------------------------------------------------------------------------------------- |
||
Line 42: | Line 42: | ||
-- cfg['sandbox-notice-diff-blurb']. |
-- cfg['sandbox-notice-diff-blurb']. |
||
--]] |
--]] |
||
cfg['sandbox-notice-pagetype-template'] = '[[ |
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page' |
||
cfg['sandbox-notice-pagetype-module'] = '[[ |
cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page' |
||
cfg['sandbox-notice-pagetype-other'] = 'sandbox page' |
cfg['sandbox-notice-pagetype-other'] = 'sandbox page' |
||
Line 135: | Line 135: | ||
-- cfg['transcluded-from-blurb'] |
-- cfg['transcluded-from-blurb'] |
||
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. |
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. |
||
cfg['transcluded-from-blurb'] = 'The above [[ |
cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from $1.' |
||
--[[ |
--[[ |
||
Line 143: | Line 143: | ||
-- display cfg['create-link-display']. |
-- display cfg['create-link-display']. |
||
--]] |
--]] |
||
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[ |
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].' |
||
---------------------------------------------------------------------------------------------------- |
---------------------------------------------------------------------------------------------------- |
||
Line 374: | Line 374: | ||
-- The CSS classes added to the main HTML "div" tag. |
-- The CSS classes added to the main HTML "div" tag. |
||
cfg['main-div-classes'] = 'template-documentation iezoomfix' |
cfg['main-div-classes'] = 'template-documentation iezoomfix' |
||
-- cfg['main-div-css'] |
|||
-- The CSS added to the main HTML "div" tag. |
|||
cfg['main-div-css'] = { |
|||
['clear'] = 'both', |
|||
['margin'] = '1em 0 0 0', |
|||
['border'] = '1px solid #a2a9b1', |
|||
['background-color'] = '#ecfcf4', |
|||
['padding'] = '1em', |
|||
} |
|||
-- cfg['start-box-linkclasses'] |
-- cfg['start-box-linkclasses'] |