Template

Documentation/en

From Dogcraft Wiki

imported>William
m (1 revision imported: clickable button)
mNo edit summary
 
Line 31: Line 31:
[[Category:Template documentation{{#translation:}}| ]]
[[Category:Template documentation{{#translation:}}| ]]
</noinclude><includeonly>{{#if:{{{content|}}}|
</noinclude><includeonly>{{#if:{{{content|}}}|
[[Category:Template documentation pages{{#translation:}}]]
[[Category:Template documentation{{#translation:}}]]
}}</includeonly>
}}</includeonly>

Latest revision as of 03:10, 4 December 2023

<languages/>

Template documentation

Script error: No such module "Lua banner".

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 a developer's explanation).

See also

[[Category:Formatting templates{{#translation:}}|Template documentation]] [[Category:Template documentation{{#translation:}}| ]]