Template:Template parameter usage/doc
![]() | 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 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:
|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: → See a monthly parameter usage report for Template:Infobox film in articles. |label=
sets the visible text (does not change the link):
|label=
default → See a monthly parameter usage report for Template:Infobox film in articles.|label=none
→ Parameter usage report|label=for
→ Parameter usage report for Template:Infobox film.|label=FooBar
→ FooBar
The template is included in transclusions of {{TemplateData header}}.
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 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
TemplateData for Template parameter usage
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description | Unknown | optional |
lc | lc | no description | Unknown | optional |
See also
- {{TemplateData header}} -- major user of this template