Template:documentation subpage

From Wiktionary
Jump to navigation Jump to search
Documentation icon Template documentation[view] [change] [history] [refresh]

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 the template used by the new VisualEditor.

Documentation subpage

Template for identifying template documentation pages.

Template parameters

ParameterDescriptionTypeStatus
Main page1

The page name which the template documentation is for.

Pageoptional
Sub-pageoverride

The name of the sub-page that the documentation is on.

Stringoptional
Default sortdefaultsort

How the page is sorted in the category.

Default
{{PAGENAME}}
Stringoptional