Difference between revisions of "Template:TemplateDataHeader/doc"

From FamilySearch Wiki
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 to...")
 
(No difference)

Latest revision as of 16:58, 26 September 2013

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 the template used by the new VisualEditor.

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