Module:Documentation/config: Difference between revisions
Content added Content deleted
m (1 revision imported: Import "Information Appliance" infobox template) |
(link) |
||
Line 55: | Line 55: | ||
-- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what |
-- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what |
||
-- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between |
-- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between |
||
-- the sandbox and the main template. The display value of the diff link is set by |
-- the sandbox and the main template. The display value of the diff link is set by |
||
-- cfg['sandbox-notice-compare-link-display']. |
-- cfg['sandbox-notice-compare-link-display']. |
||
--]] |
--]] |
||
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 [[Wikipedia:Template documentation|documentation]] is [[ |
cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.' |
||
--[[ |
--[[ |
||
Line 162: | Line 162: | ||
-- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending |
-- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending |
||
-- on what namespace we are in. |
-- on what namespace we are in. |
||
-- |
-- |
||
-- Parameters: |
-- Parameters: |
||
-- |
-- |
||
Line 168: | Line 168: | ||
-- |
-- |
||
-- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display']) |
-- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display']) |
||
-- |
-- |
||
-- If the sandbox doesn't exist, it is in the format: |
-- If the sandbox doesn't exist, it is in the format: |
||
-- |
-- |
||
-- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display']) |
-- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display']) |
||
-- |
-- |
||
-- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload'] |
-- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload'] |
||
-- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display'] |
-- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display'] |
||
Line 182: | Line 182: | ||
-- |
-- |
||
-- If the test cases page doesn't exist, it is in the format: |
-- If the test cases page doesn't exist, it is in the format: |
||
-- |
-- |
||
-- cfg['testcases-link-display'] (cfg['testcases-create-link-display']) |
-- cfg['testcases-link-display'] (cfg['testcases-create-link-display']) |
||
-- |
-- |