Jump to content

Template:Template parameter usage/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Anthony Appleyard (talk | contribs) at 10:51, 2 April 2020 (Anthony Appleyard moved page Template:Template parameter usage/doc to Template:Template error report/doc without leaving a redirect). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 parameter usage}} → See a monthly parameter usage report for this template in articles.

One can enter a template name:

{{Template parameter usage|Infobox film}} → See a monthly parameter usage report for Template:Infobox film in articles.

Optional:

|label= default → See a monthly parameter usage report for Template:Infobox film in articles.
|label=noneParameter usage report
|label=forParameter usage report for Template:Infobox film.
|label=FooBarFooBar

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

Error reports

{{Template parameter usage}}

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 parameter usage|Example}} makes a link to the error report for Template:Example:
See a monthly parameter usage report for Template:Example in articles.

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

Blah, {{Template parameter usage|lc=yes}} → Blah, see a monthly parameter usage report for this template in articles.

TemplateData

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

TemplateData for Template parameter usage

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
lclc

no description

Unknownoptional

See also