Template:TemplateDataHeader/doc
![]() |
This is a documentation subpage for Template:TemplateDataHeader. It contains usage information, categories and other content or metadata that is not part of the original template. |
This template inserts a brief header for the template data section, and adds the page to Category:Templates using TemplateData.
Usage
==TemplateData== {{TemplateDataHeader}} <templatedata>{ ... }</templatedata> Note: Section headers of ==Parameters== or ==Usage== may also be used.
Use {{TemplateDataHeader|<Template name>}}
to display a name for the template other than the default, which is {{BASEPAGENAME}}. Do not add namespace Template:
Use {{TemplateDataHeader|nolink= 1}}
to omit the wikilink from the word "TemplateData" in the header text, for instances where it is already linked outside this template.
- This is the TemplateData for this template used by VisualEditor.
TemplateData for TemplateDataHeader
Use {{TemplateDataHeader|noheader= 1}}
to omit the bold sentence of the header text.
- This is the TemplateData for this template used by VisualEditor.
TemplateData
Inserts a brief header for the template data section. Adds the page to [[Category:Templates using TemplateData]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template name | 1 | Used to display a name for the template other than the default.
| Template | optional |
No link | nolink | Assigning any value to this parameter will cause the template to omit the wikilink from the word "TemplateData" in the header text, for instances where it is already linked outside this template.
| Boolean | optional |
No header | noheader | Assigning any value to this parameter will cause the template to omit the bold sentence of the header text.
| Boolean | optional |