Difference between revisions of "Template:TemplateData header/doc"
(update to match renaming of template in May 2015) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 17:10, 31 January 2018
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>