<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://1904lpe.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AInflation%2Fdoc</id>
	<title>Template:Inflation/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://1904lpe.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AInflation%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://1904lpe.org/wiki/index.php?title=Template:Inflation/doc&amp;action=history"/>
	<updated>2026-05-19T06:37:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://1904lpe.org/wiki/index.php?title=Template:Inflation/doc&amp;diff=865&amp;oldid=prev</id>
		<title>WikiSysop: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://1904lpe.org/wiki/index.php?title=Template:Inflation/doc&amp;diff=865&amp;oldid=prev"/>
		<updated>2022-11-08T16:23:00Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:23, 8 November 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
	<entry>
		<id>https://1904lpe.org/wiki/index.php?title=Template:Inflation/doc&amp;diff=864&amp;oldid=prev</id>
		<title>l&gt;Plastikspork: No such templates</title>
		<link rel="alternate" type="text/html" href="https://1904lpe.org/wiki/index.php?title=Template:Inflation/doc&amp;diff=864&amp;oldid=prev"/>
		<updated>2022-10-07T15:26:31Z</updated>

		<summary type="html">&lt;p&gt;No such templates&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{anchor|ombox}}&lt;br /&gt;
{{ombox |type= content |imageright= [[File:Emblem-money.svg|42px]] |text= This template defaults to calculating the inflation of [[Consumer Price Index]] values: staples, workers&amp;#039; rent, small service bills (doctor&amp;#039;s costs, train tickets). &amp;#039;&amp;#039;&amp;#039;For inflating capital expenses, government expenses, or the personal wealth and expenditure of the rich&amp;#039;&amp;#039;&amp;#039;, the US-GDP or UK-GDP indexes should be used, which calculate inflation based on the [[gross domestic product]] (GDP) for the [[United States]] and [[United Kingdom]], respectively.}}&lt;br /&gt;
{{ombox |type= content |imageright= [[File:Current event warning.svg|42px]] |text= &amp;lt;strong&amp;gt;Do not assume that using this template will mean that a calculated value is &amp;lt;em&amp;gt;&amp;quot;current&amp;quot;&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;, &amp;lt;em&amp;gt;&amp;quot;as of {{CURRENTYEAR}}&amp;quot;&amp;lt;/em&amp;gt;, &amp;lt;em&amp;gt;&amp;quot;as of {{#expr:{{CURRENTYEAR}}-1}}&amp;quot;&amp;lt;/em&amp;gt; or even necessarily &amp;lt;em&amp;gt;&amp;quot;recent&amp;quot;&amp;lt;/em&amp;gt;. Per [[MOS:REALTIME]], statements made using this template should either specify an &amp;lt;code&amp;gt;end_year&amp;lt;/code&amp;gt;, or rely on {{para|fmt|eq}} or &amp;lt;strong&amp;gt;{{tlx|Inflation/year}}&amp;lt;/strong&amp;gt; to automatically indicate the latest year this template provides an inflation calculation. &amp;lt;strong&amp;gt;Do not use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{CURRENTYEAR}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&amp;lt;/strong&amp;gt;}}&lt;br /&gt;
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}}&lt;br /&gt;
{{Never substitute}}&lt;br /&gt;
{{TOC right}}&lt;br /&gt;
This template calculates inflation based on several [[price index|inflation index]] data sets. The template uses an identification code for an inflation &amp;lt;code&amp;gt;index&amp;lt;/code&amp;gt; (usually a [[Lists of country codes|country code]]), an original &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt;, an original &amp;lt;code&amp;gt;start_year&amp;lt;/code&amp;gt; and either a specific reference &amp;lt;code&amp;gt;end_year&amp;lt;/code&amp;gt; or by default the latest currently available end year,&amp;lt;ref&amp;gt;How recently depends on how the data set for each country is constructed, and on the internal tables being updated accordingly every January. Some data tables provide inflation data up to December 31, {{#expr:{{CURRENTYEAR}}-1}}, others up to roughly June-July {{#expr:{{CURRENTYEAR}}-1}}, and others yet up to December 31, {{#expr:{{CURRENTYEAR}}-2}}.&amp;lt;/ref&amp;gt; and calculates the equivalent value from historical economic changes between the original and reference years. For example, this template calls the United States inflation table located in the sub-template [[Template:Inflation/US/dataset]] to perform the U.S. calculation.&lt;br /&gt;
&lt;br /&gt;
Aside from a convenient way to calculate values from different specified time periods, this template allows a regularly automatically updated calculation of value based on the most recent available inflation data. Whenever inflation tables are updated, potentially annually, all articles using this template have their displayed values updated accordingly.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
 {{Tlx|Inflation|&amp;#039;&amp;#039;index&amp;#039;&amp;#039;|&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;index&amp;#039;&amp;#039;|&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;index&amp;#039;&amp;#039;|&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;index&amp;#039;&amp;#039;|&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;index&amp;#039;&amp;#039;|&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;
The supported countries are listed below, with their &amp;lt;code&amp;gt;index&amp;lt;/code&amp;gt; and available data periods:&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;index&amp;lt;/code&amp;gt; !! scope=&amp;quot;col&amp;quot; | Country !! scope=&amp;quot;col&amp;quot; | &amp;lt;code&amp;gt;start_year&amp;lt;/code&amp;gt; minimum !! scope=&amp;quot;col&amp;quot; | &amp;lt;code&amp;gt;end_year&amp;lt;/code&amp;gt; maximum&lt;br /&gt;
|-&lt;br /&gt;
!AR&lt;br /&gt;
|Argentina{{Inflation/fn|AR}}&lt;br /&gt;
|{{Inflation/AR/startyear}}&lt;br /&gt;
|{{Inflation/year|AR}}&lt;br /&gt;
|-&lt;br /&gt;
!AT&lt;br /&gt;
|Austria{{Inflation/fn|AT}}&lt;br /&gt;
|{{Inflation/AT/startyear}}&lt;br /&gt;
|{{Inflation/year|AT}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | AU&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | Australia{{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; | Australia [...?]{{Inflation/fn|AU-road}} || {{Inflation/AU-road/startyear}} || {{Inflation/year|AU-road}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | BD&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | Bangladesh{{Inflation/fn|BD}} || {{Inflation/BD/startyear}} || {{Inflation/year|BD}}&lt;br /&gt;
|-&lt;br /&gt;
!BE&lt;br /&gt;
|Belgium{{Inflation/fn|BE}}&lt;br /&gt;
|{{Inflation/BE/startyear}}&lt;br /&gt;
|{{Inflation/year|BE}}&lt;br /&gt;
|-&lt;br /&gt;
!BR&lt;br /&gt;
|Brazil{{Inflation/fn|BR}}&lt;br /&gt;
|{{Inflation/BR/startyear}}&lt;br /&gt;
|{{Inflation/year|BR}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | CA&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | Canada{{Inflation/fn|CA}} || {{Inflation/CA/startyear}} || {{Inflation/year|CA}}&lt;br /&gt;
|-&lt;br /&gt;
!CH&lt;br /&gt;
|Switzerland{{Inflation/fn|CH}}&lt;br /&gt;
|{{Inflation/CH/startyear}}&lt;br /&gt;
|{{Inflation/year|CH}}&lt;br /&gt;
|-&lt;br /&gt;
!CL&lt;br /&gt;
|Chile{{Inflation/fn|CL}}&lt;br /&gt;
|{{Inflation/CL/startyear}}&lt;br /&gt;
|{{Inflation/year|CL}}&lt;br /&gt;
|-&lt;br /&gt;
!CN&lt;br /&gt;
|China{{Inflation/fn|CN}}&lt;br /&gt;
|{{Inflation/CN/startyear}}&lt;br /&gt;
|{{Inflation/year|CN}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | DE&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | Germany{{Inflation/fn|DE}}{{dl}} || {{Inflation/DE/startyear}} || {{Inflation/year|DE}}&lt;br /&gt;
|-&lt;br /&gt;
!DK&lt;br /&gt;
|Denmark{{Inflation/fn|DK}}&lt;br /&gt;
|{{Inflation/DK/startyear}}&lt;br /&gt;
|{{Inflation/year|DK}}&lt;br /&gt;
|-&lt;br /&gt;
!EG&lt;br /&gt;
|Egypt{{Inflation/fn|EG}}&lt;br /&gt;
|{{Inflation/EG/startyear}}&lt;br /&gt;
|{{Inflation/year|EG}}&lt;br /&gt;
|-&lt;br /&gt;
!ES&lt;br /&gt;
|Spain{{Inflation/fn|ES}}&lt;br /&gt;
|{{Inflation/ES/startyear}}&lt;br /&gt;
|{{Inflation/year|ES}}&lt;br /&gt;
|-&lt;br /&gt;
!FI&lt;br /&gt;
|Finland{{Inflation/fn|FI}}&lt;br /&gt;
|{{Inflation/FI/startyear}}&lt;br /&gt;
|{{Inflation/year|FI}}&lt;br /&gt;
|-&lt;br /&gt;
!FR&lt;br /&gt;
|France{{Inflation/fn|FR}}&lt;br /&gt;
|{{Inflation/FR/startyear}}&lt;br /&gt;
|{{Inflation/year|FR}}&lt;br /&gt;
|-&lt;br /&gt;
!GR&lt;br /&gt;
|Greece{{Inflation/fn|GR}}&lt;br /&gt;
|{{Inflation/GR/startyear}}&lt;br /&gt;
|{{Inflation/year|GR}}&lt;br /&gt;
|-&lt;br /&gt;
!HK&lt;br /&gt;
|Hong Kong{{Inflation/fn|HK}}&lt;br /&gt;
|{{Inflation/HK/startyear}}&lt;br /&gt;
|{{Inflation/year|HK}}&lt;br /&gt;
|-&lt;br /&gt;
!ID&lt;br /&gt;
|Indonesia{{Inflation/fn|ID}}&lt;br /&gt;
|{{Inflation/ID/startyear}}&lt;br /&gt;
|{{Inflation/year|ID}}&lt;br /&gt;
|-&lt;br /&gt;
!IL&lt;br /&gt;
|Israel{{Inflation/fn|IL}}&lt;br /&gt;
|{{Inflation/IL/startyear}}&lt;br /&gt;
|{{Inflation/year|IL}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | IN&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | India{{Inflation/fn|IN}} || {{Inflation/IN/startyear}} || {{Inflation/year|IN}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | IR&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | Iran{{Inflation/fn|IR}} || {{Inflation/IR/startyear}} || {{Inflation/year|IR}}&lt;br /&gt;
|-&lt;br /&gt;
!IS&lt;br /&gt;
|Iceland{{Inflation/fn|IS}}&lt;br /&gt;
|{{Inflation/IS/startyear}}&lt;br /&gt;
|{{Inflation/year|IS}}&lt;br /&gt;
|-&lt;br /&gt;
!IT&lt;br /&gt;
|Italy{{Inflation/fn|IT}}&lt;br /&gt;
|{{Inflation/IT/startyear}}&lt;br /&gt;
|{{Inflation/year|IT}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | JP&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | Japan{{Inflation/fn|JP}} || {{Inflation/JP/startyear}} || {{Inflation/year|JP}}&lt;br /&gt;
|-&lt;br /&gt;
!MX&lt;br /&gt;
|Mexico{{Inflation/fn|MX}}&lt;br /&gt;
|{{Inflation/MX/startyear}}&lt;br /&gt;
|{{Inflation/year|MX}}&lt;br /&gt;
|-&lt;br /&gt;
!NL&lt;br /&gt;
|Netherlands{{Inflation/fn|NL}}&lt;br /&gt;
|{{Inflation/NL/startyear}}&lt;br /&gt;
|{{Inflation/year|NL}}&lt;br /&gt;
|-&lt;br /&gt;
!NO&lt;br /&gt;
|Norway{{Inflation/fn|NO}}&lt;br /&gt;
|{{Inflation/NO/startyear}}&lt;br /&gt;
|{{Inflation/year|NO}}&lt;br /&gt;
|-&lt;br /&gt;
!NZ&lt;br /&gt;
|New Zealand{{Inflation/fn|NZ}}&lt;br /&gt;
|{{Inflation/NZ/startyear}}&lt;br /&gt;
|{{Inflation/year|NZ}}&lt;br /&gt;
|-&lt;br /&gt;
!PE&lt;br /&gt;
|Peru{{Inflation/fn|PE}}&lt;br /&gt;
|{{Inflation/PE/startyear}}&lt;br /&gt;
|{{Inflation/year|PE}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | PH&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | Philippines{{Inflation/fn|PH}} || {{Inflation/PH/startyear}} || {{Inflation/year|PH}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | PK&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | Pakistan{{Inflation/fn|PK}} || {{Inflation/PK/startyear}} || {{Inflation/year|PK}}&lt;br /&gt;
|-&lt;br /&gt;
!PL&lt;br /&gt;
|Poland{{Inflation/fn|PL}}&lt;br /&gt;
|{{Inflation/PL/startyear}}&lt;br /&gt;
|{{Inflation/year|PL}}&lt;br /&gt;
|-&lt;br /&gt;
!PT&lt;br /&gt;
|Portugal{{Inflation/fn|PT}}&lt;br /&gt;
|{{Inflation/PT/startyear}}&lt;br /&gt;
|{{Inflation/year|PT}}&lt;br /&gt;
|-&lt;br /&gt;
!RU&lt;br /&gt;
|Russia{{Inflation/fn|RU}}&lt;br /&gt;
|{{Inflation/RU/startyear}}&lt;br /&gt;
|{{Inflation/year|RU}}&lt;br /&gt;
|-&lt;br /&gt;
!SE&lt;br /&gt;
|Sweden{{Inflation/fn|SE}}&lt;br /&gt;
|{{Inflation/SE/startyear}}&lt;br /&gt;
|{{Inflation/year|SE}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | SG&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | Singapore{{Inflation/fn|SG}} || {{Inflation/SG/startyear}} || {{Inflation/year|SG}}&lt;br /&gt;
|-&lt;br /&gt;
!TH&lt;br /&gt;
|Thailand{{Inflation/fn|TH}}&lt;br /&gt;
|{{Inflation/TH/startyear}}&lt;br /&gt;
|{{Inflation/year|TH}}&lt;br /&gt;
|-&lt;br /&gt;
!TR&lt;br /&gt;
|Turkey{{Inflation/fn|TR}}&lt;br /&gt;
|{{Inflation/TR/startyear}}&lt;br /&gt;
|{{Inflation/year|TR}}&lt;br /&gt;
|-&lt;br /&gt;
!TW&lt;br /&gt;
|Taiwan{{Inflation/fn|TW}}&lt;br /&gt;
|{{Inflation/TW/startyear}}&lt;br /&gt;
|{{Inflation/year|TW}}&amp;lt;!-- |-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | TEST&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | TEST{{Inflation/fn|TEST}} || {{Inflation/TEST/startyear}} || {{Inflation/year|TEST}} --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | UK&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | United Kingdom{{Inflation/fn|UK}} || {{Inflation/UK/startyear}} || {{Inflation/year|UK}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | UK-GDP&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | United Kingdom [[GDP deflator]]{{Inflation/fn|UK-GDP}} || {{Inflation/UK-GDP/startyear}} || {{Inflation/year|UK-GDP}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | US&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | United States{{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; | United States [[GDP deflator]]{{Inflation/fn|US-GDP}} || {{Inflation/US-GDP/startyear}} || {{Inflation/year|US-GDP}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | ZAR&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | South Africa{{Inflation/fn|ZAR}} || {{Inflation/ZAR/startyear}} || {{Inflation/year|ZAR}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | KRW&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | South Korea{{Inflation/fn|KRW}} || {{Inflation/KRW/startyear}} || {{Inflation/year|KRW}}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
* {{para|index}} (parameter 1), &amp;lt;strong&amp;gt;required&amp;lt;/strong&amp;gt;, an index code for one of several available inflation indexes.&lt;br /&gt;
* {{para|value}} (parameter 2), &amp;lt;strong&amp;gt;required&amp;lt;/strong&amp;gt;, original price or value from which to base the inflation calculation on. Will ignore any commas, but must not have a [[currency symbol]].&lt;br /&gt;
* {{para|start_year}} (parameter 3), &amp;lt;strong&amp;gt;required&amp;lt;/strong&amp;gt;, original year from which to base the inflation calculation on. Must be a year available in the chosen inflation index. As an exception to this, if the &amp;lt;em&amp;gt;current&amp;lt;/em&amp;gt; year is specified and no &amp;lt;code&amp;gt;end_year&amp;lt;/code&amp;gt; is specified, the template will output &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; unchanged, as it can be assumed an inflation of zero.&lt;br /&gt;
* {{para|end_year}} (parameter 4), &amp;lt;strong&amp;gt;optional&amp;lt;/strong&amp;gt;, reference year for which to calculate inflation. Must be higher (later) than &amp;lt;code&amp;gt;start_year&amp;lt;/code&amp;gt;, but not higher than the highest (most recent) year available in the chosen inflation index, and will default to the highest (most recent) available year if omitted.&lt;br /&gt;
* {{para|r|digit}} sets the digits to which the value must be rounded. A negative value indicates rounding to an upper significant digit, and a positive value indicates a [[fractional digit]] including [[trailing zeros]]. Defaults to &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;, i.e., without cents.&lt;br /&gt;
* {{para|fmt|c}} will insert [[thousands separator]] commas into the calculated value.&lt;br /&gt;
* {{para|fmt|eq}} will show an equivalent-to phrase, in the format, &amp;quot;{{xtn|equivalent to &amp;lt;code&amp;gt;cursign&amp;lt;/code&amp;gt;&amp;lt;code&amp;gt;end_value&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;end_year&amp;lt;/code&amp;gt;}}&amp;quot;. Uses [[thousands separator]] commas.&lt;br /&gt;
** {{para|cursign}} will set the [[currency symbol]] to be shown. Only functions when {{para|fmt|eq}} is used. Can use advanced symbol formats, but can only precede the calculated value. Default is &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt;.&lt;br /&gt;
** {{para|orig|yes}} will display the original value too, with the currency sign provided.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation|KRW|100|2000}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|KRW|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;[[United States dollar|US$]]&amp;lt;/nowiki&amp;gt;}})}}&amp;lt;/code&amp;gt; → {{xt|US$595 ({{Inflation|US|595|1982|fmt=eq|cursign=[[United States dollar|US$]]}})}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|&amp;lt;nowiki&amp;gt;$21&amp;amp;amp;nbsp;million&amp;lt;/nowiki&amp;gt; (equivalent to ${{tlf|Inflation|US|21|2005|5=r=2}}&amp;amp;amp;nbsp;million in {{tlf|Inflation/year|US}})}}&amp;lt;/code&amp;gt; → {{xt|$21&amp;amp;nbsp;million (equivalent to ${{Inflation|US|21|2005|r=2}}&amp;amp;nbsp;million in {{Inflation/year|US}})}}&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|US|100|{{CURRENTYEAR}}}}}} in {{mxt|{{tlf|Inflation/year|US}}}}&amp;lt;/code&amp;gt; → {{xt|${{Inflation|US|100|{{CURRENTYEAR}}}} in {{Inflation/year|US}}}}&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;
It is possible to use the template in incorrect ways without producing error messages. &amp;lt;strong&amp;gt;[[#ombox|Please read the warnings and appropriate uses of this template at the beginning of the template description]].&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|UK|10|1971|5=fmt=eq}}}}&amp;lt;/code&amp;gt; → {{!xt|{{Inflation|UK|10|1971|fmt=eq}}}} (Omitting the {{para|cursign}} parameter will show the $ symbol by default, which is the wrong currency symbol for British currency)&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|{{tlf|Inflation|UK|10|1971|5=fmt=eq|6=cursign=£}}}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|UK|10|1971|fmt=eq|cursign=£}}}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|$595 (${{tlf|Inflation|US|595|1982|5=fmt=c}} today)}}&amp;lt;/code&amp;gt; → {{!xt|$595 (${{Inflation|US|595|1982|fmt=c}} today)}} (Misleading time reference)&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|$595 (${{tlf|Inflation|US|595|1982|5=fmt=c}} in {{tlf|CURRENTYEAR}})}}&amp;lt;/code&amp;gt; → {{!xt|$595 (${{Inflation|US|595|1982|fmt=c}} in {{CURRENTYEAR}})}} (Misleading time reference)&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|$100 (${{tlf|Inflation|US|595|1982|5=fmt=c}} adjusted for inflation)}}&amp;lt;/code&amp;gt; → {{!xt|$100 (${{Inflation|US|595|1982|fmt=c}} adjusted for inflation)}} (Misleading time reference)&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|$595 ({{tlf|Inflation|US|595|1982|5=fmt=eq}})}}&amp;lt;/code&amp;gt; → {{xt|$595 ({{Inflation|US|595|1982|fmt=eq}})}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|$595 (equivalent to ${{tlf|Inflation|US|595|1982|5=fmt=c}} in {{tlf|Inflation/year|US}})}}&amp;lt;/code&amp;gt; → {{xt|$595 (equivalent to ${{Inflation|US|595|1982|fmt=c}} in {{Inflation/year|US}})}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|Jane Doe amassed a fortune of $1 billion in 1975, making her worth ${{tlf|Inflation|US|1|1975|5=fmt=c}} billion in {{tlf|Inflation/year|US}}.}}&amp;lt;/code&amp;gt; → {{!xt|Jane Doe amassed a fortune of $1 billion in 1975, making her worth ${{Inflation|US|1|1975|fmt=c}} billion in {{Inflation/year|US}}.}} (CPI is not for personal wealth of the wealthy – use GDP deflator instead)&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|Jane Doe amassed a fortune of $1 billion in 1975, equivalent to ${{tlf|Inflation|US|1|1975|5=fmt=c}} billion in {{tlf|Inflation/year|US}}.}}&amp;lt;/code&amp;gt; → {{!xt|Jane Doe amassed a fortune of $1 billion in 1975, equivalent to ${{Inflation|US|1|1975|fmt=c}} billion in {{Inflation/year|US}}.}} (CPI is not for personal wealth of the wealthy – use GDP deflator instead)&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|Jane Doe amassed a fortune of $1 billion in 1975, equivalent to ${{tlf|Inflation|US-GDP|1|1975|5=fmt=c}} billion in {{tlf|Inflation/year|US-GDP}}.}}&amp;lt;/code&amp;gt; → {{xt|Jane Doe amassed a fortune of $1 billion in 1975, equivalent to ${{Inflation|US-GDP|1|1975|fmt=c}} billion in {{Inflation/year|US-GDP}}}}&lt;br /&gt;
&lt;br /&gt;
Entering invalid parameters or omitting required parameters will result in an error message and categorization into [[:Category:Pages with errors in inflation template]].&lt;br /&gt;
&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation}}}}&amp;lt;/code&amp;gt; → {{Inflation|nocat=y}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|abc}}}}&amp;lt;/code&amp;gt; → {{Inflation|abc|nocat=y}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|AU}}}}&amp;lt;/code&amp;gt; → {{Inflation|AU|nocat=y}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|AU|100}}}}&amp;lt;/code&amp;gt; → {{Inflation|AU|100|nocat=y}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|abc|€100|1980}}}}&amp;lt;/code&amp;gt; → {{Inflation|abc|€100|1980|nocat=y}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|DE|€100|1980}}}}&amp;lt;/code&amp;gt; → {{Inflation|DE|€100|1980|nocat=y}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|DE|€100|zzzz|zzzz|6=r=zzzz}}}}&amp;lt;/code&amp;gt; → {{Inflation|DE|€100|zzzz|zzzz|r=zzzz|nocat=y}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|AU|100|1200|{{#expr:{{CURRENTYEAR}}+1}}}}}}&amp;lt;/code&amp;gt; → {{Inflation|AU|100|1200|{{#expr:{{CURRENTYEAR}}+1}}|nocat=y}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|AU|100|2005|2004}}}}&amp;lt;/code&amp;gt; → {{Inflation|AU|100|2005|2004|nocat=y}} (see the Limitations section below)&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|AU|100|2005|{{#expr:{{CURRENTYEAR}}+1}}|6=fmt=eq}}}}&amp;lt;/code&amp;gt; → {{Inflation|AU|100|2005|{{#expr:{{CURRENTYEAR}}+1}}|fmt=eq|nocat=y}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|AU|100|{{CURRENTYEAR}}|{{#expr:{{CURRENTYEAR}}+1}}|6=fmt=eq}}}}&amp;lt;/code&amp;gt; → {{Inflation|AU|100|{{CURRENTYEAR}}|{{#expr:{{CURRENTYEAR}}+1}}|fmt=eq|nocat=y}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|AU|100|{{CURRENTYEAR}}|1905|6=fmt=eq}}}}&amp;lt;/code&amp;gt; → {{Inflation|AU|100|{{CURRENTYEAR}}|1905|fmt=eq|nocat=y}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|{{tlf|Inflation|AU|100|{{#expr:{{CURRENTYEAR}}+1}}|5=fmt=eq}}}}&amp;lt;/code&amp;gt; → {{Inflation|AU|100|{{#expr:{{CURRENTYEAR}}+1}}|fmt=eq|nocat=y}}&lt;br /&gt;
&lt;br /&gt;
=== Tips &amp;amp; tricks ===&lt;br /&gt;
==== Currency conversion ====&lt;br /&gt;
Many datasets are currency agnostic, which means they don&amp;#039;t convert between different currencies. Thus, if you wanted to know today&amp;#039;s equivalent value of 1,000.00 [[Austrian schilling]]s in 1960, entering {{Tlx|Inflation|AT|1000|1960|5=r=2}} would provide a result ({{xtn|{{Inflation|AT|1000|1960|r=2}}}}) still in schillings, not in [[euro]]s.&lt;br /&gt;
&lt;br /&gt;
Consequently, if you need a result in a currency other than the one in which the original value is stated, for now you must do the conversion manually, as in the following example which uses the defined conversion rate of 13.7603 schillings to one Euro:&lt;br /&gt;
&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|&amp;lt;nowiki&amp;gt;{{#expr:&amp;lt;/nowiki&amp;gt;({{tlf|Inflation|AT|1000|1960|5=r=2}}&amp;lt;nowiki&amp;gt; / 13.7603) round 2}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;/code&amp;gt; → {{xt|{{#expr:({{Inflation|AT|1000|1960|r=2}} / 13.7603) round 2}}}}&lt;br /&gt;
&lt;br /&gt;
Some datasets are not currency agnostic; check the sources for each dataset to determine this. &lt;br /&gt;
&lt;br /&gt;
{{ToDo}} A currency conversion template to ease these conversion tasks is planned. This section will be updated accordingly once it&amp;#039;s developed.&lt;br /&gt;
&lt;br /&gt;
==== Non-decimal inputs ====&lt;br /&gt;
The template does not accept non-decimal inputs such as [[£sd]]; these must be decimalized beforehand. For example, if you wanted to know the value of three shillings and sixpence (3s 6d) Sterling in 1950 in 2018, you must convert to the appropriate decimal value (in this case £0.175) for use in the template:&lt;br /&gt;
&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|&amp;lt;nowiki&amp;gt;{{Inflation|GBP|0.175|1950|2018}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|GBP|0.175|1950|2018}}}}&lt;br /&gt;
&lt;br /&gt;
For £sd specifically {{tl|Pounds, shillings, and pence}} can be used to convert to decimal.  For other non-decimal currencies, such as the old [[Indian rupee]], templates can be made for decimalization upon request.&lt;br /&gt;
&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|&amp;lt;nowiki&amp;gt;{{Inflation|GBP|{{Pounds, shillings, and pence|s=3|d=6}}|1950|2018|r=0|fmt=eq|cursign=£}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|UK|{{Pounds, shillings, and pence|s=3|d=6}}|1950|2018|r=0|fmt=eq|cursign=£}}}}&lt;br /&gt;
&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|&amp;lt;nowiki&amp;gt;{{Inflation|UK|{{Pounds, shillings, and pence|s=10|d=6}}|1865|fmt=eq|cursign=£}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;/code&amp;gt; → {{xt|{{Inflation|UK|{{Pounds, shillings, and pence|s=10|d=6}}|1865|fmt=eq|cursign=£}}}}&lt;br /&gt;
&lt;br /&gt;
==== Rounding ====&lt;br /&gt;
By default the values are calculated to the unit, as for all but very low values cents are undesirable. You can specify rounding with the {{para|r}} parameter which determines the number of decimals. To obtain cents use {{para|r|2}}, but other values can be used, including negative ones: {{para|r|-3}}, for example, will round to the nearest thousand, {{para|r|-6}} to the nearest million, and so on. It is advisable to avoid [[false precision]]; even if the start value is known to be exact, the template&amp;#039;s result will not be because the inflation index tables are rarely accurate to more than about 1%, and a granularity of whole years is used.&lt;br /&gt;
&lt;br /&gt;
==== Very large results ====&lt;br /&gt;
Very large results are expressed in scientific notation (&amp;quot;1.2E+14&amp;quot; instead of &amp;quot;120000000000000&amp;quot;) which is normally not desirable. A workaround is to express the value to be inflated with fewer digits, adding a multiplier text such as &amp;quot;trillion&amp;quot; after the result, using 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;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|${{tlf|Inflation|US-GDP|1000000000000|1900|5=r=-11|6=fmt=c}}}}&amp;lt;/code&amp;gt; → {{xt|${{Inflation|US-GDP|1000000000000|1900|r=-11|fmt=c}}}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|${{tlf|Inflation|US-GDP|10000000000000|1900|5=r=-12|6=fmt=c}}}}&amp;lt;/code&amp;gt; → {{!xt|${{Inflation|US-GDP|10000000000000|1900|r=-12|fmt=c}}}}&lt;br /&gt;
* {{Nay}} &amp;lt;code&amp;gt;{{!mxt|${{tlf|Inflation|US-GDP|10000000000|1900|5=r=-9|6=fmt=c}}&amp;amp;amp;nbsp;&amp;#039;&amp;#039;&amp;#039;thousand&amp;#039;&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt; → {{!xt|${{Inflation|US-GDP|10000000000|1900|r=-9|fmt=c}}&amp;amp;nbsp;thousand}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|${{tlf|Inflation|US-GDP|10000000|1900|5=r=-6|6=fmt=c}}&amp;amp;amp;nbsp;&amp;#039;&amp;#039;&amp;#039;million&amp;#039;&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt; → {{xt|${{Inflation|US-GDP|10000000|1900|r=-6|fmt=c}}&amp;amp;nbsp;million}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|${{tlf|Inflation|US-GDP|10000|1900|5=r=-3|6=fmt=c}}&amp;amp;amp;nbsp;&amp;#039;&amp;#039;&amp;#039;billion&amp;#039;&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt; → {{xt|${{Inflation|US-GDP|10000|1900|r=-3|fmt=c}}&amp;amp;nbsp;billion}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|${{tlf|Inflation|US-GDP|10|1900|5=fmt=c}}&amp;amp;amp;nbsp;&amp;#039;&amp;#039;&amp;#039;trillion&amp;#039;&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt; → {{xt|${{Inflation|US-GDP|10|1900|fmt=c}}&amp;amp;nbsp;trillion}}&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;
==== Format price ====&lt;br /&gt;
{{Tlx|Format price}} is a template specifically designed to display price values, both big and small, in a readable way. 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;{{Format price|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;{{Format price|1234.5}}&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|$&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Template:Format price|Format price]]&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{tlf|Inflation|US-GDP|10000000000000|1900}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;/code&amp;gt; → {{xt|${{Format price|{{Inflation|US-GDP|10000000000000|1900}}}}}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|$&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Template:Format price|Format price]]&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{tlf|Inflation|US-GDP|1000000|1990}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;/code&amp;gt; → {{xt|${{Format price|{{Inflation|US-GDP|1000000|1990}}}}}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|DM &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Template:Format price|Format price]]&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{tlf|Inflation|DE|1000000|1957|1978}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;/code&amp;gt; → {{xt|DM {{Format price|{{Inflation|DE|1000000|1957|1978}}}}}}&lt;br /&gt;
* {{Aye}} &amp;lt;code&amp;gt;{{mxt|£&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;[[Template:Format price|Format price]]&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{tlf|Inflation|UK-GDP|1000|1323}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;/code&amp;gt; → {{xt|£{{Format price|{{Inflation|UK|1000|1323}}}}}}&lt;br /&gt;
&lt;br /&gt;
==== Citing inflation data sources ====&lt;br /&gt;
It&amp;#039;s a good practice to provide a valid reference for the prices calculated with this template in articles where it&amp;#039;s used. The template {{Tl|Inflation/fn|&amp;#039;&amp;#039;country&amp;#039;&amp;#039;}} 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;code&amp;gt;&amp;lt;nowiki&amp;gt;In 1985 a unit cost on average $1,040. This is {{Inflation|US|1040|1985|fmt=eq}}.{{Inflation/fn|US}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&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 1985 a unit cost on average $1,040. This is {{Inflation|US|1040|1985|fmt=eq}}.{{Inflation/fn|US}}&lt;br /&gt;
&lt;br /&gt;
The footnote thus generated appears whenever {{Tlx|reflist}} or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;references /&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&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;
# 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:substitution|Substitution]] isn&amp;#039;t supported at all. Trying to &amp;lt;code&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;/code&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/&amp;#039;&amp;#039;index&amp;#039;&amp;#039;&lt;br /&gt;
* Template:Inflation/&amp;#039;&amp;#039;index&amp;#039;&amp;#039;/dataset&lt;br /&gt;
* Template:Inflation/&amp;#039;&amp;#039;index&amp;#039;&amp;#039;/startyear&lt;br /&gt;
* Template:Inflation/doc/&amp;#039;&amp;#039;index&amp;#039;&amp;#039; (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;
* [[Template:Inflation/year]]&lt;br /&gt;
Current subpages:&lt;br /&gt;
{{list subpages|Inflation|Template}}&lt;br /&gt;
&lt;br /&gt;
=== Useful sources ===&lt;br /&gt;
*[https://iisg.amsterdam/en/blog/research/projects/hpw/datafiles Historical Prices and Wages (HPW): Datafiles]: Includes Inflation 1800-2000, which has data for a very large number of countries, most dating back to the early 20th century and ending in 2007, and various other very long term datafiles.&lt;br /&gt;
*[http://gpih.ucdavis.edu/Datafilelist.htm Global Price and Income History Group]:Partially duplicates the above sources, but has a lot of pre-1950s data on many parts of the world&lt;br /&gt;
*[https://www.bis.org/statistics/cp.htm Bank of International Settlements]: Has long term data for more than 50 countries and is updated regularly.&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;value&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;2&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Value&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Original price or value from which to base the inflation calculation on. Will ignore any commas.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;1000&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;start_year&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;3&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Start year&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Original year from which to base the inflation calculation on. Must be a year available in the chosen inflation index. As an exception to this, if the current year is specified and no &amp;#039;End year&amp;#039; is specified, the template will output value unchanged, as it can be assumed an inflation of zero.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;1975&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;index&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;1&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Index&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;An index code for one of several available inflation indexes. One of AU, AU-road, BD, CA, DE, IN, JP, PH, PK, UK, UK-GDP, US, US-GDP, ZAR, and various others.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;US&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;end_year&amp;quot;: {&lt;br /&gt;
			&amp;quot;aliases&amp;quot;: [&lt;br /&gt;
				&amp;quot;4&amp;quot;&lt;br /&gt;
			],&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;End year&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Reference year for which to calculate inflation. Must be higher (later) than &amp;#039;Start year&amp;#039;, but not higher than the highest (most recent) year available in the chosen inflation index, and will default to the highest (most recent) available year if omitted.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;2015&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;r&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Number of digits&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Sets the digits to which the value must be rounded. A negative value indicates rounding to an upper significant digit, and a positive value indicates a fractional digit including trailing zeros. Defaults to 0.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;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;0&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;fmt&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Format&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;\&amp;quot;c\&amp;quot; will insert thousands separator commas into the calculated value. \&amp;quot;eq\&amp;quot; will show an equivalent-to phrase, in the format, \&amp;quot;equivalent to (cursign)(end_value) in (end_year)\&amp;quot;. Uses thousands separator commas.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;eq&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;cursign&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Currency sign&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Sets the currency symbol to be shown. Only functions when Format \&amp;quot;eq\&amp;quot; is used. Can use advanced symbol formats, but can only precede the calculated value. Default is $.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;€&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;$&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;index&amp;quot;,&lt;br /&gt;
		&amp;quot;value&amp;quot;,&lt;br /&gt;
		&amp;quot;start_year&amp;quot;,&lt;br /&gt;
		&amp;quot;end_year&amp;quot;,&lt;br /&gt;
		&amp;quot;r&amp;quot;,&lt;br /&gt;
		&amp;quot;fmt&amp;quot;,&lt;br /&gt;
		&amp;quot;cursign&amp;quot;&lt;br /&gt;
	],&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;,&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;This template calculates inflation based on several inflation index data sets. \n\nNote that this template defaults to calculating the inflation of Consumer Price Index values: staples, workers&amp;#039; rent, small service bills (doctor&amp;#039;s costs, train tickets). For inflating capital expenses, government expenses, or the personal wealth and expenditure of the rich, the US-GDP or UK-GDP indexes should be used, which calculate inflation based on the [[gross domestic product]] (GDP) for the [[United States]] and [[United Kingdom]], respectively.&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|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:Currency templates]]&lt;br /&gt;
* [[Inflation]]&lt;br /&gt;
* [[Consumer price index]]&lt;br /&gt;
* [[Consumer Price Index (United Kingdom)]]&lt;br /&gt;
* [[Harmonised Index of Consumer Prices]]&lt;br /&gt;
* [[Lists of country codes]]&lt;br /&gt;
* [[List of circulating currencies]]&lt;br /&gt;
* [[United States Consumer Price Index]]&lt;br /&gt;
* [[GDP deflator]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist|33em}}&lt;br /&gt;
&lt;br /&gt;
{{Math templates|conversion}}&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:Inflation calculation templates]]&lt;br /&gt;
[[Category:Economics formatting and function templates]]&lt;br /&gt;
[[Category:Finance formatting and function templates]]&lt;br /&gt;
[[Category:United States economic templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>l&gt;Plastikspork</name></author>
	</entry>
</feed>