Created page with "<!--------- Box Note: the reason why a table is not used for the whole box is because sometimes the templates used as examples in the documentation page will enter in conflict with it. ---------> <div id="Documentation" style="width:99%; clear:both; border:2px solid #000; margin-top:2em;"> <!----------- Header -----------> {| style="width:100%; border-collapse:collapse; background:#DDD; color:#000; border-bottom:1px solid #000;" | style="width:140px; tex..." |
m 1 revision imported |
| (One intermediate revision by the same user not shown) | |
(No difference)
| |
Latest revision as of 20:50, 28 February 2023
| File:Template-info.svg | Template Documentation (sometimes hidden or invisible)
Template tools: purge • what links here • what transclude this • subpages |
| Lua logo | Uses Lua: |
| File:OOjs UI icon notice-warning.svg | 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).
See also
Visit Template:Documentation/doc to edit this text! (How does this work?) (Refresh this text - why?)