<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="uz">
	<id>https://ziyosfera.uz/index.php?action=history&amp;feed=atom&amp;title=Andoza%3ATestcase%2Fdoc</id>
	<title>Andoza:Testcase/doc - Oʻzgarishlar tarixi</title>
	<link rel="self" type="application/atom+xml" href="https://ziyosfera.uz/index.php?action=history&amp;feed=atom&amp;title=Andoza%3ATestcase%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://ziyosfera.uz/index.php?title=Andoza:Testcase/doc&amp;action=history"/>
	<updated>2026-11-20T15:41:06Z</updated>
	<subtitle>Ziyosferadagi mazkur sahifaning oʻzgarishlar tarixi</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://ziyosfera.uz/index.php?title=Andoza:Testcase/doc&amp;diff=149460&amp;oldid=prev</id>
		<title>Programmer: Oʻzbekcha Vikipediyadan import qilindi.</title>
		<link rel="alternate" type="text/html" href="https://ziyosfera.uz/index.php?title=Andoza:Testcase/doc&amp;diff=149460&amp;oldid=prev"/>
		<updated>2026-08-06T15:16:22Z</updated>

		<summary type="html">&lt;p&gt;Oʻzbekcha Vikipediyadan import qilindi.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Yangi sahifa&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{Template sandbox notice}}&amp;lt;!--only displayed when viewed from /sandbox page--&amp;gt;&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{for|an easier-to-use version of this template|Template:Test case}}&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
Use to compare a template with its sandbox.  Pass the raw code in nowikis as the first unnamed parameter; the existing template as the second, and the sandbox as the third.  The optional named parameter {{para|id}} is used as a heading (to describe the test being performed); if {{para|id}} is omitted, parameter 1 is used. The optional named parameter {{para|layout}} determines whether the live and sandbox outputs are displayed side by side or on top of each other. The default value is vertical (on top of each other). A value of horizontal will produce side by side output.&lt;br /&gt;
&lt;br /&gt;
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 &amp;#039;&amp;#039;(this includes white space differences)&amp;#039;&amp;#039;, then the test is displayed in an uncollapsed table with a yellow heading.&lt;br /&gt;
&lt;br /&gt;
Note that some more complex templates may cause testcases to be highlighted even when their output is the same. The cause of this is under investigation...&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{testcase&lt;br /&gt;
|id=title and url&lt;br /&gt;
|layout=horizontal&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{citation|title=Test|url=http://example.org}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{citation        |title=Test|url=http://example.org}}&lt;br /&gt;
|{{citation/sandbox|title=Test|url=http://example.org}}&lt;br /&gt;
}}&amp;lt;/syntaxhighlight &amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the sandbox code in parameter 3 gives the same output as the non-sandbox code in parameter 2:&lt;br /&gt;
&amp;lt;!--note, the code used in the examples below is simply to ensure that the output is always the same in the first example and different in the second - the output, not the code, is what matters.--&amp;gt;&lt;br /&gt;
{{testcase|id=title and url&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{citation|title=Test|url=http://example.org}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{citation|title=Test|url=http://example.org}}&lt;br /&gt;
|{{citation|title=Test|url=http://example.org}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If sandbox gives different output:&lt;br /&gt;
{{testcase|id=title and url&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{citation|title=Test|url=http://example.org}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{citation|title=Test|url=http://example.org}}&lt;br /&gt;
|{{citation|title=Test|url=http://example.org}} content of the differing output&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
Templates invoking [[Module:Template test case]]:&lt;br /&gt;
* [[Template:Test case]] – a generalised test case template&lt;br /&gt;
* [[Template:Testcase rows]] – for a table of test cases arranged in rows&lt;br /&gt;
* [[Template:Testcase table]] – for a table of test cases arranged in columns&lt;br /&gt;
* [[Template:Inline test case]] – for test cases with small invocations and small output&lt;br /&gt;
* [[Template:Collapsible test case]] – for test cases collapsed by default if the results are the same&lt;br /&gt;
* [[Template:Test case nowiki]] – for test cases from template invocations enclosed in {{tag|nowiki}} tags&lt;br /&gt;
* [[Template:Nowiki template demo]] – for use in template documentation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&amp;lt;!--&lt;br /&gt;
++++ PLEASE ADD CATEGORIES BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. --&amp;gt;&lt;br /&gt;
[[Category:Template namespace templates]]&lt;br /&gt;
[[Category:Template test cases| ]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Programmer</name></author>
	</entry>
</feed>