Module:Documentation/config: Difference between revisions
Jump to navigation
Jump to search
per edit request at Template talk:Documentation - update sandbox notice image
m (1 revision imported: importing tree chart) |
En:Wp>Paine Ellsworth (per edit request at Template talk:Documentation - update sandbox notice image) |
||
| Line 32: | Line 32: | ||
-- cfg['sandbox-notice-image'] | -- cfg['sandbox-notice-image'] | ||
-- The image displayed in the sandbox notice. | -- The image displayed in the sandbox notice. | ||
cfg['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]' | cfg['sandbox-notice-image'] = '[[File:Edit In Sandbox Icon - Color.svg|50px|alt=|link=]]' | ||
--[[ | --[[ | ||
| 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 139: | 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 [[ | cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.' | ||
--[[ | --[[ | ||
| Line 147: | 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 [[ | cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].' | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
| Line 255: | Line 255: | ||
-- cfg['module-testcases-preload'] | -- cfg['module-testcases-preload'] | ||
-- Preload file for Lua module test cases pages. | -- Preload file for Lua module test cases pages. | ||
cfg['module-testcases-preload'] = ' | cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases' | ||
-- cfg['testcases-link-display'] | -- cfg['testcases-link-display'] | ||
| Line 365: | Line 365: | ||
-- cfg['start-box-link-classes'] | -- cfg['start-box-link-classes'] | ||
-- Classes used for the [view][edit][history] or [create] links in the start box. | -- Classes used for the [view][edit][history] or [create] links in the start box. | ||
-- mw-editsection-like is per [[ | -- mw-editsection-like is per [[Wikipedia:Village pump (technical)/Archive 117]] | ||
cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks' | cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks' | ||
| Line 397: | 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'] = ' | cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage' | ||
--[[ | --[[ | ||