Template:TemplateDataHeader/doc

From Sapphire Wiki
Revision as of 22:34, 3 September 2013 by Bryan (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

== TemplateData==
{{TemplateDataHeader}}
<templatedata>{
...
}</templatedata>

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

TemplateData

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

TemplateDataHeader

<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 TemplateDataHeader.",
     "type": "string",
     "required": false
   }
 }

}</templatedata>

See also