Template:TemplateData header: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
({{Template error report}})
(add option to remove wikilink from TemplateData in header, for instances where it is already linked outside this template)
Line 1: Line 1:
<div class="templatedata-header">{{#if:{{{noheader|}}}| |This is the [[Wikipedia:TemplateData|TemplateData]] documentation for this template used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools.}}
<div class="templatedata-header">{{#if:{{{noheader}}}| |This is the {{#if:{{{nolink|}}}|TemplateData|[[Wikipedia:TemplateData|TemplateData]]}} documentation for this template used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools.}}


{{Template error report}}
{{Template error report}}

Revision as of 09:33, 27 November 2016

See the monthly error report for this template.

TemplateData for TemplateData header

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

Inserts a brief header for the template data section. Adds the 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}}.

See the monthly error report for this template.

TemplateData for Template name

Use {{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.

See the monthly error report for this template.

TemplateData for TemplateData header

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

See the monthly error report for this template.

TemplateData for TemplateData header

Parameters

See the monthly error report for this template.

TemplateData for TemplateData header

Inserts a brief header for the template data 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