แม่แบบ:INRConvert/HistoricalRate

This subtemplate takes in two parameters:
# target currency
## Default: USD
## Supported values:
### XDR - special drawing rights unit
### USD - United States dollar
### GBP - Pound sterling
### JPY - Japanese yen
### DEM - Deutsche mark, only supported when the year argument between 1970 and 1998
### EUR - euro, only supported when the year argument is 1999 or greater
# conversion calendar year
## Default:  (last year)
## Supported values: any whole-digit year between 1970 and 
### The Deutsche mark is not supported after 1998
### 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.
 Supported currencies and years
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  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.
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
# 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
# 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.
# 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 , 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.
## 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.
# 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.
# 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:
# 1970-1980: cite web|publisher=Reserve Bank of India|work=Handbook of Statistics on Indian Economy (2001)|date=2001|url=https://www.rbi.org.in/scripts/PublicationsView.aspx?id=2676|url-status=live|archive-url=https://web.archive.org/web/20191110103039/https://www.rbi.org.in/scripts/PublicationsView.aspx?id=2676|archive-date=2019-11-10|access-date=2020-08-16|title=Table 130 : Exchange Rates of The Rupee Vis-A-Vis The SDR, US Dollar, Pound Sterling, D.M. / Euro and Japanese Yen
# 1981-2018: title=Table 139 : Exchange Rate of the Indian Rupee vis-à-vis the Sdr, US Dollar, Pound Sterling, D.m./Euro and Japanese Yen (Calendar Year - Annual Average)
# 2019: title=Exchange Rate of the Indian Rupee vis-à-vis the Sdr, US Dollar, Pound Sterling, D.m./Euro and Japanese Yen (Calendar Year - Annual Average)