Template:TemplateDataHeader/doc
Jump to navigation
Jump to search
|
|
This is a documentation subpage for Template:TemplateDataHeader. It contains usage information, categories and other content that is not part of the original template page. |
|
|
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing changes on the talk page before implementing them. |
|
|
This template uses material from the Wikipedia template Template:TemplateDataHeader/doc, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors). | |
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 {{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 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>