Template:Documentation/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
{{lua|Module:Documentation}} | |||
===Customizing display=== | ===Customizing display=== | ||
Overrides exist to customize the output in special cases: | Overrides exist to customize the output in special cases: | ||
* | * {{tji|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== | ==Rationale== | ||
Line 16: | Line 15: | ||
<includeonly> | <includeonly> | ||
<!-- Categories below this line, please --> | <!-- Categories below this line, please --> | ||
[[Category: | [[Category:Utility templates]] | ||
</includeonly> | </includeonly> |
Latest revision as of 05:40, 20 August 2023
It contains usage information, categories and other content that is not part of the original template page.
|
This template uses Lua: |
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.