Template:documentation subpage

From HausaDictionary.com | Hausa English Translation, Dictionary, Translator
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]

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

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

This is the TemplateData documentation for the template used by the new VisualEditor.

Documentation subpage <templatedata> { "params": { "1": { "required": false, "label": "Main page", "type": "string/wiki-page-name", "description": "The page name which the template documentation is for." }, "override": { "required": false, "label": "Sub-page", "type": "string", "description": "The name of the sub-page that the documentation is on." }, "defaultsort": { "required": false, "label": "Default sort", "type": "string", "default": "documentation subpage", "description": "How the page is sorted in the category." } }, "description": "Template for identifying template documentation pages." } </templatedata>