Template talk:Inflation/Archive 3

Template-protected edit request on 14 May 2021
Add

| CH      = 2021

above CA. Zoozaz1 talk  00:04, 15 May 2021 (UTC)
 * ✅ * Pppery * it has begun... 14:35, 16 May 2021 (UTC)

Template-protected edit request on 22 May 2021
Replace entire page with the code below; each added reference has been tested on Template:Inflation/fn/testcases (I apologize for the horrendous formatting, if you go into edit source mode it should be easy to copy and paste while excluding the nowiki and code.) Zoozaz1 talk 00:28, 22 May 2021 (UTC)
 * ✅ * Pppery * it has begun... 13:40, 25 May 2021 (UTC)

Template-protected edit request on 22 May 2021
Change | AU      = 2018
 * AU-road = 2018
 * AU      = 2010
 * AU-road = 2013
 * BD      = 2014
 * CH      = 2021
 * CA      = 2020
 * DE      = 2017
 * IN      = 2019
 * IR      = 1398
 * JP      = 2019
 * KRW     = 2017
 * PH      = 2019
 * PK      = 2018
 * SG      = 2020
 * TEST    = 2012
 * UK|GBP  = 2019
 * UKGDP
 * UK-GDP
 * UK-CAP  = 2016
 * US|USD  = 2020
 * USGDP
 * US-GDP
 * US-CAP  = 2019
 * ZAR     = 2018

to

| AR = 2020
 * AT = 2018
 * AU      = 2018
 * AU-road = 2018
 * AU      = 2010
 * AU-road = 2013
 * BD      = 2014
 * BE = 2020
 * BR = 2020
 * CA      = 2020
 * CH      = 2021
 * CL = 2020
 * CN = 2019
 * DE      = 2017
 * DK = 2007
 * EG = 2018
 * ES = 2019
 * FI = 2007
 * FR = 2020
 * GR = 2007
 * ID = 2007
 * IL = 2021
 * IS = 2020
 * IN      = 2019
 * IR      = 1398
 * IT = 2020
 * JP      = 2019
 * KRW     = 2017
 * MX = 2007
 * NL = 2016
 * NO = 2017
 * PE = 2017
 * PH      = 2019
 * PK      = 2018
 * PL = 2007
 * PT = 2007
 * RU = 2007
 * SE = 2009
 * SG      = 2020
 * TEST    = 2012
 * TH = 2020
 * TW = 2021
 * UK|GBP  = 2019
 * UKGDP
 * UK-GDP
 * UK-CAP  = 2016
 * US|USD  = 2020
 * USGDP
 * US-GDP
 * US-CAP  = 2019
 * ZAR     = 2018  Zoozaz1 talk  00:46, 22 May 2021 (UTC)
 * ✅ * Pppery * it has begun... 13:44, 25 May 2021 (UTC)

Template-protected edit request on 22 May 2021 (2)
Update PK to 2019. Idell</b> (talk) 07:19, 22 May 2021 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 13:44, 25 May 2021 (UTC)

Template-protected edit request on 22 May 2021 (2)
Update refs for Pakistan (PK). Template:Inflation/PK/dataset was updated per. <b style="font-family:Times New Roman;color:Teal;font-size:110%;">Idell</b> (talk) 07:12, 22 May 2021 (UTC)
 * This template outputs a full citation, not just a bare URL. Could you please provide the full wikitext that should go after PK (it's currently ) * Pppery * <sub style="color:#800000">it has begun...  13:41, 25 May 2021 (UTC)
 * <b style="font-family:Times New Roman;color:Teal;font-size:110%;">Idell</b> (talk) 15:24, 25 May 2021 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 15:26, 25 May 2021 (UTC)
 * I think you missed the final brace or did something else go wrong? <b style="font-family:Times New Roman;color:Teal;font-size:110%;">Idell</b> (talk) 15:48, 25 May 2021 (UTC)
 * I would test this in the sandbox before making edit requests. (But yes I think the problem was deletion of a brace) <b style="color: #fffb00">Zoozaz1</b> <b style="color: #fffb00">talk</b>  15:51, 25 May 2021 (UTC)
 * Yes, I did. I've now re-attempted this in the sandbox, and I think it works  could one of you confirm that everything is working in the sandbox before I copy this and the below request live again (I think it works, but I'd like a second set of eyes after my previous screwup) * Pppery * <sub style="color:#800000">it has begun...  15:54, 25 May 2021 (UTC)
 * Looks fine to me. <b style="color: #fffb00">Zoozaz1</b> <b style="color: #fffb00">talk</b>  15:58, 25 May 2021 (UTC)

✅ * Pppery * <sub style="color:#800000">it has begun... 16:31, 25 May 2021 (UTC)

Template-protected edit request on 25 May 2021
Change


 * ES=

to


 * ES=

(Note: This has been tested in the sandbox) <b style="color: #fffb00">Zoozaz1</b> <b style="color: #fffb00">talk</b>  15:49, 25 May 2021 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 16:31, 25 May 2021 (UTC)

Template-protected edit request on 25 May 2021
Switch order from
 * IL = 2021
 * IS = 2020
 * IN      = 2019
 * IR      = 1398
 * IT = 2020

to


 * IL = 2021
 * IN      = 2019
 * IR      = 1398
 * IS = 2020
 * IT = 2020

and add


 * TR = 2021

above TW and below TH <b style="color: #fffb00">Zoozaz1</b> <b style="color: #fffb00">talk</b>  15:04, 25 May 2021 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 16:33, 25 May 2021 (UTC)

Template-protected edit request on 25 May 2021 (2)
Don't know why I didn't include it in my previous requests, but this should be the last edit request. (I tested it in the sandbox)

Add

| IL =

above IN and below ID. <b style="color: #fffb00">Zoozaz1</b> <b style="color: #fffb00">talk</b> 16:48, 25 May 2021 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 16:58, 25 May 2021 (UTC)

Something went horribly wrong
would you mind reverting your recent Pakistan edit? Something went horribly wrong and I think that might be the culprit. <b style="color: #fffb00">Zoozaz1</b> <b style="color: #fffb00">talk</b> 15:34, 25 May 2021 (UTC)
 * Already done by before I got to it. * Pppery * <sub style="color:#800000">it has begun...  15:39, 25 May 2021 (UTC)
 * This is why every change, no matter how small, must be sandboxed and testcased. Otherwise, the risk to a large number of pages is simply too great: this template is protected for a good reason. We must not carry out any direct edit to the live template based upon code blobs in a talk page, even if the user placing the request claims to have tested them. Code blobs do not adequately convey context: they should be discouraged, if not rejected outright. I have denied a number of edit requests at Template talk:Rail-interchange simply because there was a complete lack of sandbox and testcases. -- Red rose64 &#x1f339; (talk) 18:30, 25 May 2021 (UTC)

UK-GDP update
UK|GBP - incorrect code - My mistake.

UK-GDP (UK-CAP) should be updated to 2019

Present values: MarMi wiki (talk) 19:07, 23 June 2021 (UTC)
 * Yes check.svg Done firefly  ( t · c ) 10:37, 24 June 2021 (UTC)

Template-protected edit request on 14 August 2021
Add between GR and ID entries:

| HK =

Sandbox test:  – robertsky (talk) 20:07, 14 August 2021 (UTC)

✅ * Pppery * <sub style="color:#800000">it has begun... 20:41, 14 August 2021 (UTC)

Template-protected edit request on 14 August 2021
Add between GR and ID entries:

| HK = 2020

Dataset: Template:Inflation/HK/dataset – robertsky (talk) 20:07, 14 August 2021 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 20:45, 14 August 2021 (UTC)

Template-protected edit request on 14 August 2021 (2)
Replace HK with

| HK =

Change US to

| US =

<b style="color: #fffb00">Zoozaz1</b> <b style="color: #fffb00">talk</b> 23:28, 14 August 2021 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 23:56, 14 August 2021 (UTC)

Template-protected edit request on 14 August 2021 (3)
Replace GR with

| GR =

Changed 1661-1805 in CN to 961-1359.

Tested in sandbox. <b style="color: #fffb00">Zoozaz1</b> <b style="color: #fffb00">talk</b> 00:17, 15 August 2021 (UTC)
 * You don't seem to have made the second change (related to ) in the sandbox. * Pppery * <sub style="color:#800000">it has begun...  13:33, 15 August 2021 (UTC)
 * Oh sorry, I forgot that one. I've changed it now. <b style="color: #fffb00">Zoozaz1</b> <b style="color: #fffb00">talk</b>  13:53, 15 August 2021 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 13:56, 15 August 2021 (UTC)

Template-protected edit request on 12 October 2021
Please update the inflation year for India to 2020. The dataset has been updated. EcoWizard (talk) 06:13, 12 October 2021 (UTC)
 * ✅ firefly  ( t · c ) 06:36, 12 October 2021 (UTC)

Template-protected edit request on 21 October 2021
The year range for "1700-1799" in US (44) should have an ndash, so 1700–1799. Therapyisgood (talk) 22:23, 21 October 2021 (UTC)
 * ✅ User:GKFXtalk 16:47, 23 October 2021 (UTC)

Template-protected edit request on 26 October 2021
There are some typos in the two instances of  text of the U.S. section. This is the code as it should be amended: Thanks! — Spike  Toronto  08:22, 26 October 2021 (UTC)
 * ✅ firefly  ( t · c ) 09:47, 26 October 2021 (UTC)
 * Thank you. Looks great! — Spike  Toronto  09:59, 26 October 2021 (UTC)

