Difference between revisions of "Template:Documentation/doc"

From Ephemeral Film Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} ==Usage== ===Customizing display=== Overrides exist to customize the output in special cases: * <nowiki>{{</nowiki>documentation|'''heading'''=}}: ch...")
 
Line 6: Line 6:


==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 [[:en:Wikipedia:Template limits|technical limitation of templates]] (see a [{{fullurl:en:Project:Village pump (technical)|diff=prev&oldid=69888944}} developer's explanation]).
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.


==See also==
==See also==
* [[w:Wikipedia:Template documentation]]
*

Revision as of 16:57, 1 December 2021

- - -

There is a documentation subpage housing the metadata about parent template: Documentation.

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.

See also