Template:Error message/Doc

displays the error message (1st argument) as highlighted text.

It is typically used in template definitions, to warn when they are being incorrectly used.

The optional 2nd argument adds the page to that Category and provides a link to the Category.