<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://ephemeralfilm.info/a/Template:ISO_3166_code/doc/history?feed=atom</id>
	<title>Template:ISO 3166 code/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://ephemeralfilm.info/a/Template:ISO_3166_code/doc/history?feed=atom"/>
	<link rel="alternate" type="text/html" href="http://ephemeralfilm.info/a/Template:ISO_3166_code/doc/history"/>
	<updated>2026-04-09T10:01:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>http://ephemeralfilm.info/index.php?title=Template:ISO_3166_code/doc&amp;diff=38836&amp;oldid=prev</id>
		<title>JJR at 20:31, 13 May 2022</title>
		<link rel="alternate" type="text/html" href="http://ephemeralfilm.info/index.php?title=Template:ISO_3166_code/doc&amp;diff=38836&amp;oldid=prev"/>
		<updated>2022-05-13T20:31:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:31, 13 May 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Documentation subpage}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Template Data ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Lua|Module:ISO 3166}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Lua|Module:ISO 3166}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l85&quot;&gt;Line 85:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 88:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{Tlx|ISO 3166 code|Paquistán|Balochistan}} PK-BA&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{Tlx|ISO 3166 code|Paquistán|Balochistan}} PK-BA&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{Tlx|ISO 3166 code|PK|Baluchistan}} PK-BA&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{Tlx|ISO 3166 code|PK|Baluchistan}} PK-BA&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== See Also ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* {{Purge}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JJR</name></author>
	</entry>
	<entry>
		<id>http://ephemeralfilm.info/index.php?title=Template:ISO_3166_code/doc&amp;diff=38835&amp;oldid=prev</id>
		<title>JJR: Created page with &quot;{{Lua|Module:ISO 3166}}  This template is part of a series that resolves the country and subdivision names to ISO 3166-1 and ISO 3166-2 codes, and vice versa. {{#ifeq:...&quot;</title>
		<link rel="alternate" type="text/html" href="http://ephemeralfilm.info/index.php?title=Template:ISO_3166_code/doc&amp;diff=38835&amp;oldid=prev"/>
		<updated>2022-05-13T20:30:42Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Lua|Module:ISO 3166}}  This template is part of a series that resolves the country and subdivision names to &lt;a href=&quot;/a/ISO_3166-1&quot; title=&quot;ISO 3166-1&quot;&gt;ISO 3166-1&lt;/a&gt; and &lt;a href=&quot;/a/ISO_3166-2/edit?redlink=1&quot; class=&quot;new&quot; title=&quot;ISO 3166-2 (page does not exist)&quot;&gt;ISO 3166-2&lt;/a&gt; codes, and vice versa. {{#ifeq:...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Lua|Module:ISO 3166}}&lt;br /&gt;
&lt;br /&gt;
This template is part of a series that resolves the country and subdivision names to [[ISO 3166-1]] and [[ISO 3166-2]] codes, and vice versa. {{#ifeq:{{Str len|{{{3|}}}}}|2|See also: [[ISO 3166-2:{{{3}}}]]}} ISO 3166 defines names, two and three letter codes and code numbers for all countries and six character codes (the two letter country code followed by a dash and a two or three character subdivision code) for all top level subdivisions. &lt;br /&gt;
&lt;br /&gt;
==Templates==&lt;br /&gt;
===ISO 3166-1===&lt;br /&gt;
* ISO 3166-1 alpha-2: {{Tl|ISO 3166 code}} (Eg: {{ISO 3166 code|Iran}})&lt;br /&gt;
* ISO 3166-1 alpha-3: {{Tl|ISO 3166 code-3}} (Eg: {{ISO 3166 code-3|Iran}})&lt;br /&gt;
* ISO 3166-1 numeric: {{Tl|ISO 3166 numeric}} (Eg: {{ISO 3166 numeric|Iran}})&lt;br /&gt;
&lt;br /&gt;
===ISO 3166-2===&lt;br /&gt;
* ISO 3166-2: {{Tl|ISO 3166 code}} (Eg: {{ISO 3166 code|Iran|Alborz}})&lt;br /&gt;
* ISO 3166-2 name: {{Tl|ISO 3166 name}} (Eg: {{ISO 3166 name|Iran}})&lt;br /&gt;
&lt;br /&gt;
===Non-ISO 3166===&lt;br /&gt;
Country name: {{Tl|Country name}} (Eg: {{Country name|Iran}})&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
When we wish to convert between various identifiers that may loosely be defined as &amp;#039;&amp;#039;user input&amp;#039;&amp;#039; and ISO 3166 entities, there may be more than one way to do each conversion. For our examples we use [[Pakistan]] as the country and [[Balochistan (Pakistan)]] as the subdivision.&lt;br /&gt;
&lt;br /&gt;
The ISO-3166 identifiers for Pakistan are:&lt;br /&gt;
* Name: Pakistan&lt;br /&gt;
* Alpha-2 code: PK&lt;br /&gt;
* Alpha-3 code: PAK&lt;br /&gt;
* Numeric code: 586&lt;br /&gt;
&lt;br /&gt;
The ISO-3166 identifiers for Balochistan (Pakistan) is:&lt;br /&gt;
* Subdivision code:PK-BK&lt;br /&gt;
&lt;br /&gt;
Now Pakistan also has a number of synonyms: for example [[Pakistán]] and [[پاکستان]].&lt;br /&gt;
&lt;br /&gt;
Similarly Baluchistan is known, for example, as [[Balochistan]] (on Wikipedia) and [[Bagh Sanjari]].&lt;br /&gt;
&lt;br /&gt;
=== Finding the Alpha-2 code ===&lt;br /&gt;
Any of the country identifiers can be used.&lt;br /&gt;
&lt;br /&gt;
* {{Tlx|ISO 3166 code|Pakistan}} PK&lt;br /&gt;
* {{Tlx|ISO 3166 code|PK}} PK&lt;br /&gt;
* {{Tlx|ISO 3166 code|PAK}} PK&lt;br /&gt;
* {{Tlx|ISO 3166 code|586}} PK&lt;br /&gt;
* {{Tlx|ISO 3166 code|Pakistán}} PK&lt;br /&gt;
* {{Tlx|ISO 3166 code|پاکستان}} PK&lt;br /&gt;
&lt;br /&gt;
=== Finding the Alpha-3 code ===&lt;br /&gt;
&lt;br /&gt;
* {{Tlx|ISO 3166 code-3|Pakistan}} PAK&lt;br /&gt;
* {{Tlx|ISO 3166 code-3|PK}} PAK&lt;br /&gt;
* {{Tlx|ISO 3166 code-3|PAK}} PAK&lt;br /&gt;
* {{Tlx|ISO 3166 code-3|586}} PAK&lt;br /&gt;
* {{Tlx|ISO 3166 code-3|Pakistán}} PAK&lt;br /&gt;
* {{Tlx|ISO 3166 code-3|پاکستان}} PAK&lt;br /&gt;
&lt;br /&gt;
=== Finding the name of a country ===&lt;br /&gt;
&lt;br /&gt;
* {{Tlx|ISO 3166 name|Pakistan}} Pakistan&lt;br /&gt;
* {{Tlx|ISO 3166 name|PK}} Pakistan&lt;br /&gt;
* {{Tlx|ISO 3166 name|PAK}} Pakistan&lt;br /&gt;
* {{Tlx|ISO 3166 name|586}} Pakistan&lt;br /&gt;
* {{Tlx|ISO 3166 name|Pakistán}} Pakistan&lt;br /&gt;
* {{Tlx|ISO 3166 name|پاکستان}} Pakistan&lt;br /&gt;
&lt;br /&gt;
=== Finding the common name of a country ===&lt;br /&gt;
&lt;br /&gt;
* {{Tlx|Country name|Pakistan}} Pakistan&lt;br /&gt;
* {{Tlx|Country name|PK}} Pakistan&lt;br /&gt;
* {{Tlx|Country name|PAK}} Pakistan&lt;br /&gt;
* {{Tlx|Country name|586}} Pakistan&lt;br /&gt;
* {{Tlx|Country name|Pakistán}} Pakistan&lt;br /&gt;
* {{Tlx|Country name|پاکستان}} Pakista&lt;br /&gt;
&lt;br /&gt;
=== Finding the numeric code of a country ===&lt;br /&gt;
&lt;br /&gt;
* {{Tlx|ISO 3166 numeric|Pakistan}} 586&lt;br /&gt;
* {{Tlx|ISO 3166 numeric|PK}} 586&lt;br /&gt;
* {{Tlx|ISO 3166 numeric|PAK}} 586&lt;br /&gt;
* {{Tlx|ISO 3166 numeric|586}} 586&lt;br /&gt;
* {{Tlx|ISO 3166 numeric|Pakistán}} 586&lt;br /&gt;
&lt;br /&gt;
=== Finding the subdivision code ===&lt;br /&gt;
&lt;br /&gt;
* {{Tlx|ISO 3166 code|Pakistan|Baluchistan}} PK-BA&lt;br /&gt;
* {{Tlx|ISO 3166 code|Pakistan|Balochistan}} PK-BA&lt;br /&gt;
* {{Tlx|ISO 3166 code|Pakistan|Bagh Sanjari}} PK-BA&lt;br /&gt;
* {{Tlx|ISO 3166 code|Pakistán|Baluchistan}} PK-BA&lt;br /&gt;
* {{Tlx|ISO 3166 code|Paquistán|Balochistan}} PK-BA&lt;br /&gt;
* {{Tlx|ISO 3166 code|PK|Baluchistan}} PK-BA&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:ISO 3166 templates]]&lt;br /&gt;
[[Category:Data retrieval templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>JJR</name></author>
	</entry>
</feed>