Template:Err/doc
| This is a documentation subpage for Template:Err. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Use this template when you need to show a serious (fatal) error resulting from improper user input. Usually, it is best to simply show the error message from the appropriate parser function (in which case this template is not needed), but there are times when custom error messages are useful. Please do not use this on article pages directly, as it is likely quite useless and probably in violation of content policies.
{{err|error message}}
produces:
error message
This should be more specific than the default, and if possible, should give instructions for a "quick fix". There are no real rules for error messages, but, by analogy with the errors arising from parser functions, it appears that capitalization of the first letter is preferred.