Template:TemplateData header: Difference between revisions
w>Clump m (Reverted edits by 105.113.40.185 (talk) to last version by Kaganer) |
m (1 revision imported) |
Revision as of 00:14, 24 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
Parameters
[[Category:Template documentation pages{{#translation:}}]]