Template:TemplateData header: Difference between revisions
Marked this version for translation |
m 1 revision imported: Initial setup |
(No difference)
|
Latest revision as of 10:14, 22 December 2024
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 and the template page to Category:Templates using TemplateData .
Usage
==TemplateData== or ==Parameters== or ==Usage==
{{TemplateData header}}
<templatedata>{
...
}</templatedata>
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template name | 1 | Used to display a name for the template other than the default.
| String | optional |
No header | noheader | Assigning any value to this parameter will cause the template to omit the first sentence of the header text. | String | optional |
Edit Links? | editlinks | Whether to show {{Navbar}} editlinks on pages that transclude the TemplateData
| Boolean | optional |
Doc Page | docpage | The name of the current page, used for {{Navbar}} edit links
| Template | suggested |