TemplateDoc:Internal/Error

General template errors

 * Deprecated template error

Parameter errors

 * Invalid parameter error
 * Missing parameter error
 * Deprecated parameter error

IMPORTANT: If you intend to create a new error template, please make sure to also create its respective category page and make that category a subcategory of Category:Pages containing template errors. This makes it easier to find and fix template errors on pages!

Usage
This template is used to signal unrecoverable template errors to the user. Templates should only use this or another error template when there is no possible way to give a logical output from a given set of parameters. An error message will be displayed on the article itself, and the editor will also be notified via a message at the top of the page in the edit preview. The page will automatically be added to a category, so that the error can be found and fixed by other users.

Under normal circumstances, templates should use one of the other, more specific error templates to signify errors, so that the error message, type and category is more specific.

IMPORTANT: Errors should only be used in cases where the issue cannot be recovered from, and the template is unable to display in a sensible manner on the page! If the issue is more minor and the template can still function, please use Template:Internal/Warning instead, to give the editor a more less warning and avoid error messages appearing in the final article.

Error states
This template will always throw an error - that is its purpose.

Examples
Here are some examples of how to use this template: