Template:documentation subpage

From Wiktionary
Documentation for Template:documentation subpage. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.
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.


{{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.


This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for documentation subpage

Template for identifying template documentation pages.

Template parameters[Edit template data]

Main page1

The page name which the template documentation is for.

Page nameoptional

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

Default sortdefaultsort

How the page is sorted in the category.