Difference between revisions of "Template:Documentation"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude>highly doubt this is working [[User:JJR|JJR]] ([[User talk:JJR|talk]]) 15:37, 1 December 2021 (EST) | <noinclude>highly doubt this is working [[User:JJR|JJR]] ([[User talk:JJR|talk]]) 15:37, 1 December 2021 (EST) | ||
</noinclude><includeonly>{{{content}}}</includeonly><noinclude> | </noinclude><includeonly>{{{content}}}</includeonly><noinclude> | ||
{{ | {{Documentation|content= | ||
==Usage== | ==Usage== | ||
Line 11: | Line 9: | ||
Overrides exist to customize the output in special cases: | Overrides exist to customize the output in special cases: | ||
* <nowiki>{{</nowiki>documentation{{!}}'''heading'''=<nowiki>}}</nowiki> - | * <nowiki>{{</nowiki>documentation{{!}}'''heading'''=<nowiki>}}</nowiki> - 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== | ||
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 limitation of templates. | |||
==See also== | ==See also== | ||
}} | }} | ||
</noinclude | </noinclude> | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 17:08, 1 December 2021
highly doubt this is working JJR (talk) 15:37, 1 December 2021 (EST)
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 limitation of templates.
See also
{{{content}}}