Template:Testcase/doc

Use this template to showcase a template and its parameters. If the pair of test codes in parameters 2 and 3 both produce the same output, then the test case is displayed in a collapsed table with a green heading. If the test codes produce different output (this includes white space differences), then the test is displayed in an uncollapsed table with a yellow heading.

Parameters

 * title: Add a title. Recommend is Parameter: XY to show, which parameter you are testing.
 * 1. unnamed: Add the showcased wiki code. Set the code between the &lt;nowiki&gt;...&lt;/nowiki&gt; tag.
 * 2. unnamed: Add the template code.
 * 3. unnamed: Add the template (sandbox version) code.
 * layout (optional): Supported are a vertical and a horizontal layout (default: vertical).

Usage
See the template's testcases: