Template:INRConvert/HistoricalRate

This subtemplate takes in two parameters:
 * 1) target currency
 * 2) Default: USD
 * 3) Supported values:
 * 4) XDR - special drawing rights unit
 * 5) USD - United States dollar
 * 6) GBP - Pound sterling
 * 7) JPY - Japanese yen
 * 8) DEM - Deutsche mark, only supported when the year argument between 1970 and 1998
 * 9) EUR - euro, only supported when the year argument is 1999 or greater
 * 10) conversion calendar year
 * 11) Default:  (last year)
 * 12) Supported values: any whole-digit year between 1970 and 2024
 * 13) The Deutsche mark is not supported after 1998
 * 14) The euro is not supported before 1999

It outputs the number of rupees per a single unit of the given currency using the average exchange rate in the given calendar year.

Exchange rates for the Indian rupee are taken from the Handbook of Statistics on Indian Economy, published every September by the Reserve Bank of India. These are average rates for the previous year, so the latest rates in the September 2024 report would be for. This means that before the report is published, the table would be missing the rates for two years, both for the current year and the previous year. After the report is published, only the current year's rates would be missing.
 * Supported currencies and years

As a compatibility measure, "dummy" rates will be provided for both the current year and the immediately previous year. These rates will always be set to the rates of the most recent year for which they are available. After the handbook is released, these rates should be updated to the most recent available rates. The reason for providing the current year is so that articles can set the year parameter to the current year before the rates are published.

This template does not support currencies for which the Reserve Bank of India does not explicitly provide exchange rate information.


 * How to update the table
 * 1) Find the Handbook of Statistics on Indian Economy for the current year – this is published by the Reserve Bank of India around September every year. The latest version may be found at https://www.rbi.org.in/scripts/AnnualPublications.aspx?head=Handbook%20of%20Statistics%20on%20Indian%20Economy
 * 2) Open the table of the exchange rates of the Indian rupee vis-à-vis other currencies in the handbook – use the table with the annual averages for the calendar year, not the financial year.
 * 3) Edit this template, and at the bottom of the table, update the values for the previous year. For example, if you have the handbook published in 2024, the latest rates it provides are for . If a year is not listed, copy the entry for the latest available year and update the values until all missing years are filled.
 * 4) Note that for the Japanese yen, the value given by the handbook should be divided by 100, because the given figures are for ¥100; so if 64.6161 is given, write 0.646161. This does not apply to other currencies.
 * 5) If it does not exist already, add a set of values for the current year. The rates should be exactly the same as for the previous year. This is for compatibility reasons, and these rates should be updated when the next year's handbook is published.
 * 6) Add the latest handbook to the list of data sources, using the cite web template. Use the Internet Archive and Archive.is to make a back-up of the relevant table from the handbook.


 * Data sources:
 * 1) 1970-1980:
 * 2) 1981-2018:
 * 3) 2019: