Module:Documentation/config: Difference between revisions

remove more unused argument messages
(remove unused messages)
(remove more unused argument messages)
Line 25:
-- 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'
Line 61 ⟶ 57:
 
-- cfg.sandboxNoticeLivepageParam
-- The parameter of the sandbox notice template to send the cfg.livepageArg"livepage" argument 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'
 
----------------------------------------------------------------------------------------------------
Line 77 ⟶ 67:
-- 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
Line 121 ⟶ 103:
-- 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'
 
-- cfg.transcludedFromBlurb