Puzzle Potato Dry Brush.png
UnNews Logo Potato1.png

Welcome to the Mother Ship of amateur comedy writing! (Amateur means we don't pay you to do it.)

This is where the original Uncyclopedia wound up. You might as well pick a user name. We have no "partners" that want to sell you stuff. Giving your email simply lets you recover your password; we don't send spam. Uncyclopedians get a talk page, private edit area, and a welcome, maybe, if you actually edit; and we won't de-platform you for your views, if they're funny.


Template:Collapsible test case/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
This is a documentation subpage for Template:Collapsible test case.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Collapsible test case.

Description

Utility template for testing templates in a standardized way on /testcases pages.

Tests are more reliable between main template and /sandbox template, because parameters are duplicated, leaving less room for human error.

Usage

{{Collapsible test case|parameter1=value1|parameter2=value2|…}}

Example

On Template:W/testcases, the code

{{Collapsible test case
|1=Fox tossing
|2=Wikipedia asserts that ''fox tossing'' is an actual thing
}}

calls both of the following and compares the result:

  1. Template:W as {{W|Fox tossing|Wikipedia asserts that fox tossing is an actual thing}}
  2. Template:W/sandbox as {{W/sandbox|Fox tossing|Wikipedia asserts that fox tossing is an actual thing}}

History

Copied from wikipedia:Template:Collapsible test case; also is documented there with examples.