Template:Error/doc

Use this template to display an error message when a template is being used incorrectly. Articles that trigger such error messages will be added to Category:Misused templates.

Parameters
The second anonymous parameter can be set to either or  to display special built-in messages about too many anonymous parameters being used, as shown below.

Usage
See the template's testcases: