Template:documentation subpage/doc
Appearance
This template is used on template documentation subpages to add a notice at the top of the page and add them to Category:Template documentation pages.
Usage
[change]{{documentation subpage | 1 = Parent page | override = The sub-page name | defaultsort = The way to sort the page in categories }}
This template is added to the top of template and module documentation pages, and adds a header when on the page itself. Nothing will shown when the documentation page is viewed from the parent template.
TemplateData
[change]This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for documentation subpage
Template for identifying template documentation pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Main page | 1 | The page name which the template documentation is for. | Page name | optional |
Sub-page | override | The name of the sub-page that the documentation is on. | String | optional |
Default sort | defaultsort | How the page is sorted in the category.
| String | optional |