Template:Inflation is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the
talk page for discussing improvements to the
Inflation template. |
|
Archives: 1, 2, 3Auto-archiving period: 180 days |
This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
|
|||
This page has archives. Sections older than 180 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
So what do we do for capital expenses that aren't US/UK? Just can't use the template? It seems like converting cost from back then -> USD -> inflate with US-GDP -> convert back to target currency is going to introduce a lot of inaccuracy. Or does the ballpark figure nature of all these estimates mean the inaccuracy is acceptable as long as you round to thousands/millions/etc.? 47.155.41.201 ( talk) 22:20, 27 June 2023 (UTC)
Is there a way to do the equivalent of
({{Inflation|index=US|value=x|start_year=y}}{{Inflation/fn|US|group=note}}
without having to explicitly invoke both templates? Something like
({{Inflation|index=US|value=x|start_year=y|group=note}}
would be simpler. Is that possible? RoySmith (talk) 16:13, 29 November 2023 (UTC)
Since I'm here, is there a nicer way to do this:
$1 million (equivalent to ${{format price|{{inflation|US|1000000|1908}}}} in {{Inflation/year|US}}),{{Inflation/fn|US|group=note}}
which is a mouthful. RoySmith (talk) 15:43, 30 November 2023 (UTC)
|group=note}}
) rather than a ref. Have you already achieved that or have I misunderstood the issue you raise here? Happy noo year!
——Serial 20:07, 2 January 2024 (UTC)
|group=note
to {{
Inflation/fn}}. RoySmith already did that above. There's no way of doing what RoySmith listed above in one template call that I can see right now.
* Pppery *
it has begun... 00:02, 3 January 2024 (UTC)The documentation for this template says inflation is not accurate to better than 1% or so. The output ought to be automatically rounded off to 2 or 3 significant figures if the r= parameter is not provided.
Note there is no value of r= that means "2 significant figures". You have to look at the inflated output and calculate the right r= value. {{ Convert}} has more useful controls. Vox Sciurorum ( talk) 19:33, 13 December 2023 (UTC)
This
edit request to
Template:Inflation/fn has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Per WP:CITEBUNDLE, the footnotes generated from {{ Inflation/fn}} should either use a bulleted list or {{ multiref}} to improve readability and accessibility. Is that change possible? voorts ( talk/ contributions) 19:27, 6 January 2024 (UTC)
Moved from help desk
The Inflation Template returns an error if the date is out of range.
Can this be avoided, such that it returns the input value as if inflation was 0 (or another reasonable value)?
edit: This is a problem in this page (in the section for Hulu). It would be easier for editors if it just showed the real value until the data is eventually added (or if it got edited autmatically).
Garvey 96 (
talk) 13:33, 7 January 2024 (UTC)
This
edit request to
Template:Inflation/US/dataset has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Per https://www.minneapolisfed.org/about-us/monetary-policy/inflation-calculator/consumer-price-index-1800-, we can add a 2023 row. The 2023 value should be 915.6. Snowman304| talk 02:23, 29 February 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: In the diff, I updated Finnish inflation data to 2023. I request changes to {{Template:Inflation/year|FI}}
to update the year to 2023, and change the source for the data to
this datasheet from Statistics Finland
Diff: [1] Szmenderowiecki ( talk) 19:02, 2 March 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: Sources in many countries refer to the following citation: Afterwards, Coos Santing, 2007, Inflation 1800-2000, data from OECD, Organisation for Economic Co-operation and Development, Economic Outlook. Historical Statistics and Mitchell, B. R. International Historical Statistics, Africa, Asia and Oceania 1750-1993 London : Macmillan ; New York : Stockton, 1998, International Historical Statistics, Europe 1750-1993 London : Macmillan ; New York : Stockton, 1998, and International Historical Statistics, The Americas 1750-1993 London : Macmillan ; New York : Stockton, 1998
The data link returns a 404 error, change it to [2] Szmenderowiecki ( talk) 19:27, 2 March 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: Added new values from 1991 to 2023 provided by Rosstat. This obviates the need for the source that is only for 1991-1992 and updates Russia's inflation rates to 2023. Changes are requested to /year template from 2007 to 2023 and to /fn part to reflect changed sources.
Diff: [3] Szmenderowiecki ( talk) 20:16, 2 March 2024 (UTC)
Done * Pppery * it has begun... 15:15, 17 April 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: Added new values from 2022 to 2023 provided by Eurostat; also, I changed the source to Eurostat instead of the Federal Reserve citing Eurostat. Changes are requested to /year template from 2021 to 2023 and to /fn part to reflect changed sources.
Diff: [4] Szmenderowiecki ( talk) 20:48, 2 March 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Template is not yet showing US data adjusted to 2023. See the examples on Template:Inflation/doc that are like {{Inflation|US|...|fmt=eq|...}} which are still rendering as "in 2022" rather than "in 2023". I see that Template:Inflation/US/dataset has been updated with 2023 data, but I think that also Template:Inflation/year still needs to be updated for 2023? Thanks. netjeff ( talk) 19:30, 10 March 2024 (UTC)
<!-- *** When changing this, also update the reference in
Template:Inflation/fn and the latest year in
Template:Inflation/year! *** -->
–
wbm1058 (
talk) 14:08, 29 March 2024 (UTC)122.27
– so, yes, we can update that from 2022 → 2023 now. Apparently that was done months late, last year, since it wasn't done until the end of November. –
wbm1058 (
talk) 19:20, 29 March 2024 (UTC)This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: Adding a link to MeasuringWorth and fixing the second use of Measuring Worth (note the space, which should not be there) for the US citation in Template:Inflation/fn.
Diff:
− | http://www.measuringworth.com/datasets/usgdp/ |work= | + | http://www.measuringworth.com/datasets/usgdp/ |work= [[MeasuringWorth]] |year= 2023 |
− | United States [[Gross Domestic Product deflator]] figures follow the | + | United States [[Gross Domestic Product deflator]] figures follow the ''MeasuringWorth'' series. |
Sounder Bruce 00:11, 14 March 2024 (UTC)
There are three inflation templates on the above page, and today they have all suddenly reported an error, thus:
(equivalent to £Error when using Error when using {{
Inflation}}: |index=
(parameter 1), |value=
(parameter 2) and |start_year=
(parameter 3) must be specified.: NaN/calculation error, please notify Template talk:Inflation. in 2023).
Please resolve it? Thank you. Storye book ( talk) 11:08, 7 May 2024 (UTC)
This
edit request to
Template:Inflation/UK has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
MeasuringWorth ( https://measuringworth.com/datasets/ukearncpi/) has data to 2023 for UK inflation. The current output is only to 2021. Snowman304| talk 04:57, 7 May 2024 (UTC)
This alteration may have resulted in an error as it appears that all usages of the template involving UK are resulting in errors (for example, Elizabeth II). Sxg169 ( talk) 13:19, 7 May 2024 (UTC)
This
edit request to
Template:Inflation/fn has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The Canadian source's access date should be changed to today (2024-05-09) because I updated the data. Snowman304| talk 21:15, 9 May 2024 (UTC)
This
edit request to
Template:Inflation/year has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The inflation year for Canada (CA) should be updated to 2023, as I updated the dataset to include 2023 data. Snowman304| talk 21:17, 9 May 2024 (UTC)
Will a "2024 option" for the template only be available after the end of the year? 92bob ( talk) 01:43, 10 May 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Swedish (SE)
Thanks a million! Snowman304| talk 03:57, 15 May 2024 (UTC)
The United States has two common inflation metrics: the CPI and the PCEPI (Personal Consumption Expenditure PI). The CPI and its variants are designed for cost-of-living adjustments to wages in negotiated contracts. As a result, the CPI excludes many common goods (such as health insurance) provided as fringe benefits rather than being paid for out-of-pocket. The PCEPI gives a more complete picture by including all consumption goods and services. The CPI is also methodologically awkward in that it uses a right-chained basket ( right-hand sum) to approximate inflation, which is strictly less accurate than the PCEPI's use of the trapezoid rule. (The bad approximation has stuck with us for what are essentially political reasons.)
The PCEPI is the metric recommended by the Federal Reserve, and the metric it pays attention to when it decides monetary policy; as a result, I suggest replacing CPI with PCEPI in this template. Does this sound reasonable? –Sincerely, A Lime 18:25, 15 May 2024 (UTC)
Is it possible to convert from, e.g. 10¢ in 1940 to the modern equivalent (which would presumably be in dollars)? Cheers, ——Serial Number 54129 14:24, 17 May 2024 (UTC)
My question is similar to the one above, but on a much larger scale (I'm converting Rockefeller money). What I currently have is: $475 million (equivalent to ${{inflation|US|475|1922|r=-2|fmt=c}} million in {{inflation/year|US}})
which results in $475 million (equivalent to $8,600 million in 2023)
. What I would prefer, however, would be $475 million (equivalent to $8.6 billion in 2023)
. Is there any way to turn that 8,600
into 8.6
, or is that not possible with the template? Thanks either way,
DrOrinScrivello (
talk) 18:11, 31 May 2024 (UTC)
I've seen a few cases where inflation was used to describe historical stock prices; for example, a company had an initial public offering at $13.72 per share in July 2007, or about $19.00 in 2023. Because this template uses the consumer price index, and shares of stock are not consumer goods, I typically remove these adjustments. Is this generally good practice? If so, could you please add stock prices as an example of situations in which not to use this template? White 720 ( talk) 15:05, 8 June 2024 (UTC)
Template:Inflation is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the
talk page for discussing improvements to the
Inflation template. |
|
Archives: 1, 2, 3Auto-archiving period: 180 days |
This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
|
|||
This page has archives. Sections older than 180 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
So what do we do for capital expenses that aren't US/UK? Just can't use the template? It seems like converting cost from back then -> USD -> inflate with US-GDP -> convert back to target currency is going to introduce a lot of inaccuracy. Or does the ballpark figure nature of all these estimates mean the inaccuracy is acceptable as long as you round to thousands/millions/etc.? 47.155.41.201 ( talk) 22:20, 27 June 2023 (UTC)
Is there a way to do the equivalent of
({{Inflation|index=US|value=x|start_year=y}}{{Inflation/fn|US|group=note}}
without having to explicitly invoke both templates? Something like
({{Inflation|index=US|value=x|start_year=y|group=note}}
would be simpler. Is that possible? RoySmith (talk) 16:13, 29 November 2023 (UTC)
Since I'm here, is there a nicer way to do this:
$1 million (equivalent to ${{format price|{{inflation|US|1000000|1908}}}} in {{Inflation/year|US}}),{{Inflation/fn|US|group=note}}
which is a mouthful. RoySmith (talk) 15:43, 30 November 2023 (UTC)
|group=note}}
) rather than a ref. Have you already achieved that or have I misunderstood the issue you raise here? Happy noo year!
——Serial 20:07, 2 January 2024 (UTC)
|group=note
to {{
Inflation/fn}}. RoySmith already did that above. There's no way of doing what RoySmith listed above in one template call that I can see right now.
* Pppery *
it has begun... 00:02, 3 January 2024 (UTC)The documentation for this template says inflation is not accurate to better than 1% or so. The output ought to be automatically rounded off to 2 or 3 significant figures if the r= parameter is not provided.
Note there is no value of r= that means "2 significant figures". You have to look at the inflated output and calculate the right r= value. {{ Convert}} has more useful controls. Vox Sciurorum ( talk) 19:33, 13 December 2023 (UTC)
This
edit request to
Template:Inflation/fn has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Per WP:CITEBUNDLE, the footnotes generated from {{ Inflation/fn}} should either use a bulleted list or {{ multiref}} to improve readability and accessibility. Is that change possible? voorts ( talk/ contributions) 19:27, 6 January 2024 (UTC)
Moved from help desk
The Inflation Template returns an error if the date is out of range.
Can this be avoided, such that it returns the input value as if inflation was 0 (or another reasonable value)?
edit: This is a problem in this page (in the section for Hulu). It would be easier for editors if it just showed the real value until the data is eventually added (or if it got edited autmatically).
Garvey 96 (
talk) 13:33, 7 January 2024 (UTC)
This
edit request to
Template:Inflation/US/dataset has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Per https://www.minneapolisfed.org/about-us/monetary-policy/inflation-calculator/consumer-price-index-1800-, we can add a 2023 row. The 2023 value should be 915.6. Snowman304| talk 02:23, 29 February 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: In the diff, I updated Finnish inflation data to 2023. I request changes to {{Template:Inflation/year|FI}}
to update the year to 2023, and change the source for the data to
this datasheet from Statistics Finland
Diff: [1] Szmenderowiecki ( talk) 19:02, 2 March 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: Sources in many countries refer to the following citation: Afterwards, Coos Santing, 2007, Inflation 1800-2000, data from OECD, Organisation for Economic Co-operation and Development, Economic Outlook. Historical Statistics and Mitchell, B. R. International Historical Statistics, Africa, Asia and Oceania 1750-1993 London : Macmillan ; New York : Stockton, 1998, International Historical Statistics, Europe 1750-1993 London : Macmillan ; New York : Stockton, 1998, and International Historical Statistics, The Americas 1750-1993 London : Macmillan ; New York : Stockton, 1998
The data link returns a 404 error, change it to [2] Szmenderowiecki ( talk) 19:27, 2 March 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: Added new values from 1991 to 2023 provided by Rosstat. This obviates the need for the source that is only for 1991-1992 and updates Russia's inflation rates to 2023. Changes are requested to /year template from 2007 to 2023 and to /fn part to reflect changed sources.
Diff: [3] Szmenderowiecki ( talk) 20:16, 2 March 2024 (UTC)
Done * Pppery * it has begun... 15:15, 17 April 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: Added new values from 2022 to 2023 provided by Eurostat; also, I changed the source to Eurostat instead of the Federal Reserve citing Eurostat. Changes are requested to /year template from 2021 to 2023 and to /fn part to reflect changed sources.
Diff: [4] Szmenderowiecki ( talk) 20:48, 2 March 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Template is not yet showing US data adjusted to 2023. See the examples on Template:Inflation/doc that are like {{Inflation|US|...|fmt=eq|...}} which are still rendering as "in 2022" rather than "in 2023". I see that Template:Inflation/US/dataset has been updated with 2023 data, but I think that also Template:Inflation/year still needs to be updated for 2023? Thanks. netjeff ( talk) 19:30, 10 March 2024 (UTC)
<!-- *** When changing this, also update the reference in
Template:Inflation/fn and the latest year in
Template:Inflation/year! *** -->
–
wbm1058 (
talk) 14:08, 29 March 2024 (UTC)122.27
– so, yes, we can update that from 2022 → 2023 now. Apparently that was done months late, last year, since it wasn't done until the end of November. –
wbm1058 (
talk) 19:20, 29 March 2024 (UTC)This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: Adding a link to MeasuringWorth and fixing the second use of Measuring Worth (note the space, which should not be there) for the US citation in Template:Inflation/fn.
Diff:
− | http://www.measuringworth.com/datasets/usgdp/ |work= | + | http://www.measuringworth.com/datasets/usgdp/ |work= [[MeasuringWorth]] |year= 2023 |
− | United States [[Gross Domestic Product deflator]] figures follow the | + | United States [[Gross Domestic Product deflator]] figures follow the ''MeasuringWorth'' series. |
Sounder Bruce 00:11, 14 March 2024 (UTC)
There are three inflation templates on the above page, and today they have all suddenly reported an error, thus:
(equivalent to £Error when using Error when using {{
Inflation}}: |index=
(parameter 1), |value=
(parameter 2) and |start_year=
(parameter 3) must be specified.: NaN/calculation error, please notify Template talk:Inflation. in 2023).
Please resolve it? Thank you. Storye book ( talk) 11:08, 7 May 2024 (UTC)
This
edit request to
Template:Inflation/UK has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
MeasuringWorth ( https://measuringworth.com/datasets/ukearncpi/) has data to 2023 for UK inflation. The current output is only to 2021. Snowman304| talk 04:57, 7 May 2024 (UTC)
This alteration may have resulted in an error as it appears that all usages of the template involving UK are resulting in errors (for example, Elizabeth II). Sxg169 ( talk) 13:19, 7 May 2024 (UTC)
This
edit request to
Template:Inflation/fn has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The Canadian source's access date should be changed to today (2024-05-09) because I updated the data. Snowman304| talk 21:15, 9 May 2024 (UTC)
This
edit request to
Template:Inflation/year has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The inflation year for Canada (CA) should be updated to 2023, as I updated the dataset to include 2023 data. Snowman304| talk 21:17, 9 May 2024 (UTC)
Will a "2024 option" for the template only be available after the end of the year? 92bob ( talk) 01:43, 10 May 2024 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Swedish (SE)
Thanks a million! Snowman304| talk 03:57, 15 May 2024 (UTC)
The United States has two common inflation metrics: the CPI and the PCEPI (Personal Consumption Expenditure PI). The CPI and its variants are designed for cost-of-living adjustments to wages in negotiated contracts. As a result, the CPI excludes many common goods (such as health insurance) provided as fringe benefits rather than being paid for out-of-pocket. The PCEPI gives a more complete picture by including all consumption goods and services. The CPI is also methodologically awkward in that it uses a right-chained basket ( right-hand sum) to approximate inflation, which is strictly less accurate than the PCEPI's use of the trapezoid rule. (The bad approximation has stuck with us for what are essentially political reasons.)
The PCEPI is the metric recommended by the Federal Reserve, and the metric it pays attention to when it decides monetary policy; as a result, I suggest replacing CPI with PCEPI in this template. Does this sound reasonable? –Sincerely, A Lime 18:25, 15 May 2024 (UTC)
Is it possible to convert from, e.g. 10¢ in 1940 to the modern equivalent (which would presumably be in dollars)? Cheers, ——Serial Number 54129 14:24, 17 May 2024 (UTC)
My question is similar to the one above, but on a much larger scale (I'm converting Rockefeller money). What I currently have is: $475 million (equivalent to ${{inflation|US|475|1922|r=-2|fmt=c}} million in {{inflation/year|US}})
which results in $475 million (equivalent to $8,600 million in 2023)
. What I would prefer, however, would be $475 million (equivalent to $8.6 billion in 2023)
. Is there any way to turn that 8,600
into 8.6
, or is that not possible with the template? Thanks either way,
DrOrinScrivello (
talk) 18:11, 31 May 2024 (UTC)
I've seen a few cases where inflation was used to describe historical stock prices; for example, a company had an initial public offering at $13.72 per share in July 2007, or about $19.00 in 2023. Because this template uses the consumer price index, and shares of stock are not consumer goods, I typically remove these adjustments. Is this generally good practice? If so, could you please add stock prices as an example of situations in which not to use this template? White 720 ( talk) 15:05, 8 June 2024 (UTC)