Wikipedia:Teahouse/Header/testcases
{{purge box}}
{{anchor|How to run}}{{fake heading|level=2|How to run these tests}}
Because the mw software creates a single ToC at the top of the page, multiple test cases on this page will end up all appearing in the unique ToC, a confusing and undesirable result if we want to isolate test results and compare sandbox with live.
So to run these tests, all test cases except one should be <-- commented out --> except the one you are testing. Each sandbox or live test case contains a hatnote saying it is active; only one such hatnote should be visible on this entire page for the test to be valid; if you see more than one hatnote (or none) your test results are invalid, and there is a problem with the comment delimiters somewhere.
When everything is set up correctly, one end comment delimiter (-->) will be visible at the end of the active test case; this is normal; ignore it.
{{fake heading|level=2|Test 1 (needs work, test has embedded {{tl|clear}}s(why?)}}
{{fake heading|level=2|Test 2 – sections with lipsum to show float/wrap (if any) }}
{{hatnote|NOTE: If you can see this, Test 2 (sandbox) is active (all the others should be commented out; see {{slink||How to run}}.)}}
{{fake heading|level=3|Test 2 (Sandbox)}}
{{Hatnote|Expected: Table of contents and archive box float right, with section content appearing to the left:}}
{{Wikipedia:Teahouse/Header/sandbox}}
Test 2 (sbox) – Heading 1
{{lipspan|1}}
Test 2 (sbox) – Heading 2
{{lipspan|2}}
Test 2 (sbox) – Heading 3
{{lipspan|3}}
-->