模板:TemplateData header

This page is a translated version of the page Template:TemplateData header and the translation is 25% complete.

这是该模板的模板数据,用于可视化编辑器及其它工具。

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}} .

这是该模板的模板数据,用于可视化编辑器及其它工具。

Template name

Use {{TemplateData header|noheader=1}} to omit the first sentence of the header text.


TemplateData header

Parameters

[查看 · 讨论 · 编辑]

这是该模板的模板数据,用于可视化编辑器及其它工具。

TemplateData header

Inserts a brief header for the template data section.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Template name1

Used to display a name for the template other than the default.

Default
{{BASEPAGENAME}}
Stringoptional
No headernoheader

Assigning any value to this parameter will cause the template to omit the first sentence of the header text.

Stringoptional
Edit Links?editlinks

Whether to show {{Navbar}} editlinks on pages that transclude the TemplateData

Default
0
Auto value
1
Booleanoptional
Doc Pagedocpage

The name of the current page, used for {{Navbar}} edit links

Default
{{BASEPAGENAME}}/doc
Auto value
{{subst:PAGENAME}}
Templatesuggested