Difference between revisions 51895 and 51896 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. ---------------------------------------------------------------------------------------------------- (contracted; show full)cfg.protectionTemplate = 'pp-template' -- cfg.protectionTemplateArgs -- Any arguments to send to the protection template. cfg.protectionTemplateArgs = {docusage = 'yes'} ---------------------------------------------------------------------------------------------------- -- Sandbox templatnotice 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 arethe -- messages that the notices contains. ---------------------------------------------------------------------------------------------------- -- cfg.sandboxNoticeTemplate -- The name of the template to display atImage -- The image displayed in the sandbox notice. cfg.sandboxNoticeImage = '[[Image:Sandbox.png|50px|alt=|link=]]' -- cfg.sandboxNoticeBlurb -- The opening sentence of the sandbox notice. $1 is a link to the main template page. cfg.sandboxNoticeBlurb = 'This is the [[Wikipedia:Template test cases|template sandbox]] page for $1.' -- cfg.sandboxNoticeDiffBlurb -- cfg.sandboxNoticeDiffDisplay -- cfg.sandboxNoticeDiffBlurb is the top of sandbox pages. cfg.sandboxNoticeTemplate = 'template sandbox notice' -- cfg.sandboxNoticeLivepageParam -- The parameter ofening sentence of the sandbox notice, with a diff link. $1 is a link -- to the main template page, and $2 is a diff link between the sandbox and the main template. The -- display value of the diff link is set by cfg.sandboxNoticeDiffDisplay. cfg.sandboxNoticeDiffBlurb = 'This is the [[Wikipedia:Template test cases|template sandbox]] page for $1 ($2).' cfg.sandboxNoticeDiffDisplay = 'diff' -- cfg.sandboxNoticeTestcasesBlurb -- cfg.sandboxNoticeTestcasesLinkDisplay -- cfg.sandboxNoticeTestcasesBlurb is a sentence notifying the user that there is a test cases page -- corresponding to theis sandbox notice template to send the "livepage" argument to. cfg.sandboxNoticeLivepageParam = 1that they can edit. $1 is a link to the test cases page. -- cfg.sandboxNoticeTestcasesLinkDisplay is the display value for that link. cfg.sandboxNoticeTestcasesBlurb = 'See also the companion subpage for $1.' cfg.sandboxNoticeTestcasesLinkDisplay = 'test cases' ---------------------------------------------------------------------------------------------------- -- Start box configuration ---------------------------------------------------------------------------------------------------- -- cfg.documentationIconWikitext -- The wikitext for the icon shown at the top of the template. (contracted; show full) ---------------------------------------------------------------------------------------------------- -- End configuration -- -- Don't edit anything below this line. ---------------------------------------------------------------------------------------------------- return cfg All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://wikimania.wikimedia.org/w/index.php?diff=prev&oldid=51896.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|