Template:Documentation/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
{{Documentation subpage}}
{{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:
* {{((}}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.
* {{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==  

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.