<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ur">
	<id>https://ur.wikivahdat.com/w/index.php?action=history&amp;feed=atom&amp;title=%D8%B3%D8%A7%D9%86%DA%86%DB%81%3AFind_demonym%2Fdoc</id>
	<title>سانچہ:Find demonym/doc - تاریخچہ ترمیم</title>
	<link rel="self" type="application/atom+xml" href="https://ur.wikivahdat.com/w/index.php?action=history&amp;feed=atom&amp;title=%D8%B3%D8%A7%D9%86%DA%86%DB%81%3AFind_demonym%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://ur.wikivahdat.com/w/index.php?title=%D8%B3%D8%A7%D9%86%DA%86%DB%81:Find_demonym/doc&amp;action=history"/>
	<updated>2026-04-20T03:33:53Z</updated>
	<subtitle>ویکی پر اِس صفحہ کا تاریخچۂ نظرثانی</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://ur.wikivahdat.com/w/index.php?title=%D8%B3%D8%A7%D9%86%DA%86%DB%81:Find_demonym/doc&amp;diff=1932&amp;oldid=prev</id>
		<title>Wikivahdat: 1 نسخہ درآمد کیا گیا</title>
		<link rel="alternate" type="text/html" href="https://ur.wikivahdat.com/w/index.php?title=%D8%B3%D8%A7%D9%86%DA%86%DB%81:Find_demonym/doc&amp;diff=1932&amp;oldid=prev"/>
		<updated>2022-12-04T05:57:30Z</updated>

		<summary type="html">&lt;p&gt;1 نسخہ درآمد کیا گیا&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ur&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;→ پرانا نسخہ&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;نسخہ بمطابق 09:27، 4 دسمبر 2022ء&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ur&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(کوئی فرق نہیں)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Wikivahdat</name></author>
	</entry>
	<entry>
		<id>https://ur.wikivahdat.com/w/index.php?title=%D8%B3%D8%A7%D9%86%DA%86%DB%81:Find_demonym/doc&amp;diff=1931&amp;oldid=prev</id>
		<title>ur&gt;Wikivahdat: typo</title>
		<link rel="alternate" type="text/html" href="https://ur.wikivahdat.com/w/index.php?title=%D8%B3%D8%A7%D9%86%DA%86%DB%81:Find_demonym/doc&amp;diff=1931&amp;oldid=prev"/>
		<updated>2020-08-24T15:41:13Z</updated>

		<summary type="html">&lt;p&gt;typo&lt;/p&gt;
&lt;p&gt;&lt;b&gt;نیا صفحہ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{Lua|Module:Find demonym}}&lt;br /&gt;
&lt;br /&gt;
Extracts from string the demonym (adjective) of a continent or country (African, Indian, British etc).  Returns nothing if there is no match.&lt;br /&gt;
&lt;br /&gt;
Note that the demonym in the string &amp;#039;&amp;#039;must&amp;#039;&amp;#039; properly capitalised. &amp;quot;Indian&amp;quot; will be matched, but &amp;quot;indian&amp;quot; or &amp;quot;INDIAN&amp;quot; will be ignored.&lt;br /&gt;
&lt;br /&gt;
The list of countries is hard-coded in a list in [[:Module:Find demonym]], based on the list in {{tl|Iso2nationality}} with a few additions. &lt;br /&gt;
&lt;br /&gt;
Some options allow its behaviour to be configured.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Basic usage ===&lt;br /&gt;
{{tlx|Find demonym|Foo}}&lt;br /&gt;
&lt;br /&gt;
This usage will return the first time in string Foo which matches the correctly-capitalised demonym of a continent or country. &lt;br /&gt;
&lt;br /&gt;
If no match is found, it returns an empty string.  This allows its simple use in templates, e.g.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{#if: {{Find demonym}}|&amp;lt;!-- do nothing if there is a match --&amp;gt;|This string does not include a demonym}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Optional parameters ===&lt;br /&gt;
One parameter is obligatory, two optional parameters are available:&lt;br /&gt;
&lt;br /&gt;
* {{para|{{var|string}}|{{var|value}}}}&lt;br /&gt;
:This forces the template to use a title other than the current page&lt;br /&gt;
* {{para|{{var|nomatch}}|{{var|value}}}}&lt;br /&gt;
:This parameter is used to specify a message to be generate if no match is found.  For example&lt;br /&gt;
::&amp;lt;u&amp;gt;Default output&amp;lt;/u&amp;gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Find demonym|The quick brown fox jumps over the lazy dog}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Find demonym|The quick brown fox jumps over the lazy dog}}&lt;br /&gt;
::&amp;lt;u&amp;gt;with nomatch&amp;lt;/u&amp;gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Find demonym|The quick brown fox jumps over the lazy dog|nomatch=No demonym!}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Find demonym|The quick brown fox jumps over the lazy dog|nomatch=No demonym!}}&lt;br /&gt;
* {{para|{{var|match}}|{{var|number}}}}&lt;br /&gt;
:If multiple demonyms are found, this specifies which match to return, where the first match is match= 1. If a negative number is specified then a match is returned counting from the last match. Hence match = -1 is the same as requesting the last match. Defaults to 1.&lt;br /&gt;
:Examples:&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Find demonym|Some Bangladeshi, Indian and Pakistani (and maybe Sri Lankan) cricketers|match=2}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Find demonym|Some Bangladeshi, Indian and Pakistani (and maybe Sri Lankan) cricketers|match=2}}&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Find demonym|Some Bangladeshi, Indian and Pakistani (and maybe Sri Lankan) cricketers|match=-2}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Find demonym|Some Bangladeshi, Indian and Pakistani (and maybe Sri Lankan) cricketers|match=-2}}&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;string&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Search string&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;String to search for demonym. If left blank, the template will return a blank, the bare module will use the page name&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;match&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Match Instance&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If multiple demonyms are found, this specifies which match to return, where the first match is match= 1. If a negative number is specified then a match is returned counting from the last match. Hence match = -1 is the same as requesting the last match. Defaults to 1.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;1&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;nomatch&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;No match text&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;If no demonyms are found, output the \&amp;quot;nomatch\&amp;quot; value. Defaults to blank.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Extracts a demonym from a string. All parameters are optional.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|Title demonym}} - a wrapper for this template using PAGENAME&lt;br /&gt;
* {{tl|Find country}} - equivalent to this but outputs countries&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{string-handling templates}}&lt;br /&gt;
&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:Country templates]]&lt;br /&gt;
[[Category:String manipulation templates|demonymfind]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>ur&gt;Wikivahdat</name></author>
	</entry>
</feed>