Template:TemplateData header/doc

From Shipbucket Wiki
Revision as of 04:28, 26 August 2015 by Zyxw (talk) (update to match renaming of template in May 2015)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Inserts a brief header for the template data section. Adds the page to Category:TemplateData documentation.

Usage

==TemplateData== or ==Parameters== or ==Usage==
{{TemplateData header}}
<templatedata>{
...
}</templatedata>

Use {{TemplateData header|Template name}} if you want an alternative name for the template to be displayed.

Parameters

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

TemplateData for TemplateData header/doc

<templatedata>{

 "description": "Inserts a brief header for the template data section. Adds the page to",
 "params": {
   "1": {
     "label": "Template name",
     "description": "The name of the template to display. Default is TemplateData header/doc.",
     "type": "string",
     "required": false
   }
 }

}</templatedata>

See also