Template:Template error report/doc

From Nordic Larp Wiki
< Template:Template error report
Revision as of 02:51, 29 December 2018 by Johannes Axner (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Template Parameters tool is now available on Tool Labs, 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

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 ==

{{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 repor 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.