<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Template%3AInflation%2Fdoc</id>
	<title>Template:Inflation/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Template%3AInflation%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Template:Inflation/doc&amp;action=history"/>
	<updated>2026-07-16T08:40:22Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Template:Inflation/doc&amp;diff=1887206&amp;oldid=prev</id>
		<title>imported&gt;Nostalgiacn 来自 2024年6月9日 (日) 12:52</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Template:Inflation/doc&amp;diff=1887206&amp;oldid=prev"/>
		<updated>2024-06-09T12:52:40Z</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;{{Documentation subpage}}&lt;br /&gt;
{{Intricate}}&lt;br /&gt;
{{tmbox|type = content| text =  &lt;br /&gt;
此模板&amp;#039;&amp;#039;&amp;#039;只適用於&amp;#039;&amp;#039;&amp;#039;膨脹中的消費物價指數價值，如日用品、工資、服務費用（診症費，火車票等）。模板&amp;#039;&amp;#039;&amp;#039;不適用於&amp;#039;&amp;#039;&amp;#039;資本支出、政府支出和個人財富及富有人支出。不正當使用此模板會視爲原創研究，如果編者不熟悉使用，請尋找有基本經濟知識的人幫助。}}&lt;br /&gt;
&lt;br /&gt;
{{TOCright}}&lt;br /&gt;
模板有三個必填參數，包括&amp;lt;tt&amp;gt;country_code&amp;lt;/tt&amp;gt;、&amp;lt;tt&amp;gt;value&amp;lt;/tt&amp;gt;及&amp;lt;tt&amp;gt;start_year&amp;lt;/tt&amp;gt;。通脹率資料可在模板的子頁面找到及編輯，如美國通脹率資料存在[[Template:Inflation/US/dataset]]，每年有新的資料，所有引用此模板的頁面便會自動更新。&lt;br /&gt;
&lt;br /&gt;
另外，編者可使用&amp;lt;tt&amp;gt;end_year&amp;lt;/tt&amp;gt;參數，指定某年之間的通脹率。&lt;br /&gt;
&lt;br /&gt;
=== 用法 ===&lt;br /&gt;
&lt;br /&gt;
 {{Tlx|Inflation|國家代碼|&amp;#039;&amp;#039;value&amp;#039;&amp;#039;|&amp;#039;&amp;#039;start_year&amp;#039;&amp;#039;}}&lt;br /&gt;
 {{Tlx|Inflation|國家代碼|&amp;#039;&amp;#039;value&amp;#039;&amp;#039;|&amp;#039;&amp;#039;start_year&amp;#039;&amp;#039;|&amp;#039;&amp;#039;end_year&amp;#039;&amp;#039;}}&lt;br /&gt;
 {{Tlx|Inflation|國家代碼|&amp;#039;&amp;#039;value&amp;#039;&amp;#039;|&amp;#039;&amp;#039;start_year&amp;#039;&amp;#039;|5=r=&amp;#039;&amp;#039;decimals&amp;#039;&amp;#039;|6=fmt=c}}&lt;br /&gt;
 {{Tlx|Inflation|國家代碼|&amp;#039;&amp;#039;value&amp;#039;&amp;#039;|&amp;#039;&amp;#039;start_year&amp;#039;&amp;#039;|5=r=&amp;#039;&amp;#039;decimals&amp;#039;&amp;#039;|6=fmt=eq}}&lt;br /&gt;
 {{Tlx|Inflation|國家代碼|&amp;#039;&amp;#039;value&amp;#039;&amp;#039;|&amp;#039;&amp;#039;start_year&amp;#039;&amp;#039;|5=r=&amp;#039;&amp;#039;decimals&amp;#039;&amp;#039;|6=fmt=eq|7=cursign=X}}&lt;br /&gt;
&lt;br /&gt;
此模板支援以下的貨幣：&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | &amp;lt;code&amp;gt;國家代碼&amp;lt;/code&amp;gt; !! scope=&amp;quot;col&amp;quot; | 國家 !! scope=&amp;quot;col&amp;quot; | 最早支援年份&amp;lt;code&amp;gt;start_year&amp;lt;/code&amp;gt;!! scope=&amp;quot;col&amp;quot; | 最晚支援年份&amp;lt;code&amp;gt;end_year&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | AU&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | [[澳洲]]{{Inflation/fn|AU}} || {{Inflation/AU/startyear}} || {{Inflation/year|AU}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | AU-road&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | [[澳洲]][...?]{{Inflation/fn|AU-road}} || {{Inflation/AU-road/startyear}} || {{Inflation/year|AU-road}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | CA&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | [[加拿大]]{{Inflation/fn|CA}} || {{Inflation/CA/startyear}} || {{Inflation/year|CA}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | DE&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | [[德國]]{{Inflation/fn|DE}} || {{Inflation/DE/startyear}} || {{Inflation/year|DE}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | JP&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | [[日本]]{{Inflation/fn|JP}} || {{Inflation/JP/startyear}} || {{Inflation/year|JP}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | UK&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | [[英國]]{{Inflation/fn|UK}} || {{Inflation/UK/startyear}} || {{Inflation/year|UK}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | US&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | [[美國]]{{Inflation/fn|US}} || {{Inflation/US/startyear}} || {{Inflation/year|US}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | US-GDP&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | [[美國]][[平均物价指数]]{{Inflation/fn|US-GDP}} || {{Inflation/US-GDP/startyear}} || {{Inflation/year|US-GDP}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;end_year&amp;#039;&amp;#039;&amp;#039;：如有輸入，數值必須比&amp;lt;tt&amp;gt;start_year&amp;lt;/tt&amp;gt;大，比現時年份小。沒有輸入則預設為今年。&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;=&amp;#039;&amp;#039;digit&amp;#039;&amp;#039;：設定四捨五入至某個數值，預設為0。&lt;br /&gt;
&lt;br /&gt;
例子：&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* {{aye}} {{tlx|Inflation|DE|1000000|2000}} = {{Inflation|DE|1000000|2000}}&lt;br /&gt;
* {{aye}} {{tlx|Inflation|US|1000000|2001|2001|fmt=eq}} = {{Inflation|US|1000000|2001|2001|fmt=eq}}&lt;br /&gt;
* {{aye}} {{tlx|Inflation|US|1000000|1990|2005|r{{=}}2}} = {{Inflation|US|1000000|1990|2005|r=2}}&lt;br /&gt;
* {{aye}} {{tlx|Inflation|UK|1000000|1323|1978|r{{=}}-3}} = {{Inflation|UK|1000000|1323|1978|r=-3}}&lt;br /&gt;
&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation|JP|100|2000}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|JP|100|2000}}}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation|DE|100|2000}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|DE|100|2000}}}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation|US|595|1982}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|US|595|1982}}}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation|US|595|1982|5=fmt=eq}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|US|595|1982|fmt=eq}}}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation|US|800|1942|5=fmt=eq|6=r=-3}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|US|800|1942|fmt=eq|r=-3}}}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation|US|100|2010|2012|6=fmt=eq|7=r=2}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|US|100|2010|2012|fmt=eq|r=2}}}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|&amp;lt;nowiki&amp;gt;US$595&amp;lt;/nowiki&amp;gt;（{{tlf|Inflation|US|595|1982|5=fmt=eq}}）}}&amp;lt;/code&amp;gt; → {{xt|US$595（{{Inflation|US|595|1982|fmt=eq}}）}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|&amp;lt;nowiki&amp;gt;US$595&amp;lt;/nowiki&amp;gt;（{{tlf|Inflation|US|595|1982|5=fmt=eq|6=cursign=&amp;lt;nowiki&amp;gt;[[美元|US$]]&amp;lt;/nowiki&amp;gt;}}）}}&amp;lt;/code&amp;gt; → {{xt|US$595（{{Inflation|US|595|1982|fmt=eq|cursign=[[美元|US$]]}}）}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|&amp;lt;nowiki&amp;gt;$2,100萬&amp;lt;/nowiki&amp;gt;（相当于{{tlf|Inflation/year|US}}的${{tlf|Inflation|US|2100|2005|5=r=0}}萬）}}&amp;lt;/code&amp;gt; → {{xt|$2,100萬（相当于{{Inflation/year|US}}年的${{Inflation|US|2100|2005|r=0}}萬）}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation|UK|1|1209|5=fmt=eq|6=cursign=£}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|UK|1|1209|fmt=eq|cursign=£}}}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation|AU|100|{{CURRENTYEAR}}|5=fmt=eq}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|AU|100|{{CURRENTYEAR}}|fmt=eq}}}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation/year|US}}}}年的{{mxt|${{tlf|Inflation|US|100|{{CURRENTYEAR}}}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation/year|US}}年的${{Inflation|US|100|{{CURRENTYEAR}}}} }}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation|UK|100|1982|5=fmt=eq|6=orig=yes|7=cursign=£}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|UK|100|1982|fmt=eq|orig=yes|cursign=£}}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
參數不當會顯示[[NaN]]：&lt;br /&gt;
&lt;br /&gt;
* {{nay}} {{tlx|Inflation}} = {{Inflation}}&lt;br /&gt;
* {{nay}} {{tlx|Inflation|abc}} = {{Inflation|abc}}&lt;br /&gt;
* {{nay}} {{tlx|Inflation|DE|1000000}} = {{Inflation|DE|1000000}}&lt;br /&gt;
* {{nay}} {{tlx|Inflation|US|1000000|1200|3000}} = {{Inflation|US|1000000|1200|3000}}&lt;br /&gt;
* {{nay}} {{tlx|Inflation|UK|1000000|2005|2004}} = {{Inflation|UK|1000000|2005|2004}}&lt;br /&gt;
&lt;br /&gt;
==== 提示與技巧 ====&lt;br /&gt;
===== 貨幣轉換 =====&lt;br /&gt;
&lt;br /&gt;
此模板不能轉換貨幣單位，因此，如果想知道1960時的1000德國馬克於現在的價值，輸入{{tlx|Inflation|DE|1000|1960|r{{=}}2}}顯示的數值仍爲德國馬克，而非歐元。&lt;br /&gt;
&lt;br /&gt;
所以，如要轉換貨幣單位，需要手動輸入數式，下面例子定義€ 1 = DM 1.95583：&lt;br /&gt;
&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{#expr:&amp;lt;/nowiki&amp;gt;({{tlx|Inflation|DE|1000|1960|r{{=}}2}}&amp;lt;nowiki&amp;gt; / 1.95583) round 2}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== 四捨五入 =====&lt;br /&gt;
&lt;br /&gt;
{{para|r}}參數可以定義要四捨五入的數位，輸入{{para|r|2}}會約至2個小數點；輸入{{para|r|-3}}會約至千位；輸入{{para|r|-6}}會約至百萬位，如此類推。&lt;br /&gt;
&lt;br /&gt;
===== Formatnum =====&lt;br /&gt;
&lt;br /&gt;
為達到更佳效果，編者可以使用&amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Help:魔術字|formatnum:]]&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;，用{{tlx|Formatprice}}也可。這個功能為數值每三個數位加上一個分隔逗號，但編者不能控制顯示多少小數位。&lt;br /&gt;
&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;DM&amp;#039;&amp;#039;&amp;#039; &amp;lt;nowiki&amp;gt;{{formatnum:&amp;lt;/nowiki&amp;gt;{{tlx|Inflation|DE|1000000|1957|1978}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;.00&amp;#039;&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; = DM {{formatnum:{{Inflation|DE|1000000|1957|1978}}}}.00&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;£&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{formatnum:&amp;lt;/nowiki&amp;gt;{{tlx|Inflation|UK|1000000|1323|1978|r{{=}}-4}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; = £{{formatnum:{{Inflation|UK|1000000|1323|1978|r=-4}}}}&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{formatnum:&amp;lt;/nowiki&amp;gt;{{tlx|Inflation|US|1000000|1990|r{{=}}2}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; = ${{formatnum:{{Inflation|US|1000000|1990|r=2}}}}&lt;br /&gt;
&lt;br /&gt;
{{TransH}}&lt;br /&gt;
Another potential source of difficulties resides in the way certain calculated values are expressed. In many cases the result comes as a number in engineering units (&amp;quot;1.2E+9&amp;quot; instead of &amp;quot;1200000000&amp;quot;), and when that happens &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Help:Magic words#Formatting|formatnum:]]&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;#039;ing&amp;lt;/tt&amp;gt; the result fails. A workaround then is to express the value to be inflated with fewer digits, adding a multiplier text such as &amp;quot;million&amp;quot; after the result, and then hitting the &amp;quot;Show preview&amp;quot; button as many times as needed, changing parameters until the best result is found:&lt;br /&gt;
&lt;br /&gt;
* {{nay}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{formatnum:&amp;lt;/nowiki&amp;gt;{{tlx|Inflation|US|1000000000|1900|r{{=}}-8}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; = ${{formatnum:{{Inflation|US|1000000000|1900|r=-8}}}}&lt;br /&gt;
* {{nay}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{formatnum:&amp;lt;/nowiki&amp;gt;{{tlx|Inflation|US|1000000|1900|r{{=}}-5}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; &amp;#039;&amp;#039;thousand&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; = ${{formatnum:{{Inflation|US|1000000|1900|r=-5}}}} thousand&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{formatnum:&amp;lt;/nowiki&amp;gt;{{tlx|Inflation|US|1000|1900|r{{=}}-2}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; &amp;#039;&amp;#039;million&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; = ${{formatnum:{{Inflation|US|1000|1900|r=-2}}}} million&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{formatnum:&amp;lt;/nowiki&amp;gt;{{tlx|Inflation|US|1|1900|r{{=}}1}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; &amp;#039;&amp;#039;billion&amp;#039;&amp;#039;&amp;lt;/tt&amp;gt; = ${{formatnum:{{Inflation|US|1|1900|r=1}}}} billion&lt;br /&gt;
&lt;br /&gt;
The following section provides an automated way of avoiding this trial and error scenario.&lt;br /&gt;
&lt;br /&gt;
===== Formatprice =====&lt;br /&gt;
&lt;br /&gt;
{{tlx|Formatprice}} is a template specifically designed to display price values, both big and small, in a more pleasant way than &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Help:Magic words#Formatting|formatnum:]]&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; allows for. For example, instead of showing the whole of a huge number such as &amp;quot;953,783,409,856.12&amp;quot;, it would show it as &amp;quot;{{Formatprice|953783409856.12}}&amp;quot;, while small numbers have their cents part appearing as expected, &amp;quot;1234.5&amp;quot; being properly shown as &amp;quot;{{Formatprice|1234.5}}&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On the down side, {{tlx|Formatprice}} has no built-in intelligent handling of user locale settings, which means that some users might see a dot or a comma the opposite way they&amp;#039;d expect. As a general rule of thumb this shouldn&amp;#039;t be a serious concern though, as most numbers in Wikipedia are hand-written anyway and will show as entered regardless of user settings.&lt;br /&gt;
&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;DM&amp;#039;&amp;#039;&amp;#039; &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Template:Formatprice|Formatprice]]&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{tlx|Inflation|DE|1000000|1957|1978}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; = DM {{Formatprice|{{Inflation|DE|1000000|1957|1978}}}}&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;£&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Template:Formatprice|Formatprice]]&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{tlx|Inflation|UK|1000000|1323|1978|r{{=}}-4}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; = £{{Formatprice|{{Inflation|UK|1000000|1323|1978|r=-4}}}}&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Template:Formatprice|Formatprice]]&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{tlx|Inflation|US|1000000|1990|r{{=}}2}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; = ${{Formatprice|{{Inflation|US|1000000|1990|r=2}}}}&lt;br /&gt;
* {{aye}} &amp;lt;tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;$&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Template:Formatprice|Formatprice]]&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{tlx|Inflation|US|1000000000|1900|r{{=}}-8}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; = ${{Formatprice|{{Inflation|US|1000000000|1900|r=-8}}}}&lt;br /&gt;
&lt;br /&gt;
===== Documenting =====&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a good practice to provide a valid reference for the prices calculated with this template in the articles where it&amp;#039;s used. The template {{tl|Inflation/fn|country}} was developed to ease this task. It accepts as its single parameter the same country codes used here, and will generate one or more appropriate footnotes. Typically, this is how a piece of text using it looks like:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;In 1910 a &amp;#039;&amp;#039;blah&amp;#039;&amp;#039; cost on average £1,000. This is equivalent to £{{Formatprice|{{Inflation|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;UK&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|1000|1910|r=2}}}} in present day &amp;lt;/nowiki&amp;gt;{{Nowrap|terms.&amp;lt;nowiki&amp;gt;{{Inflation/fn|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;UK&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Resulting in this converted code (notice the footnote link at the end):&lt;br /&gt;
&lt;br /&gt;
* In 1910 a &amp;#039;&amp;#039;blah&amp;#039;&amp;#039; cost on average £1,000. This is equivalent to £{{Formatprice|{{Inflation|UK|1000|1910|r=2}}}} in present day terms.{{Inflation/fn|UK}}&lt;br /&gt;
&lt;br /&gt;
The footnote thus generated appears whenever {{tlx|reflist}} or &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;references /&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; is used in an article, usually in its &amp;quot;References&amp;quot; section. See below for the live example in this document&amp;#039;s own [[Template:Inflation#References|References]] section, or click the above generated footnote to jump to it.&lt;br /&gt;
&lt;br /&gt;
==== Limitations ====&lt;br /&gt;
&lt;br /&gt;
#Currently it isn&amp;#039;t possible to &amp;quot;de-inflate&amp;quot; a value to what it would have been in a previous year. If you need this functionality, please request it at the [[Template talk:Inflation|talk page]]. Adding it won&amp;#039;t be difficult, but there&amp;#039;s no point in doing so before someone actually needs it.&lt;br /&gt;
#[[Wikipedia:Template substitution|Substitution]] isn&amp;#039;t supported at all. Trying to &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:&amp;lt;/nowiki&amp;gt;[[Template:Inflation|Inflation]]&amp;lt;nowiki&amp;gt;|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; would only result in a long sequence of embedded parser code without any direct benefit. If you need to obtain an inflated price only once, please use the special [[Special:ExpandTemplates|ExpandTemplates]] page then copy the result and paste it at the desired location.&lt;br /&gt;
&lt;br /&gt;
==== Developer Documentation ====&lt;br /&gt;
An inflation series represents templates in the following categories:&lt;br /&gt;
*Template:Inflation/name&lt;br /&gt;
*Template:Inflation/name/dataset&lt;br /&gt;
*Template:Inflation/name/startyear&lt;br /&gt;
*Template:Inflation/doc/name  (Which is then displayed at Inflation/name/dataset as the documentation, and needs to refer to the original data source)&lt;br /&gt;
Modifications need to be made to:&lt;br /&gt;
*Template:Inflation/fn&lt;br /&gt;
&lt;br /&gt;
{{TransF}}&lt;br /&gt;
&lt;br /&gt;
=== 重定向 ===&lt;br /&gt;
* {{tl|通脹}}&lt;br /&gt;
&lt;br /&gt;
=== 參見 ===&lt;br /&gt;
* {{tl|Inflation/year}}&lt;br /&gt;
* {{tl|Inflation/fn}}&lt;br /&gt;
* {{tl|Format price}}&lt;br /&gt;
* [[c:Category:Tabular data of consumer price indices|Tabular data of consumer price indices]]&lt;br /&gt;
* [[:Category:货币模板]]&lt;br /&gt;
* [[通货膨胀]]&lt;br /&gt;
* [[消費者物價指數]]&lt;br /&gt;
&amp;lt;!-- * [[Consumer Price Index (United Kingdom)]]&lt;br /&gt;
* [[Harmonised Index of Consumer Prices]]&lt;br /&gt;
* [[Lists of country codes]] --&amp;gt;&lt;br /&gt;
* [[流通貨幣列表]]&lt;br /&gt;
&amp;lt;!-- * [[United States Consumer Price Index]] --&amp;gt;&lt;br /&gt;
* [[平均物价指数]]&lt;br /&gt;
* {{clc|Category:使用Inflation模板时错误的页面}}&lt;br /&gt;
&lt;br /&gt;
=== 參考資料 ===&lt;br /&gt;
{{reflist|30em}}&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;
&amp;lt;!--[[Category:Inflation calculation templates]]&lt;br /&gt;
[[Category:Finance formatting and function templates]] --&amp;gt;&lt;br /&gt;
[[Category:貨幣換算模板]]&lt;br /&gt;
[[Category:經濟格式功能模板]]&lt;br /&gt;
[[Category:金融模板]]&lt;br /&gt;
[[Category:美国经济模板]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Nostalgiacn</name></author>
	</entry>
</feed>