Template:Template error report

From CivWiki
Revision as of 16:30, 23 February 2018 by m>Primefac (Changed protection level for "Template:Template error report": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

See the monthly error report for this template.

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

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 this template.

Optional:

  • |lc=yes for lowercase "see": see the monthly error report for this template.
  • Entering |1=Template:Infobox film is accepted (namespace is removed). Editor friendly.
  • When |1= is used, "this template" text changes: → See the monthly error report for this template.
  • |label= sets the visible text (does not change the link):
|label= default → See the monthly error report for this template.
|label=none → See the monthly error report for this template.
|label=for → See the monthly error report for this template.
|label=FooBar → See the monthly error report for this template.

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 this template.

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 documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Template error report

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
lclc

no description

Unknownoptional