<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hant-TW">
	<id>https://encyclo-sanctum.encyclato.org/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AISO_3166_conversion_template_doc</id>
	<title>模板:ISO 3166 conversion template doc - 修訂紀錄</title>
	<link rel="self" type="application/atom+xml" href="https://encyclo-sanctum.encyclato.org/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AISO_3166_conversion_template_doc"/>
	<link rel="alternate" type="text/html" href="https://encyclo-sanctum.encyclato.org/index.php?title=%E6%A8%A1%E6%9D%BF:ISO_3166_conversion_template_doc&amp;action=history"/>
	<updated>2026-09-17T17:07:12Z</updated>
	<subtitle>本wiki上此頁面的修訂紀錄</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://encyclo-sanctum.encyclato.org/index.php?title=%E6%A8%A1%E6%9D%BF:ISO_3166_conversion_template_doc&amp;diff=303&amp;oldid=prev</id>
		<title>LatO：​已匯入 1 筆修訂</title>
		<link rel="alternate" type="text/html" href="https://encyclo-sanctum.encyclato.org/index.php?title=%E6%A8%A1%E6%9D%BF:ISO_3166_conversion_template_doc&amp;diff=303&amp;oldid=prev"/>
		<updated>2026-09-17T09:25:07Z</updated>

		<summary type="html">&lt;p&gt;已匯入 1 筆修訂&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026年9月17日 (四) 09:25的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hant-TW&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（無差異）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff:1.41:old-302:rev-303 --&gt;
&lt;/table&gt;</summary>
		<author><name>LatO</name></author>
	</entry>
	<entry>
		<id>https://encyclo-sanctum.encyclato.org/index.php?title=%E6%A8%A1%E6%9D%BF:ISO_3166_conversion_template_doc&amp;diff=302&amp;oldid=prev</id>
		<title>CSS國家模板&gt;Vozhuo 於 2019年1月7日 (一) 07:12</title>
		<link rel="alternate" type="text/html" href="https://encyclo-sanctum.encyclato.org/index.php?title=%E6%A8%A1%E6%9D%BF:ISO_3166_conversion_template_doc&amp;diff=302&amp;oldid=prev"/>
		<updated>2019-01-07T07:12:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;{{{{{|safesubst:}}}#invoke:Unsubst||subst=|$flags=override,keep-whitespace,remove-empty|$B={{Documentation|1=Template:ISO 3166 conversion template doc|content=&amp;lt;span style=&amp;quot;font-size:90%;&amp;quot;&amp;gt;{{Bracket|[[Template:ISO 3166 conversion template doc|查看]]}} {{Edit|Template:ISO_3166_conversion_template_doc}} [{{purge|清除缓存}}]&amp;lt;/span&amp;gt;&lt;br /&gt;
{{#if:{{{lua|}}}|{{lua|{{{lua|}}}}}|}}&lt;br /&gt;
==模板==&lt;br /&gt;
===ISO 3166-1===&lt;br /&gt;
ISO 3166-1 alpha-2：{{Tl|ISO 3166 code}}（例：{{ISO 3166 code|Iran}}）&amp;lt;br&amp;gt;&lt;br /&gt;
ISO 3166-1 alpha-3：{{Tl|ISO 3166 code-3}}（例：{{ISO 3166 code-3|Iran}}）&amp;lt;br&amp;gt;&lt;br /&gt;
ISO 3166-1 numeric：{{Tl|ISO 3166 numeric}}（例：{{ISO 3166 numeric|Iran}}）&lt;br /&gt;
===ISO 3166-2===&lt;br /&gt;
ISO 3166-2: {{Tl|ISO 3166 code}} (Eg: {{ISO 3166 code|Iran|Alborz}})&amp;lt;br&amp;gt;&lt;br /&gt;
ISO 3166-2 name: {{tl|ISO 3166 name}} (Eg: {{ISO 3166 name|Iran}})&lt;br /&gt;
===非ISO 3166===&lt;br /&gt;
Country name: {{tl|Country name}} (Eg: {{Country name|Iran}})&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--===ISO 3166-3===&lt;br /&gt;
ISO 3166-3:--&amp;gt;&lt;br /&gt;
==Usage==&lt;br /&gt;
{{#switch:{{NAMESPACE}}&lt;br /&gt;
|Template=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.&lt;br /&gt;
|Category=This category contains part of the series of templates resolves the country and subdivision names to [[ISO 3166-1]] and [[ISO 3166-2]] codes, and vice versa.&lt;br /&gt;
|This {{lcfirst:{{NAMESPACE}}}} relates to a series of templates resolves the country and subdivision names to [[ISO 3166-1]] and [[ISO 3166-2]] codes, and vice versa.&lt;br /&gt;
}}{{#ifeq:{{Str len|{{{3|}}}}}|2|See also: [[ISO 3166-2:{{{3}}}]]}}{{#if:{{{spec|}}}|&lt;br /&gt;
==Special case==&lt;br /&gt;
{{{spec|}}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==ISO 3166==&lt;br /&gt;
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;
==Using the family of templates==&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;
; To get the &amp;#039;&amp;#039;&amp;#039;Alpha-2&amp;#039;&amp;#039;&amp;#039; code we can use {{Tlx|ISO 3166 code}} with any of the country identifiers.&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;
; To get the &amp;#039;&amp;#039;&amp;#039;Alpha-3&amp;#039;&amp;#039;&amp;#039; 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|پاکستان}} Pakistan &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;
;The subdivision code can be obtained in the following ways.&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;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{{4|}}}|name|{{#if:{{{2|}}}|[[Category:ISO 3166 name from code templates{{!}}{{{1}}} {{{2}}}]]|[[Category:ISO 3166 name from code country templates{{!}}{{{1|}}}]]}}|{{#if:{{{2|}}}|[[Category:ISO 3166 code from name templates{{!}}{{{1}}} {{{2}}}]]|[[Category:ISO 3166 code from name country templates{{!}}{{{1|}}}]]}}}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:模板文件]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>CSS國家模板&gt;Vozhuo</name></author>
	</entry>
</feed>