Template-protected edit request on 26 October 2021 (2)
The date stated in the  text of the U.S. section for the Addenda is incorrect. It should be  and not. This can be confirmed by opening the PDF document itself. Sorry I didn’t catch this earlier and add it to the above request. This is the code as it should be amended: Thanks! — Spike  Toronto  10:32, 26 October 2021 (UTC)
 * ✅.  P.I. Ellsworth &numsp;- ed.  put'r there 10:41, 26 October 2021 (UTC)
 * Thank you. Looks great! — Spike  Toronto  13:27, 26 October 2021 (UTC)
 * It's my pleasure!  Paine 

Template-protected edit request on 12 February 2022
Please update the US-GDP (US-CAP) year to 2020 - Einstein95 (talk) 01:49, 12 February 2022 (UTC)
 * ✅.  P.I. Ellsworth &numsp;- ed.  put'r there 16:46, 12 February 2022 (UTC)

Template-protected edit request on 12 February 2022
Please update the date for US-GDP (US-CAP). I'm unsure where the current date comes from, the data was updated 1 January 2021. - Einstein95 (talk) 01:56, 12 February 2022 (UTC)
 * ✅.  P.I. Ellsworth &numsp;- ed.  put'r there 00:39, 14 February 2022 (UTC)

Adding the New Zealand CPI
Hello, it seems I've stumbled into a whole world of arcane yet extremely nifty templates around currencies and inflation indexes, when I'd like to say something like "Doris donated NZ $10,000 to the project in 1976 (NZ $170,000 in today's money)." What would be involved in adding the New Zealand CPI to the inflation ecosystem? I have updated the Inflation/NZ/dataset with data to 2021, and fixed its broken syntax as far as I can tell. It seems I would need to provide a reference for the data in Inflation/fn and the default year here, but I am not mojo enough to edit these. Is there anything else I need to do to make this all happen? Any help appreciated. — Jon (talk) 00:43, 18 May 2022 (UTC)
 * , It is a very cool set of templates. I added the NZ data (along with a bunch of others) a while back but didn't end up fully implementing it. I've made the necessary edit requests on Template talk:Inflation/fn and here. If you want to add more (there might have been one or two more that I added the data for but haven't implemented) you can copy those edits and change the two-letter country code and reference. Zoozaz1 (talk) 01:37, 19 May 2022 (UTC)

Template-protected edit request on 19 May 2022
Add the text below under NO.

Zoozaz1 (talk) 01:34, 19 May 2022 (UTC)
 * ✅.  P.I. Ellsworth &numsp;- ed.  put'r there 02:04, 19 May 2022 (UTC)

Template-protected edit request on 19 May 2022
Add the below text under the NO reference (tested in sandbox)

Zoozaz1 (talk) 01:31, 19 May 2022 (UTC)
 * ✅.  P.I. Ellsworth &numsp;- ed.  put'r there 11:35, 19 May 2022 (UTC)

Template-protected edit request on 30 April 2022
In Template:Inflation/PL/dataset, I have updated the values to 2021 using World Bank dataset (the page is not template-protected) but I can't submit this here because I don't have the necessary template-editing permission, same for Inflation/year. Please change the appropriate values (2007 -> 2021) and add the World Bank source. Szmenderowiecki (talk) 07:24, 30 April 2022 (UTC)


 * Btw something should be done with it. The cited dataset that says has data in 1800-2000 only has the relevant data from 1950. More sources should be found for pre-1950 data, in particular since AFAIK Poland endured quite high inflation in the late 1940s and particularly so in early 1920s, but this isn't really visible in it (i.e. the denominations in 1922 (actually 1923) and 1948 are taken into account while that in 1995 is not. Something is really off here. Szmenderowiecki (talk) 07:36, 30 April 2022 (UTC)
 * , The dataset is entitled "Inflation 1800-2000," but does not have data that encompasses all of that for all the countries. Whether changes in value are taken into account is based on whether the source includes those changes or not. Zoozaz1 (talk) 19:23, 2 May 2022 (UTC)
 * the problem is that the template says it has inflation data for that specific country since 1914, but none are available until 1950. Szmenderowiecki (talk) 19:35, 2 May 2022 (UTC)
 * , I think you might be looking at a different tab. The data used is from Mitchell+OECD tab of the spreadsheet. Zoozaz1 (talk) 19:38, 2 May 2022 (UTC)
 * Initial edits requested to /fn and /year are ✅. Further discussion may be needed for the rest of the above conversation.  P.I. Ellsworth &numsp;- ed.  put'r there 14:10, 22 May 2022 (UTC)

Split refs
Hey, is it possible to split the refs, e.g. the ref for US is long and in many cases would only need the last one. Inserting the ref without this template into an article would lose the access-date updates. Thinking create US-1634, US-1700, and US-1800 so the current usage is unaffected but has option of replacing with shorter reference. Thanks, Indagate (talk) 13:01, 11 June 2022 (UTC)


 * Have added to sandbox with fixes for two CS1 maintance messages for PK https://en.wikipedia.org/w/index.php?title=Template%3AInflation%2Ffn%2Fsandbox&type=revision&diff=1092622148&oldid=1092621330. Thanks, Indagate (talk) 13:15, 11 June 2022 (UTC)

Template-protected edit request on 16 July 2022
Please change "BD" year to. I updated Bangladesh currency related template. Mehedi Abedin 18:06, 16 July 2022 (UTC) PAGE ]]) 13:06, 18 July 2022 (UTC)
 * ✅ --Ahecht ([[User talk:Ahecht|<span style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:-.3em;font:bold 50%/1 sans-serif;text-align:center">TALK

New sandbox version
I have created a version of this template at Template:Inflation/year/sandbox that uses Module:Inflation to automatically determine the end year of the data so that this template won't need to be updated manually. Try it out, and if there are no objections I'll copy it over to the main template. --Ahecht (<span style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:-.3em;font:bold 50%/1 sans-serif;text-align:center">TALK PAGE ) 17:41, 18 July 2022 (UTC) PAGE ]]) 19:14, 19 July 2022 (UTC)
 * , Unsure as to the reason (perhaps the default usage?) but the module gives an incorrect year for the UK. Zoozaz1 (talk) 15:42, 19 July 2022 (UTC)
 * @Zoozaz1 . There was an extra line break in the UK file before the #default line, so I updated the module to correctly handle such cases. --Ahecht ([[User talk:Ahecht|<span style="color:#FFF;background:#04A;display:inline-block;padding:1px;vertical-align:-.3em;font:bold 50%/1 sans-serif;text-align:center">TALK
 * , Looks good to me to copy over. Zoozaz1 (talk) 19:26, 19 July 2022 (UTC)

Template-protected edit request on 22 July 2022
Please change "PK" year to  Mehedi Abedin 15:03, 22 July 2022 (UTC)
 * ✅.  P.I. Ellsworth &thinsp;, ed.  put'r there 01:21, 24 July 2022 (UTC)

Template-protected edit request on 8 August 2022
Please change the year for the Philippines (PH) to  to reflect the changes to Template:Inflation/PH/dataset. Thank you. Ganmatthew (talk • contribs) 16:01, 7 August 2022 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 17:11, 7 August 2022 (UTC)

Edit request 17 September 2022
Description of suggested change: Please update the latest year for CA. I have updated the dataset with the update to 2021. Diff: Alaney2k (talk) 21:27, 17 September 2022 (UTC)
 * ✅.  P.I. Ellsworth &thinsp;, ed.  put'r there 21:48, 17 September 2022 (UTC)
 * Thanks! Alaney2k (talk) 16:18, 18 September 2022 (UTC)
 * my pleasure!  Paine  10:42, 19 September 2022 (UTC)

Edit request 14 December 2022
Description of suggested change: Harmonize whitespace, like so (copy from the rendered page, not the source).

jp×g 11:46, 14 December 2022 (UTC)
 * ❌ I fail to see why this is a problem in need of fixing at all, or why it's worth making a cosmetic change to a templates used on 22,000 pages for. * Pppery * <sub style="color:#800000">it has begun... 18:19, 15 December 2022 (UTC)

Edit request 16 December 2022
Description of suggested change:

Add a EU parameter, which returns, per Template:Inflation/EU.

Diff: jp×g 00:12, 16 December 2022 (UTC)
 * ✅.  P.I. Ellsworth &thinsp;, ed.  put'r there 01:49, 16 December 2022 (UTC)

Edit request 16 December 2022
Description of suggested change: Add footnote for EU data. Current revision is this version of the template. The one I want is in this sandbox revision.}} jp×g 00:06, 16 December 2022 (UTC)
 * ✅.  P.I. Ellsworth &thinsp;, ed.  put'r there 02:25, 16 December 2022 (UTC)
 * Thanks :) jp×g 10:25, 16 December 2022 (UTC)
 * my pleasure!  Paine  14:00, 16 December 2022 (UTC)

Edit request 1 January 2023
US-GDP year needs to be updated

Diff: Titan877 (talk) 22:31, 1 January 2023 (UTC)
 * ✅  Imzadi 1979  →   22:51, 1 January 2023 (UTC)

Edit request 1 January 2023
US-GDP ref needs to be updated

Diff: Titan877 (talk) 22:31, 1 January 2023 (UTC)
 * ✅  Imzadi 1979  →   22:53, 1 January 2023 (UTC)

Edit request 13 February 2023
Add authorlink: author-link = John J. McCusker

at:

DuncanHill (talk) 18:48, 13 February 2023 (UTC)
 * ✅, and thank you very much!  P.I. Ellsworth &thinsp;, ed.  put'er there 00:20, 14 February 2023 (UTC)

Template-protected edit request on 23 February 2023
Remove live url-status parameter from Pakistan's (PK) reference. (CS1 maintenance)

should be

or have an archive url. Anderjef (talk) 18:33, 23 February 2023 (UTC)
 * ✅ Sigh. * Pppery * <sub style="color:#800000">it has begun... 01:49, 24 February 2023 (UTC)

How do I convert from pre-Euro Spanish pesetas to Euro?
I'm looking to edit https://en.wikipedia.org/w/index.php?title=The_Knight_of_the_Dragon, which was made in 1985 and had a budget of 400 million pesetas. I manually converted this using crude math to 2023 USD, but ideally would use a template instead (for Euros or USD). Is that possible with this template? Mxbndr (talk) 16:18, 24 March 2023 (UTC)


 * , The short answer is no (see the above discussions on this page), but there is a way to get around that. You can use either a math template or an automatic currency converter template (I'm not sure if that exists, but it likely does) in addition to the inflation template for the currency conversion. See the currency conversion section of the usage notes for the template for how to do that. As a side note, this site, the one used on the inflation template for Spain, gives a value that could be cited. Zoozaz1 (talk) 04:15, 25 March 2023 (UTC)

Template-protected edit request on 20 April 2023
to

Removing all caps, fixing miscapitalization, and adding a year for the first source. : 3 F4U (they/it) 13:25, 20 April 2023 (UTC)


 * ✅.  P.I. Ellsworth &thinsp;, ed.  put'er there 10:13, 21 April 2023 (UTC)

Template-protected edit request on 9 May 2023
US Jchamb2010 (talk) 21:30, 9 May 2023 (UTC)
 * please supply a specific change that you're requesting to be made.  Imzadi 1979  →   22:23, 9 May 2023 (UTC)

Template-protected edit request on 28 May 2023 - Need US update to 2022
The US Inflation template data needs to be updated to 2022. This requires editing 3 pages, I have shown the changes below. The source showing the 2022 data which I used below can be found here. Note that  now redirects to   (shown in my change below), and   now redirects to   (shown in my change below).

1. Template:Inflation/US/dataset requires a change from:



to:

2. Template:Inflation/fn requires the current date be updated for  in two places for   on the line that starts with.

3. Template:Inflation/year requires a change from:

to:

Thank you,

<b style="color:indigo">Curious</b><b style="color:darkgreen">Eric</b> 14:10, 28 May 2023 (UTC)
 * ✅ Izno (talk) 16:23, 28 May 2023 (UTC)
 * Thank you for your fast response. <b style="color:indigo">Curious</b><b style="color:darkgreen">Eric</b> 17:05, 28 May 2023 (UTC)

Template-protected edit request on 30 May 2023
Please change  to. I upadated the value. Mehedi Abedin 09:35, 30 May 2023 (UTC)


 * .  P.I. Ellsworth &thinsp;, ed.  put'er there 10:14, 30 May 2023 (UTC)

Country index should automatically select the appropriate default currency symbol
It would be helpful if the country index would automatically select the appropriate default currency symbol when using  instead of always defaulting to the US '$'.

I realize this could be a big change, to the documentation as well, but it makes no sense to always default to '$'. Perhaps this improvement could be made with adding only some currency symbols, and other symbols added incrementally. This suggestion was also made in 2020 [https://en.wikipedia.org/wiki/Template_talk:Inflation/Archive_2#Can_the_index_know_the_currency_symbol? here] but there was no response.

I came across this mistake of using  here:
 * £1,000 ()

When they intended the currency symbol to be '£', which currently requires :
 * £1,000

This also affects the parameter  where   generates:

Where the currency symbol should be '£'.

Currently the parameter  is required for any use of   when the index is not  , but I don't think this is sufficiently prominent in the documentation. This requirement is also prone to mistakes. <b style="color:indigo">Curious</b><b style="color:darkgreen">Eric</b> 16:55, 8 June 2023 (UTC)

Template-protected edit request on 5 July 2023
the two lines


 * AU      = 2010


 * AU-road = 2013

should be removed as they are redundant Desb42 (talk) 08:34, 5 July 2023 (UTC)


 * .  P.I. Ellsworth &thinsp;, ed.  put'er there 11:41, 5 July 2023 (UTC)

Edit request 8 July 2023 - update year for India
Description of suggested change: Please update the year for India

Diff:

The Inflation/IN/dataset has been updated with 2021, 2022 and 2023, and default value changed to 2023. Template edit-request will be left on Inflation/fn. Thank you.  Ravensfire  (talk) 18:50, 7 July 2023 (UTC)
 * ✅ &mdash; Martin (MSGJ · talk) 18:28, 8 July 2023 (UTC)

Edit request 8 July 2023
Description of suggested change: Update year range for India data source

Change: In the |IN section, please change the year range at the end from 1954 to 2020 to 1954 to 2023. Please update the accessdate parameter in the citation template for the Inflation.eu source to July 8 2023.

The Inflation/IN/dataset has been updated with 2021, 2022 and 2023, and default value changed to 2023. Template edit-request has been left on Inflation/year. Thank you.  Ravensfire  (talk) 18:55, 7 July 2023 (UTC)


 * It would make things very much easier if you could edit Template:Inflation/fn/sandbox with your requested changes &mdash; Martin (MSGJ · talk) 18:27, 8 July 2023 (UTC)
 * I have edited there now. Thanks. Cinephile4ever 19:44, 8 July 2023 (UTC)
 * ✅ looks good! &mdash; Martin (MSGJ · talk) 19:56, 8 July 2023 (UTC)

Removing fmt=eq seems to do "too much", suggestions?
I was touching up Brilliant Pebbles by adding some inflations. I normally use the fmt=eq because that fleshes out the text and saves me typing while also making editing easier for future users. But then I got to this bit:


 * The $40 billion (equivalent to $107,000,000,000 in 2022) budget estimate was dismissed as "pure fantasy". Over the next year the budget continued to grow, apparently without bound, first to $60 billion (equivalent to $160,000,000,000 in 2022), to $75 billion (equivalent to $155,000,000,000 in 2022), and then reaching $100 billion by April 1988 (equivalent to $148,000,000,000 in 2022).

There's two issues here:

1) I would like it to say "$107 billion", not "$107,000,000,000". That way it matches the original source of 60 billion (shades of the discussion immediately above this post!)

2) after the first example, there's no need to keep repeating the year. So I simply removed fmt=eq. Then the format changes completely, becoming 155000000000. That is not what I want, these should all have the same general format. So then I used fmt=c, but that fails to add the dollar sign and the format is once again different.

Suggestions? Maury Markowitz (talk) 17:41, 28 July 2023 (UTC)

Detecting/flagging false precision
There's a lot of (presumably unintended) misuse of this template leading to false precision. Here's an example from Walter O'Malley before I fixed it: "(...) demanded $1 million ($0 today)." The implied precision of the inflation-adjusted number is clearly absurd. A few years ago I suggested to adopt a more conservative default  for this template, which didn't find support. So how about, instead, we build in a check based on how many trailing zeros are in the ? If the  is   while , the template should produce a flag, similar to when one enters anything with letters for   in any of the CS1 templates. --bender235 (talk) 15:50, 17 July 2023 (UTC)
 * Definitely there are a lot of those. As well as I know it, adjust based on the precision of the input value. It would seem that this one also could do that. Note that there is no requirement that WP give the full precision from the source, if it isn't needed. Gah4 (talk) 19:34, 18 July 2023 (UTC)
 * This bothers me all the time as well, as I normally forget to do it and then have to go back and fix it later. Is there no way to automate this? If the input value has six zeros, is r=-6 not a good default? Is the template engine not capable of this? Maury Markowitz (talk) 17:42, 28 July 2023 (UTC)
 * This bothers me all the time as well, as I normally forget to do it and then have to go back and fix it later. Is there no way to automate this? If the input value has six zeros, is r=-6 not a good default? Is the template engine not capable of this? Maury Markowitz (talk) 17:42, 28 July 2023 (UTC)

Template-protected edit request on 6 September 2023
Hi, I'd like to request the following edit to Spanish sources since I updated the dataset:

Thanks, cheers, <span style="color:black; font-family: monospace, Courier;">swar e • 🗣 • 🏲 17:51, 6 September 2023 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 20:18, 7 September 2023 (UTC)

Template-protected edit request on 6 September 2023
Hi, I updated the dataset for Spain. The end year is now 2022. Thanks, cheers, <span style="color:black; font-family: monospace, Courier;">swar e • 🗣 • 🏲 18:43, 6 September 2023 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 20:20, 7 September 2023 (UTC)

Template-protected edit request on 10 September 2023
Change from to Update reference link – robertsky (talk) 14:27, 10 September 2023 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 18:10, 10 September 2023 (UTC)

Template-protected edit request on 10 September 2023 (2)
Change from: to: I have updated Template:Inflation/SG/dataset. – robertsky (talk) 14:30, 10 September 2023 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 18:10, 10 September 2023 (UTC)

Australian Pounds to Dollars
Hello. I'm just wondering how this template handles the fact that Australia switched from pounds, shillings and pence to decimal dollars in February 1966? I can't figure out the code, but from playing with it, for a sum before 1966 the template seems to apply a CPI deflator to a pound amount and then give you a pound amount result, even if the desired year is after the introduction of the dollar. Is that right? Pyrop e  12:19, 29 September 2023 (UTC)


 * That is likely, see the currency conversion section of the documentation. Zoozaz1 (talk) 11:23, 6 October 2023 (UTC)


 * Thanks. I did look through as much of the documentation as I could find and this topic doesn't seem to be explicitly addressed. Pyrop  e  14:01, 10 October 2023 (UTC)

Template-protected edit request on 30 October 2023
Please add the "current" year of the inflated prices 2022, associated with Inflation/VN/dataset, in Inflation/year for the new index VN, specifically:

NmWTfs85lXusaybq (talk) 01:05, 30 October 2023 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 02:44, 30 October 2023 (UTC)

Template-protected edit request on 30 October 2023 (2)
Please add a footnote for the source of VN's CPI dataset in Inflation/fn per Inflation/doc/cpi-vn, that is: Thanks, NmWTfs85lXusaybq (talk) 09:54, 30 October 2023 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 01:11, 2 November 2023 (UTC)

Weird output for France
, I am doing some work on 19th century French prices and I get some really weird output. This concerns France and probably other countries and as far as I understand it is about some very old conversions. I am asking you because I want to include inflation templates to article about Le Touquet, currently being developed in my sandbox. I need to include modern-day values of 19th-century land.

First of all, when I type in this: I get "" (equivalent to $154,346,949 in 2020) but as we know, France does not use dollars, so this is already off.

Secondly, this sum is totally ridiculous because it would suggest that prices were that high, but were they? So for example, I have a source say that there was some land that was at that time moderately attractive (just a forest) but was considered for building a seaside resort. About 1880, a buyer approached to develop the land by buying it at 35,000 francs per 1 ha. According to the template, this is, which is an astronomical sum - I mean, in the US you could easily buy 100 built homes in the suburbs with land more than 1 hectare, and at that time it was just a forest. To compare with how much it should have cost, we should remember that France was part of the Latin Monetary Union and so tied its currency to values of silver and gold. In 1878, according to the article, 100 francs were worth exactly 32.25806 g of .900 gold, which is 29.032254 g of pure gold. 35,000 francs is then 10161.2889 g. I looked up today the price of gold and it's $1973 per troy ounce, so let's say for simplicity it's $2000 per troy ounce. 326.69302 ozt * $2000/ozt = $653386.04. The inflation template figure is off by two orders of magnitude. Which is a lot.

Similarly, I have an investor who bought 1120 ha of functionally the same land (forest, near the sea) in 1902 for 870,500 francs, which the template says is. $2.4 billion dollars for that land sounds a bit like Trump arguing that Mar-a-Lago is worth $1 billion on the theory that people would shell out $950 million more just because he's Trump.

Do something about it please. Szmenderowiecki (talk) 11:13, 15 November 2023 (UTC)
 * The template get its data from Template:Inflation/FR/dataset, which was edited by and . They probably have a better idea what's going on here than I do, as my involvement in this template series has only been responding to edit requests. * Pppery * <sub style="color:#800000">it has begun...  00:11, 16 November 2023 (UTC)
 * , the template tracks only changes in the price index; it is currency agnostic. My suspicion is that this is the cause of your issue. The output is not in dollars; it is just a measurement of changes in price indices in France from the inputted date to 2020, discounting changes in currency or currency redenomination (as far as I am aware). In other words, it measures long-term inflation  and discounts changes in a currency's value (or the currency itself) imposed from above (this is not necessarily true for all countries in the inflation template, I do think some adjust for this). To give the most obvious example, the exchange rate in the 1999 switching from the franc to the euro is 6.5 francs for 1 euro; the price index does not factor that in. The 1960 devaluation was 100 old francs to 1 new franc. Factoring that in, the total becomes 116,872.871 euros today for the 1880 land purchase. There may be other currency changes/devaluations over the time period I am not aware of that should be considered. This is discussed in the currency conversion section of the documentation. Ideally this would be integrated into all the templates.
 * Another aspect to be aware of it is that, generally, the templates track the CPI, price indices of consumer goods. This is not to say it is useless when it comes to land, but that is another factor that will distort the accuracy/decrease the "correctness" of the result.
 * Not sure why it displays in dollars though, perhaps remove the "fmt=eq" and type it manually with the correct currency instead. Zoozaz1 (talk) 01:36, 16 November 2023 (UTC)
 * Well I think the denomination and conversion to euros should be in fact made here because France no longer uses the franc, and so your dataset should be really limited to 1999 or 2002, depending on the date you consider that France has adopted the euro. You mention that your data from 1904 is from INSEE's dataset (actually there's an updated one), but I also used this converter to see the values. There, 870500 francs in 1902 are worth €3,716,124.11 in purchasing power, which makes a lot more sense.
 * I think that in this case, you should update the doc of this template to mention that the values presented here do not account for denominations or for mandatory conversions to other currencies, so maybe using fmt in general is kinda misleading for these cases and the template should warn against such inferences. Szmenderowiecki (talk) 10:16, 16 November 2023 (UTC)
 * , The doc does mention this in the currency conversion section. The datatset has the same information as the INSEE; that is why your number of 2,412,053,184/6.5 = 371085105, and 371085105/100=3710851.05, which is effectively the same as in the converter. Zoozaz1 (talk) 10:54, 16 November 2023 (UTC)
 * So I resolved this issue with code of type:

