Difference between revisions 51894 and 51895 on wikimaniawiki

----------------------------------------------------------------------------------------------------
--
--                               Configuration for Module:Documentation
--
-- Here you can set the values of the parameters and messages used in Module:Documentation to
-- localise it to your wiki and your language. Unless specified otherwise, values given here
-- should be string values.
----------------------------------------------------------------------------------------------------

local cfg = {} -- Do not edit this line.

----------------------------------------------------------------------------------------------------
-- Environment configuration
----------------------------------------------------------------------------------------------------

-- cfg.errorPrefix
-- The prefix before any error messages found by the script.
cfg.errorPrefix = '[[Module:Documentation]] error:'

-- cfg.errorCategory
-- The category pages are placed into if any errors are found.
cfg.errorCategory = 'Documentation template invocations with errors'

----------------------------------------------------------------------------------------------------
-- Environment configuration
----------------------------------------------------------------------------------------------------

-- cfg.titleArg
-- An argument to specify what page to make links for. For testing purposes.
cfg.titleArg = 'page'

-- cfg.titleArgError
-- The error message to display if the value of the cfg.titleArg"page" argument does not result in a
-- valid title.
cfg.titleArgError = '$1 is not a valid title'

----------------------------------------------------------------------------------------------------
-- Protection template configuration
----------------------------------------------------------------------------------------------------

-- cfg.protectionTemplate
-- The name of the template that displays the protection icon (a padlock on enwiki).
cfg.protectionTemplate = 'pp-template'

-- cfg.protectionTemplateArgs
-- Any arguments to send to the protection template.
cfg.protectionTemplateArgs = {docusage = 'yes'}

----------------------------------------------------------------------------------------------------
-- Sandbox template configuration
--
-- On sandbox pages the module can display a template notifying users that the current page is a
-- sandbox, and the location of test cases pages, etc. The module decides whether the page is a
-- sandbox or not based on the value of cfg.sandboxSubpage. The following settings configure which
-- template is displayed and what the arguments passed to it are.
----------------------------------------------------------------------------------------------------

-- cfg.sandboxNoticeTemplate
-- The name of the template to display at the top of sandbox pages.
cfg.sandboxNoticeTemplate = 'template sandbox notice'

-- cfg.sandboxNoticeLivepageParam
-- The parameter of the sandbox notice template to send the cfg."livepageArg to.
cfg.sandboxNoticeLivepageParam = 1

-- cfg.livepageArg
-- The name of one of the module arguments. The value of this argument should be the main template
-- page (i.e. the "live" template). This is passed to the parameter cfg.sandboxNoticeLivepageParam of
-- the template cfg.sandboxNoticeTemplate.
cfg.livepageArg = 'livepage'" argument to.
cfg.sandboxNoticeLivepageParam = 1

----------------------------------------------------------------------------------------------------
-- Start box configuration
----------------------------------------------------------------------------------------------------

-- cfg.documentationIconWikitext
-- The wikitext for the icon shown at the top of the template.
cfg.documentationIconWikitext = '[[File:Template-info.png|50px|link=|alt=Documentation icon]]'

-- cfg.headingArg
-- Custom heading used in the start box.
cfg.headingArg = 'heading'

-- cfg.headingStyleArg
-- Custom CSS style for the start box heading.
cfg.headingStyleArg = 'heading-style'

-- cfg.templateNamespaceHeading
-- The heading shown in the template namespace.
cfg.templateNamespaceHeading = 'Template documentation'

-- cfg.moduleNamespaceHeading
-- The heading shown in the module namespace.
cfg.moduleNamespaceHeading = 'Module documentation'

-- cfg.fileNamespaceHeading
-- The heading shown in the file namespace.
cfg.fileNamespaceHeading = 'Summary'

-- cfg.otherNamespacesHeading
-- The heading shown in other namespaces.
cfg.otherNamespacesHeading = 'Documentation'

-- cfg.viewLinkDisplay
-- The text to display for "view" links.
cfg.viewLinkDisplay = 'view'

-- cfg.editLinkDisplay
-- The text to display for "edit" links.
cfg.editLinkDisplay = 'edit'

-- cfg.historyLinkDisplay
-- The text to display for "history" links.
cfg.historyLinkDisplay = 'history'

-- cfg.purgeLinkDisplay
-- The text to display for "purge" links.
cfg.purgeLinkDisplay = 'purge'

-- cfg.createLinkDisplay
-- The text to display for "create" links.
cfg.createLinkDisplay = 'create'

----------------------------------------------------------------------------------------------------
-- Preload configuration
----------------------------------------------------------------------------------------------------

-- cfg.preloadArg
-- Custom preload page for creating documentation.
cfg.preloadArg = 'preload'

----------------------------------------------------------------------------------------------------
-- Documentation content configuration
----------------------------------------------------------------------------------------------------

-- cfg.contentArg
-- Passes documentation content directly from the {{documentation}} invocation.
cfg.contentArg = 'content'

----------------------------------------------------------------------------------------------------
-- Link box (end box) configuration
----------------------------------------------------------------------------------------------------

-- cfg.linkBoxArg
-- Specifies a custom link box (end box) or prevents it from being generated.
cfg.linkBoxArg = 'link box'

-- cfg.linkBoxOff
-- The value to send to cfg.linkBoxArg to turn the link box off.
cfg.linkBoxOff = 'off'Link box (end box) configuration
----------------------------------------------------------------------------------------------------

-- cfg.transcludedFromBlurb
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page.
cfg.transcludedFromBlurb = 'The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from $1.'

-- cfg.createModuleDocBlurb
-- Notice displayed in the module namespace when the documentation subpage does not exist.
(contracted; show full)
----------------------------------------------------------------------------------------------------
-- End configuration
--
-- Don't edit anything below this line.
----------------------------------------------------------------------------------------------------

return cfg