Template:Template error report/doc

From CivWiki
Jump to navigation Jump to search

__EXPECTED_UNCONNECTED_PAGE__

The Template Parameters tool is available for viewing template parameter usage. It works with TemplateData to show the validity of parameter names that are used in template transclusions. For a required parameter, it can display a list of pages where the template is missing the parameter. The tool also shows commonly used values for each parameter. The data is updated monthly.

Usage

By default, the template links for the template page:

{{Template error report}} → See the monthly error report for this template.

One can enter a template name:

{{Template error report|Infobox film}} → See the monthly error report for Template:Infobox film.

Optional:

|label= default → See the monthly error report for Template:Infobox film.
|label=none → Monthly error report
|label=for → Monthly error report for Template:Infobox film.
|label=FooBar → FooBar

The template is included in transclusions of {{TemplateData header}}.

Error reports

{{Template error report}}

By default, it links a report for the template-page being viewed. To link a report for a different template-page, pass it as the first parameter:

{{Template error report|Example}} makes a link to the error report for Template:Example:
See the monthly error report for Template:Example.

The first character can be made lowercase to follow on at the end of a sentence:

Blah, {{Template error report|lc=yes}} → Blah, see the monthly error report for this template.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Template error report in articles based on its TemplateData.

TemplateData for Template error report

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
lclc

no description

Unknownoptional