Template:TemplateData header/en: Difference between revisions

From NARA
Jump to navigation Jump to search
NARA>FuzzyBot
(Updating to match new version of source page)
 
m (1 revision imported: forgot this existed...)
 
(No difference)

Latest revision as of 14:03, 19 April 2023

<languages/>

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData header

Template documentation

Inserts a brief header for the template data section. Adds the /doc subpage to [[:Category:TemplateData documentation{{#translation:}}]] and the template page to [[:Category:Templates using TemplateData{{#translation:}}]].

Usage

<syntaxhighlight lang="html">

TemplateData== or ==Parameters== or ==Usage

{{TemplateData header}} Template:^(templatedataTemplate:)^{ ... }Template:^(/templatedataTemplate:)^ </syntaxhighlight>

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

[[Category:Templates using TemplateData{{#translation:}}]]

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


TemplateData header

[[Category:Templates using TemplateData{{#translation:}}]]

Parameters

Template:TemplateData header/doc