Шаблон:Template parameter usage/Документацие
The Template Parameters tool is available for viewing template parameter usage in articles. It works with TemplateData to show the frequency of parameter name usage in a template's mainspace transclusions, along with whether or not each parameter is listed in that template's TemplateData code as a supported parameter. For a required parameter, it can display a list of pages where the template is missing that parameter. The tool also shows commonly used values for each parameter. Each report is updated monthly and does not reflect changes made to articles or to the TemplateData code after the report's generation.
Usage
петнемсBy default, the template links for the template page:
- {{Template parameter usage}} → See the monthly parameter usage report for this template.
One can enter a template name:
- {{Template parameter usage|Infobox film}} → See the monthly parameter usage report for Template:Infobox film.
Optional:
|lc=yes
for lowercase "see": see the monthly parameter usage report for Template:Infobox film.- Entering
|1=Template:Infobox film
is accepted (namespace is removed). Editor friendly, using a positional parameter. - When
|1=
is used, "this template" text changes: → See the monthly parameter usage report for Template:Infobox film. |label=
sets the visible text (does not change the target link):
|label=
default → See the monthly parameter usage report for Template:Infobox film.|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 the monthly parameter usage report for Template:Example.
The first character can be made lowercase to follow on at the end of a sentence:
Blah, {{Template parameter usage|lc=yes}}
→ Blah, see the monthly parameter usage report for this template.
TemplateData
петнемсTemplateData for Template parameter usage
Нет описания.
Параметр | Описание | Тип | Статус | |
---|---|---|---|---|
1 | 1 | без описания | Неизвестно | необязательный |
lc | lc | без описания | Неизвестно | необязательный |
Тага ватт
петнемс- {{TemplateData header}} -- major user of this template