Jump to content

Template:Wp/mrh/TemplateData header/sandbox

From Wikimedia Incubator
This is the TemplateData documentation for this template used by VisualEditor and other tools; Template:Template parameter usage

TemplateData for Wp/mrh/TemplateData header

Documentation icon Template documentation[view] [edit] [history] [purge]

Template:Documentation subpage Template:Lua

The Template:Tlx template inserts a brief header for the template data section, and adds the page to Category:Templates using TemplateData.

==TemplateData==
{{TemplateData header}}
<templatedata>{
...
}</templatedata>

Note: Section headers of ==Parameters== or ==Usage== may also be used.

Use {{wp/mrh/TemplateData header|Template name}} to display a name for the template other than the default, which is {{BASEPAGENAME}}. Do not add namespace Template:

Template:TemplateData header

Use {{wp/mrh/TemplateData header|nolink=1}} to omit the wikilink from the word "TemplateData" in the header text, for instances where it is already linked outside this template.

Template:TemplateData header

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

Template:TemplateData header

Example

[edit source]
Using a collapse box for Template:Elc:

Template:Nowiki template demo

Parameters

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Template:Wp/mrh/Template parameter usage

TemplateData for Wp/mrh/TemplateData header

Script error: No such module "Check for unknown parameters".Template:Wp/mrh/sandbox other

Inserts a brief header for the TemplateData section. Adds the page to [[:Category:Templates using TemplateData]]

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Template name1

Used to display a name for the template other than the default, which is {{BASEPAGENAME}}.

Stringoptional
No linknolink

Assigning any value to this parameter will omit cause the template to omit the wikilink from the word "TemplateData" in the header text, for instances where it is already linked outside this template.

Stringoptional
No headernoheader

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

Stringoptional

Tracking category

[edit source]

See also

[edit source]

Template:Sandbox other