Template:Documentation/doc
Appearance
| This is a documentation subpage for Template:Documentation. It contains usage information, categories and other content that is not part of the original Template page. |
| This template uses Lua: |
| This template is used in system messages. Changes to it can cause immediate changes to the Wikimania user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
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).
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Documentation
This template allows to generate the documentation part of a given template.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| content | content | defines the body of the documentation part | String | optional |
| heading | heading | allows to customise the header of the documentation part | String | optional |