Template:Test case/doc

This template is used to illustrate the proper (and maybe improper) usage of a template and its parameters on the template's subpage. It is a replacement for the Testcase template that avoids table wiki markup. (Illustrating template usage inside a table is problematic because the pipe character,, tends to get interpreted as table markup in that context.)

If used to show incorrect usage, it's probably a good idea to collect those cases under a section heading like. (See, for example, the documentation of .)

Parameters
While omitting the third anonymous parameter does not give an error, it would not allow editors to see how the sandbox version of the template compares to the main version. Please use all three parameters, even if there is currently no sandbox version of the template being documented.

The default value of is usually, which matches the purple color scheme used throughout the wiki). However, if the parameter  is set to any string, then the default background color is , a purplish black, as seen in the testcases below.

The value of is displayed in parentheses after  in the title bar, so it should be descriptive (not, for example, the word ). If you have no better description of the error being illustrated, you can just use, say,.

Usage
Typical:

All parameters:

See the template's testcases: