Template:TemplateData header: Difference between revisions
m (1 revision imported: forgot this existed...) |
m (1 revision imported) |
Latest revision as of 16:36, 19 April 2023
<languages/>
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData header
[[Category:Templates using TemplateData{{#translation:}}]]
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