<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Andoza:Testcase/doc - Oʻzgarishlar tarixi</title>
		<link>https://ziyosfera.uz/index.php?title=Andoza:Testcase/doc&amp;action=history</link>
		<description>Ziyosferadagi mazkur sahifaning oʻzgarishlar tarixi</description>
		<language>uz</language>
		<generator>MediaWiki 1.45.1</generator>
		<lastBuildDate>Fri, 20 Nov 2026 16:18:28 GMT</lastBuildDate>
		<item>
			<title>Programmer: Oʻzbekcha Vikipediyadan import qilindi.</title>
			<link>https://ziyosfera.uz/index.php?title=Andoza:Testcase/doc&amp;diff=149460&amp;oldid=prev</link>
			<guid isPermaLink="false">https://ziyosfera.uz/index.php?title=Andoza:Testcase/doc&amp;diff=149460&amp;oldid=prev</guid>
			<description>&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;</description>
			<pubDate>Thu, 06 Aug 2026 15:16:22 GMT</pubDate>
			<dc:creator>Programmer</dc:creator>
			<comments>https://ziyosfera.uz/ziyo/Andoza_munozarasi:Testcase/doc</comments>
		</item>
</channel></rss>