Template:TemplateData header/en: Difference between revisions
NARA>FuzzyBot (Updating to match new version of source page) |
m (1 revision imported: forgot this existed...) |
Latest revision as of 14:03, 19 April 2023
<languages/>
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData header
Inserts a brief header for the template data section. Adds the /doc subpage to [[:Category:TemplateData documentation{{#translation:}}]] and the template page to [[:Category:Templates using TemplateData{{#translation:}}]].
Usage
<syntaxhighlight lang="html">
TemplateData== or ==Parameters== or ==Usage
{{TemplateData header}} Template:^(templatedataTemplate:)^{ ... }Template:^(/templatedataTemplate:)^ </syntaxhighlight>
Use {{TemplateData header|Template name}}
to display a name for the template other than the default, which is {{BASEPAGENAME}}.
-
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Template name
Use {{TemplateData header|noheader=1}}
to omit the first sentence of the header text.
-
TemplateData header