Template:TemplateData header/doc: Difference between revisions

From Foo "Raspberry" Barz
add FR
 
m 导入1个版本
 
(No difference)

Latest revision as of 12:58, 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.

Template parameters

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