Template:Documentation/sandbox: Difference between revisions
From Bonkipedia
[[mw:]]>Clump m (Reverted edits by 2601:901:C180:830:A424:B981:44B2:E0D2 (talk) to last version by Clump) |
ManfredoDo (talk | contribs) m (1 revision imported: Formatting templates) |
(No difference)
|
Latest revision as of 18:01, 12 November 2022
This is the template sandbox page for Template:Documentation (diff). See also the companion subpage for test cases. |
Uses Lua: |
This template is used in system messages. Changes to it can cause immediate changes to the MediaWiki user interface. To avoid large-scale disruption, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space.The tested changes can then be added in one single edit to this template. Please discuss any changes on the talk page before implementing them. |
Usage
Customizing display
Overrides exist to customize the output in special cases:
- {{documentation|heading=}}: change the text of the "documentation" heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.
Rationale
This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template's documentation, categories, and interwiki links. It also reduces server resources by circumventing a technical limitation of templates (see a developer's explanation).