Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
m (Changed protection settings for "Template:Documentation" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}</includeonly><noinclude> | <includeonly>{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}</includeonly><noinclude> | ||
{{Documentation}} | |||
<!-- Add categories to the /doc subpage, not here! --> | |||
</noinclude> | |||
</noinclude | |||
Latest revision as of 17:58, 14 June 2023
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.