Template:Error/doc

__NOWYSIWYG__

Description
The template returns a state of error (recognized as such by a wiki parser function), and optionally an error-message text in red (visible for the user).

Usage

 * Compare, used in a Parser Function:  →
 * Compare, used in a Parser Function:  →

Tag option
The tag to contain the error message can be given through the tag parameter, but it will only accept values of span, div, p, and strong, since those are the only tags recognized by the   parser function. It defaults to strong, the tag generated by  . To prevent strong message, use one of the other tags (e.g., span).


 * ABC XYZ
 * produces …
 * ABC XYZ


 * ABC XYZ
 * produces …
 * ABC XYZ


 * ABC XYZ
 * produces …
 * ABC XYZ


 * ABC XYZ
 * produces …
 * ABC XYZ


 * ABC
 * produces …
 * ABC XYZ