Template:Error/doc: Difference between revisions
Jump to navigation
Jump to search
create |
No edit summary |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
This template should be used any time a template displays an error message. It formats the message and adds the page to the appropriate category. | This template should be used any time a template displays an error message. It formats the message and adds the page to the appropriate category. This template uses Lua code at [[Module:Error]]. | ||
==Parameters== | ==Parameters== | ||
Latest revision as of 10:57, 21 October 2025
This page contains the documentation for Template:Error. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.
This template should be used any time a template displays an error message. It formats the message and adds the page to the appropriate category. This template uses Lua code at Module:Error.
Parameters
- unnamed parameter: the text of the error. If omitted, a generic error message will be used, including the type if provided.
- type: this determines the category added to the page; by default it is "template".