TemplateData header
JonTillman (talk | contribs) m (maybe) |
JonTillman (talk | contribs) m (no) |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | |||
<onlyinclude>{{#switch:<translate></translate> | |||
|= | |= | ||
<div class="templatedata-header"><!-- | <div class="templatedata-header"><!-- | ||
Revision as of 10:56, 24 September 2022
<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
==TemplateData== or ==Parameters== or ==Usage==
{{TemplateData header}}
[[:Template:^(]]templatedata[[:Template:)^]]{
...
}[[:Template:^(]]/templatedata[[:Template:)^]]Use {{TemplateData header|Template name}} to display a name for the template other than the default, which is {{BASEPAGENAME}}.
-
[[Category:Templates using TemplateData{{#translation:}}]]
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.
-
[[Category:Templates using TemplateData{{#translation:}}]]
TemplateData header