Template:Documentation/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{template rating|p}}
{{Documentation subpage}}
{{lua|Module:Documentation}}


==Usage==


===Customizing display===
===Customizing display===
Overrides exist to customize the output in special cases:
Overrides exist to customize the output in special cases:
* <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.
* {{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 15: Line 14:


<includeonly>
<includeonly>
[[Category:Templates]
<!-- Categories below this line, please -->
[[Category:Template documentation| ]]
[[Category:Utility templates]]
</includeonly>
</includeonly>

Latest revision as of 05:40, 20 August 2023

Light bulb.png }}
It contains usage information, categories and other content that is not part of the original template page.


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.