Template:INRConvert/HistoricalRate/Formatted

From blackwiki
< Template:INRConvert‎ | HistoricalRate
Revision as of 10:56, 10 November 2019 by imported>Joshua Issac (parameter names.)
Jump to navigation Jump to search

Given a rupee amount (default 1), a target currency and a conversion year, this subtemplate will output the converted amount in the target currency using the exchange rate in the given year. This uses {{INRConvert/HistoricalRate}}. If the target currency or conversion year are not supplied, they will be defaulted by the aforementioned template.

Parameters
  1. Rupee amount in INR, e.g. 100 (not 100)
  2. Target currency ISO code, e.g. USD (not US$ or dollar)
  3. Conversion year, e.g. 2018 (not 2018-05-03)
Example

{{INRConvert/HistoricalRate/Formatted|100|USD|2018}}