Difference between revisions of "Template:INRConvert/HistoricalRate"

From blackwiki
Jump to navigation Jump to search
imported>Joshua Issac
(ISO code for special drawing rights unit (XDR), expanded documentation.)
imported>Joshua Issac
(added archive urls for sources.)
Line 18: Line 18:
  
 
;Data sources:
 
;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|title=Table 130 : Exchange Rates of The Rupee Vis-A-Vis The SDR, US Dollar, Pound Sterling, D.M. / Euro and Japanese Yen}}
+
# 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: {{cite web|publisher=Reserve Bank of India|work=Handbook of Statistics on Indian Economy (2019) | date=2010 | url= https://www.rbi.org.in/scripts/PublicationsView.aspx?id=19130 | 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)}}
+
# 1981-2018: {{cite web|publisher=Reserve Bank of India|work=Handbook of Statistics on Indian Economy (2019) | date=2010 | url= https://www.rbi.org.in/scripts/PublicationsView.aspx?id=19130|url-status=live|archive-url=https://web.archive.org/web/20191110103046/https://www.rbi.org.in/scripts/PublicationsView.aspx?id=19130|archive-date=2019-11-10|access-date=2020-08-16|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)}}
 
</noinclude>{{#switch: {{{2|{{LASTYEAR}}}}}
 
</noinclude>{{#switch: {{{2|{{LASTYEAR}}}}}
 
| 1970 = {{#switch: {{{1|USD}}}
 
| 1970 = {{#switch: {{{1|USD}}}

Revision as of 15:52, 16 August 2020

This subtemplate takes in two parameters:

  1. target currency
    1. Default: USD
    2. Supported values:
      1. XDR - special drawing rights unit
      2. USD - United States dollar
      3. GBP - Pound sterling
      4. JPY - Japanese yen
      5. DEM - Deutsche mark, only supported when the year argument between 1970 and 1998
      6. EUR - euro, only supported when the year argument is 1999 or greater
  2. conversion calendar year
    1. Default: 2024 (last year)
    2. Supported values: any whole-digit year between 1970 and 2018
      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.

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. 2010. Archived from the original on 2019-11-10. Retrieved 2020-08-16.

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