c. € in , which gives c.  € in  (for a 35,000 franc purchase in 1880), but then it is impossible to introduce   into the inflation template expression because the software that processes this expression starts swearing about unexpected commas in the output. Szmenderowiecki (talk) 10:49, 16 November 2023 (UTC)

Edit request 16 November 2023
Description of suggested change: In the French part, please substitute the old dataset of inflation values with a new dataset. I also updated the values from the dataset to include 2021 and 2022

Diff: In Inflation/fn: Szmenderowiecki (talk) 13:38, 16 November 2023 (UTC) In Inflation/year:


 * ✅ * Pppery * <sub style="color:#800000">it has begun... 02:19, 19 November 2023 (UTC)

Edit request 16 November 2023
Description of suggested change: Australian inflation data updated to 2022

Diff: In Inflation/AU/fn }} In Inflation/year

Updated in this edit. Szmenderowiecki (talk) 14:58, 16 November 2023 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 02:19, 19 November 2023 (UTC)

Edit request 16 November 2023
Description of suggested change: Update the data for Denmark, from 2008 to 2022

Diff: In Inflation/DK/fn:

in Inflation/year:

Updated in this edit Szmenderowiecki (talk) 15:31, 16 November 2023 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 02:19, 19 November 2023 (UTC)

Template-protected edit request on 30 November 2023
Please change to Titan877 (talk) 07:45, 30 November 2023 (UTC)


 * .  P.I. Ellsworth &thinsp;, ed.  put'er there 12:33, 30 November 2023 (UTC)

