Template:TemplateData header/en: Difference between revisions
Updating to match new version of source page |
m 导入1个版本 |
||
(No difference)
|
Latest revision as of 12:44, 30 January 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 |