<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Andoza:CountryPrefixThe/doc - Oʻzgarishlar tarixi</title>
		<link>https://ziyosfera.uz/index.php?title=Andoza:CountryPrefixThe/doc&amp;action=history</link>
		<description>Ziyosferadagi mazkur sahifaning oʻzgarishlar tarixi</description>
		<language>uz</language>
		<generator>MediaWiki 1.45.1</generator>
		<lastBuildDate>Tue, 24 Nov 2026 15:58:52 GMT</lastBuildDate>
		<item>
			<title>Programmer: Oʻzbekcha Vikipediyadan import qilindi.</title>
			<link>https://ziyosfera.uz/index.php?title=Andoza:CountryPrefixThe/doc&amp;diff=90432&amp;oldid=prev</link>
			<guid isPermaLink="false">https://ziyosfera.uz/index.php?title=Andoza:CountryPrefixThe/doc&amp;diff=90432&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;{{Hujjat ostsahifasi}}&lt;br /&gt;
{{High use}}&lt;br /&gt;
{{tsh|CountryPrefixThe}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
This is a helper template, use by other templates.&lt;br /&gt;
&lt;br /&gt;
Takes a country name, and returns the name prefixed by &amp;quot;the&amp;quot; if that is required in running text.  Otherwise just returns the country name.&lt;br /&gt;
&lt;br /&gt;
Optionally, returns just the word &amp;quot;the&amp;quot;, if applicable.&lt;br /&gt;
&lt;br /&gt;
In either case, the word &amp;quot;the&amp;quot; may optionally be returned in capitalised form.&lt;br /&gt;
&lt;br /&gt;
== Foydalanish ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Countryname}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Countryname|onlythe=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Countryname|onlythe=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Countryname|capitalised=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Countryname|capitalised=yes|onlythe=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== Misollar===&lt;br /&gt;
&lt;br /&gt;
; No parameters&lt;br /&gt;
# &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Kenya}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{CountryPrefixThe|Kenya}}&lt;br /&gt;
# &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Philippines}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{CountryPrefixThe|Philippines}}&lt;br /&gt;
&lt;br /&gt;
; with &amp;quot;onlythe=yes&amp;quot;&lt;br /&gt;
# &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Kenya|onlythe=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{CountryPrefixThe|Kenya|onlythe=yes}}&lt;br /&gt;
# &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Philippines|onlythe=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{CountryPrefixThe|Philippines|onlythe=yes}}&lt;br /&gt;
&lt;br /&gt;
; with &amp;quot;capitalised=yes&amp;quot;&lt;br /&gt;
# &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Kenya|capitalised=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{CountryPrefixThe|Kenya|capitalised=yes}}&lt;br /&gt;
# &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Philippines|capitalised=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{CountryPrefixThe|Philippines|capitalised=yes}}&lt;br /&gt;
&amp;#039;&amp;#039;Note that the alternative spelling &amp;quot;capitalized=yes&amp;quot; has the same effect&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
; with both &amp;quot;onlythe=yes&amp;quot; and &amp;quot;capitalised=yes&amp;quot;&lt;br /&gt;
# &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Kenya|onlythe=yes|capitalised=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{CountryPrefixThe|Kenya|onlythe=yes|capitalised=yes}}&lt;br /&gt;
# &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CountryPrefixThe|Philippines|onlythe=yes|capitalised=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{CountryPrefixThe|onlythe=yes|Philippines|capitalised=yes}}&lt;br /&gt;
&lt;br /&gt;
==== Only &amp;quot;the&amp;quot; ====&lt;br /&gt;
The optional parameter &amp;quot;onlythe=yes&amp;quot; allow control of whether the countryname is included in the returned value.&lt;br /&gt;
&lt;br /&gt;
There are some situations where the definite article is needed alone, e.g. when the countryname is to be linked but the word &amp;quot;the&amp;quot; should not be linked.&lt;br /&gt;
&lt;br /&gt;
e.g.: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;products were exported to [[{{{country}}}]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{{country}}}=United States&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, then we get a grammatically incorrect result:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;products were exported to [[{{{country}}}]]&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → products were exported to [[United States]]&lt;br /&gt;
&lt;br /&gt;
Alternatively, if &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{{country}}}=United States&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and we use {{tl|CountryPrefixThe}}, then then word the is incorrectly part of the linked text&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;products were exported to [[{{CountryPrefixThe|{{{country}}}}}]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → products were exported to [[the United States]]&lt;br /&gt;
&lt;br /&gt;
The solution is to use the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;onlythe=yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; parameter:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;quot;products were exported to {{CountryPrefixThe|{{{country}}}|onlythe=yes}} [[{{country}}]]&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;  → products were exported to the [[United States]]&lt;br /&gt;
== Full parameter list ==&lt;br /&gt;
Unnamed parameter 1= the input value to be evaluated. The other parameters (all named, all optional), set options. The value of the options is calculated by {{tl|Yesno}}, which interprets as &amp;quot;yes&amp;quot; case-insensitive forms of &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;Yes&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;y&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;true&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;1&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{yesno&lt;br /&gt;
|&lt;br /&gt;
| capitalised =&lt;br /&gt;
| onlythe = &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Andoza maʼlumotlari ==&lt;br /&gt;
{{TemplateDataHeader}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
        &amp;quot;description&amp;quot;: &amp;quot;This template takes a country name, and returns the name prefixed by &amp;#039;the&amp;#039; if that is required in running text. Otherwise just returns the country name.&amp;quot;,&lt;br /&gt;
        &amp;quot;params&amp;quot;: {&lt;br /&gt;
                &amp;quot;1&amp;quot;: {&lt;br /&gt;
                        &amp;quot;label&amp;quot;: &amp;quot;Input value&amp;quot;,&lt;br /&gt;
                        &amp;quot;description&amp;quot;: &amp;quot;The value to be evaluated&amp;quot;,&lt;br /&gt;
                        &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
                        &amp;quot;required&amp;quot;: true&lt;br /&gt;
                },&lt;br /&gt;
                &amp;quot;onlythe&amp;quot;: {&lt;br /&gt;
                        &amp;quot;label&amp;quot;: &amp;quot;Output only the word &amp;#039;the&amp;#039;&amp;quot;,&lt;br /&gt;
                        &amp;quot;description&amp;quot;: &amp;quot;Outputs only the word &amp;#039;the&amp;#039; when the input value is a case-insensitive forms of &amp;#039;Yes&amp;#039;, &amp;#039;Y&amp;#039;, &amp;#039;True&amp;#039; or &amp;#039;1&amp;#039;&amp;quot;,&lt;br /&gt;
                        &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
                        &amp;quot;required&amp;quot;: false&lt;br /&gt;
                },&lt;br /&gt;
                &amp;quot;capitalised&amp;quot;: {&lt;br /&gt;
                        &amp;quot;label&amp;quot;: &amp;quot;Capitalise &amp;#039;the&amp;#039;?&amp;quot;,&lt;br /&gt;
                        &amp;quot;description&amp;quot;: &amp;quot;Capitalises the word &amp;#039;the&amp;#039; as &amp;#039;The&amp;#039; when the input value is a case-insensitive forms of &amp;#039;Yes&amp;#039;, &amp;#039;Y&amp;#039;, &amp;#039;True&amp;#039; or &amp;#039;1&amp;#039;&amp;quot;,&lt;br /&gt;
                        &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
                        &amp;quot;required&amp;quot;: false&lt;br /&gt;
                },&lt;br /&gt;
                &amp;quot;capitalized&amp;quot;: {&lt;br /&gt;
                        &amp;quot;label&amp;quot;: &amp;quot;Capitalize &amp;#039;the&amp;#039;?&amp;quot;,&lt;br /&gt;
                        &amp;quot;description&amp;quot;: &amp;quot;Synonym of &amp;#039;capitalised&amp;#039;. Capitalises the word &amp;#039;the&amp;#039; as &amp;#039;The&amp;#039; when the input value is a case-insensitive forms of &amp;#039;Yes&amp;#039;, &amp;#039;Y&amp;#039;, &amp;#039;True&amp;#039; or &amp;#039;1&amp;#039;&amp;quot;,&lt;br /&gt;
                        &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
                        &amp;quot;required&amp;quot;: false&lt;br /&gt;
                }&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
==Kuzatuv turkumlari==&lt;br /&gt;
*{{clc|Template Year in country category with prefix available though CountryPrefixThe}}&lt;br /&gt;
*{{clc|Template Year in country category with prefix parameter matching that in CountryPrefixThe}}&lt;br /&gt;
*{{clc|Template Year in country category with prefix parameter NOT matching that in CountryPrefixThe}}&lt;br /&gt;
&lt;br /&gt;
== Yana qarang ==&lt;br /&gt;
* {{ml|ustring|gsub}} can be used to strip the &amp;quot;the&amp;quot; :&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:ustring|gsub|the United Kingdom|^the ?|}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{#invoke:ustring|gsub|the United Kingdom|^the ?|}}&lt;br /&gt;
** &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:ustring|gsub|France|^the ?|}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{#invoke:ustring|gsub|France|^the ?|}}&lt;br /&gt;
* [[Module:CountryAdjectiveDemonym]]&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:ZiyoSfera classification templates]]&lt;br /&gt;
[[Category:ZiyoSfera utility templates]]&lt;br /&gt;
[[Category:Country templates]]&lt;br /&gt;
}}&lt;/div&gt;</description>
			<pubDate>Thu, 06 Aug 2026 11:48:38 GMT</pubDate>
			<dc:creator>Programmer</dc:creator>
			<comments>https://ziyosfera.uz/ziyo/Andoza_munozarasi:CountryPrefixThe/doc</comments>
		</item>
</channel></rss>