Module:Documentation/config: Difference between revisions

Jump to navigation Jump to search
Template:Hover info>Kittycataclysm
(Undid revision 4315717 by 92.251.0.89 (discuss); unexplained changes)
Module:Documentation>Pppery
Line 42: Line 42:
-- cfg['sandbox-notice-diff-blurb'].
-- cfg['sandbox-notice-diff-blurb'].
--]]
--]]
cfg['sandbox-notice-pagetype-template'] = '[[wikipedia:Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-module'] = '[[wikipedia:Wikipedia:Template test cases|module sandbox]] page'
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 81: Line 81:
cfg['sandbox-notice-testcases-run-link-display'] = 'run'
cfg['sandbox-notice-testcases-run-link-display'] = 'run'


-- cfg['sandbox-category']
-- cfg['sandbox-category'] - A category to add to all template sandboxes.
-- A category to add to all template sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all module sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules.
cfg['sandbox-category'] = 'Template sandboxes'
cfg['sandbox-category'] = 'Template sandboxes'
cfg['module-sandbox-category'] = 'Module sandboxes'
cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace'


----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Line 135: Line 139:
-- 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 [[Help:Templates#Template documentation|documentation]] is [[Help:Templates#Template pages and namespaces|transcluded]] from $1.'
cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.'


--[[
--[[
Line 143: Line 147:
-- 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 [[wikipedia:Wikipedia:Lua|Scribunto module]].'
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'


----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Line 393: Line 397:
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a
-- /doc subpage or a /testcases subpage.
-- /doc subpage or a /testcases subpage.
cfg['strange-usage-category'] = 'Wikibooks pages with strange ((documentation)) usage'
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage'


--[[
--[[

Navigation menu