![]() | This is a documentation subpage for Template:Template parameter usage. It may contain usage information, categories and other content that is not part of the original template 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 a monthly parameter usage report for this template in articles.
One can enter a template name:
- {{Template error report|Infobox film}} → See a monthly parameter usage report for Template:Infobox film in articles.
Optional:
|lc=yes
for lowercase "see": see a monthly parameter usage report for Template:Infobox film in articles.- Entering
|1=Template:Infobox film
is accepted (namespace is removed). Editor friendly. - When
|1=
is used, "this template" text changes: → Template:Template error report/sandbox |label=
sets the visible text (does not change the link):
|label=
default → Template:Template error report/sandbox|label=none
→ Template:Template error report/sandbox|label=for
→ Template:Template error report/sandbox|label=FooBar
→ Template:Template error report/sandbox
The template is included in transclusions of {{TemplateData header}}. If it's needed elsewhere, simply place the following in the template's documentation.
Error reports
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 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 error report|lc=yes}}
→ Blah, see a monthly parameter usage report for this template in articles.
TemplateData
TemplateData for Template parameter usage
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description | Unknown | optional |
lc | lc | no description | Unknown | optional |