Difference between revisions of "Template:TemplateDataHeader/doc"

From MansunWiki
Jump to: navigation, search
(Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> Inserts a brief header for the template data section. Adds the page...")
 
(No difference)

Latest revision as of 20:12, 15 July 2015


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

Usage

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

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

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

}</templatedata>

See also