Template-protected edit request on 30 November 2023 (2)
Please change to Titan877 (talk) 07:47, 30 November 2023 (UTC)


 * .  P.I. Ellsworth &thinsp;, ed.  put'er there 12:34, 30 November 2023 (UTC)

Feature request: automatic r=
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)

GDP deflator for other countries
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)
 * Seems to me (WP:OR is allowed in talk, though I didn't actually do any R) that for some things prices are global. When we hear about the price of oil, that is on the world market, and so such conversions should work. Then there is the Big Mac Index for comparing different countries. But many items are not globally traded, or have other reasons not to keep price parity. Gah4 (talk) 21:42, 13 December 2023 (UTC)
 * Seems to me (WP:OR is allowed in talk, though I didn't actually do any R) that for some things prices are global. When we hear about the price of oil, that is on the world market, and so such conversions should work. Then there is the Big Mac Index for comparing different countries. But many items are not globally traded, or have other reasons not to keep price parity. Gah4 (talk) 21:42, 13 December 2023 (UTC)

Generate footnote automatically?
Is there a way to do the equivalent of

(

without having to explicitly invoke both templates? Something like

(

would be simpler. Is that possible? RoySmith (talk) 16:13, 29 November 2023 (UTC)

also...
Since I'm here, is there a nicer way to do this:

$1 million (equivalent to $ in ),

which is a mouthful. RoySmith (talk) 15:43, 30 November 2023 (UTC)
 * , I think I've got a similar issue—I want my inflation equivalency to be in a 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)
 * @Serial Number 54129 Sadly, I have not. RoySmith (talk) 20:15, 2 January 2024 (UTC)
 * Ah! Sorry. @ sorry to bother you, but any thoughts on this? Much appreciated if you can help 👍  ——Serial  20:23, 2 January 2024 (UTC)
 * You can pass 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 * <sub style="color:#800000">it has begun... 00:02, 3 January 2024 (UTC)

Default Output of Inflation Template
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)


 * @Garvey 96: Hi there! When having an issue with a template, I suggest posting on the template's talk page first, preferably with an example.  Thanks! GoingBatty (talk) 21:58, 7 January 2024 (UTC)
 * Returning an error seems like the right approach. Returning a value makes it seem like the input, and therefore the output, is valid when it is not. Mathglot (talk) 04:59, 8 January 2024 (UTC)
 * I think that errors should only be shown to editors and not to viewers of the page. Garvey 96 (talk) 09:34, 10 January 2024 (UTC)
 * Showing an error message to our readers may be ugly, but showing them erroneous information and pretending it's real is far worse. RoySmith (talk) 15:23, 10 January 2024 (UTC)
 * This looks like an functional error in the template to me. To take an example:
 * results in
 * results in
 * results in
 * results in
 * The template should not be producing an error for 2023, and editors shouldn't be expected to work around this. The 2021 and 2022 indeces work, but only inflate to 2022. The 2024 index is the only that would read as correct to the reader, signifying that there has been no inflation between 2024 and 2024. There is no reason to make 2023 return an error value, because the problem will be fixed once the inflation figures are released for 2023. The problem only occurs because there is a bit of a lag in the data. What you are going to get is editors introducing hacks by adding unadjusted figures to lists and tables to avoid getting an error message, meaning that the numbers won't update through the years. Betty Logan (talk) 09:43, 11 January 2024 (UTC)