ਫਰਮਾ:INRConvert/HistoricalRate

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਅਜ਼ਾਦ ਗਿਆਨਕੋਸ਼ ਤੋਂ

This subtemplate takes in two parameters:

  1. target currency
    1. Default: USD
    2. Supported values:
      1. XDR - ਸਪੈਸ਼ਲ ਡਰਾਇੰਗ ਰਾਈਟਸ ਇਕਾਈ
      2. USD - ਸੰਯੁਕਤ ਰਾਜ ਡਾਲਰ
      3. GBP - ਪਾਊਂਡ ਸਟਰਲਿੰਗ
      4. JPY - ਜਪਾਨੀ ਯੈੱਨ
      5. DEM - ਡਿਊਸ਼ ਮਾਰਕ, ਸਿਰਫ਼ ਉਦੋਂ ਹੀ ਸਮਰਥਿਤ ਹੈ ਜਦੋਂ ਸਾਲ 1970 ਅਤੇ 1998 ਵਿਚਕਾਰ ਦਲੀਲ ਹੁੰਦੀ ਹੈ
      6. EUR - ਯੂਰੋ, ਸਿਰਫ਼ ਉਦੋਂ ਸਮਰਥਿਤ ਹੈ ਜਦੋਂ ਸਾਲ ਆਰਗੂਮੈਂਟ 1999 ਜਾਂ ਇਸ ਤੋਂ ਵੱਧ ਹੋਵੇ
  2. conversion calendar year
    1. Default: 2023 (last year)
    2. Supported values: any whole-digit year between 1970 and 2024
      1. The Deutsche mark is not supported after 1998
      2. 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 2024 report would be for 2023. 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
  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 2023. If a year is not listed, copy the entry for the latest available year and update the values until all missing years are filled.
    1. 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.
  4. 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.
  5. 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: "Table 130 : Exchange Rates of The Rupee Vis-A-Vis The SDR, US Dollar, Pound Sterling, D.M. / Euro and Japanese Yen". Handbook of Statistics on Indian Economy (2001). Reserve Bank of India. 2001. Archived from the original on 2019-11-10. Retrieved 2020-08-16.
  2. 1981-2018: "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)". Handbook of Statistics on Indian Economy (2019). Reserve Bank of India. 2019-09-15. Archived from the original on 2019-11-10. Retrieved 2020-08-16.
  3. 2019: "Exchange Rate of the Indian Rupee vis-à-vis the Sdr, US Dollar, Pound Sterling, D.m./Euro and Japanese Yen (Calendar Year - Annual Average)" (PDF). Handbook of Statistics on Indian Economy (2020). Reserve Bank of India. 2020-09-18. Archived (PDF) from the original on 2020-09-27. Retrieved 2020-09-27.

no data found for {{{1}}}/INR in year {{{2}}}