Template:Documentation/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
(Created page with "==Usage== ===Customizing display=== Overrides exist to customize the output in special cases: * <nowiki>{{</nowiki>documentation{{!}}'''heading'''=<nowiki>}}</nowiki> - chan...")
 
mNo edit summary
Line 1: Line 1:
{{template rating|p}}
==Usage==
==Usage==


Line 12: Line 14:
It also reduces server resources by circumventing a [[Wikipedia:Template limits|technical limitation of templates]].
It also reduces server resources by circumventing a [[Wikipedia:Template limits|technical limitation of templates]].


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<includeonly>
[[Category:Templates]
[[Category:Template documentation| ]]
[[Category:Template documentation| ]]
}}</includeonly>
</includeonly>

Revision as of 02:01, 6 September 2020

Template:Template rating

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.