Template:Error/doc

A helper template to display an error, generally to be used from inside other templates. Categorizes the page in Category:.

Usage
or

Error message to display. Will be wrapped in a span.
 * First unnamed parameter or text

Hover text.
 * title

Mark for error source. Will be categorized to "Error from $source" category.
 * from or source

Category to categorize the page in. Set $cate to n or no to prevent categorization altogether.
 * Second, third, and fourth unnamed parameter or cate, cate2 and cate3

Error Handle
You can use #iferror: to catch error and handle it. For example: