Template:TemplateData header: Difference between revisions
mediawiki>Rebulka preparation for translation |
Deauthorized (talk | contribs) m 1 revision imported |
||
(No difference)
|
Latest revision as of 06:24, 5 September 2023
<languages/>
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData header
[[Category:Templates using TemplateData{{#translation:}}]]
<translate>Inserts a brief header for the template data section. Adds the /doc subpage to <tvar name="1">[[:Category:TemplateData documentation{{#translation:}}]]</tvar> and the template page to <tvar name="1">[[:Category:Templates using TemplateData{{#translation:}}]]</tvar>.</translate>
<translate>
Usage
</translate>
==TemplateData== or ==Parameters== or ==Usage==
{{TemplateData header}}
[[:Template:^(]]templatedata[[:Template:)^]]{
...
}[[:Template:^(]]/templatedata[[:Template:)^]]
<translate>Use <tvar name="1">{{TemplateData header|Template name}}
</tvar> to display a name for the template other than the default, which is {{BASEPAGENAME}}.</translate>
-
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:}}]]