Template:Err/doc

From blackwiki
< Template:Err
Revision as of 02:55, 14 February 2009 by imported>NYKevin (Create the doc. page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

See also