Jump to content

Template:TemplateData header/doc

From Wikitech

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 == / == Parameters == / == 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|Template name|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.

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}}
Lineoptional
No Header?noheader

Whether to omit the default header.

Default
0
Auto value
1
Booleanoptional