سانچہ:INRConvert
₹0 (امریکی $0.00)
Purpose
The purpose of this template is to automatically convert and format کاغذی کرنسی from بھارتی روپیہs to other currencies (امریکی ڈالرs by default) applying adjustment for inflation where appropriate. Rates of exchange and inflation must be manually copied by editors therefore the template's output does not necessarily reflect the present exchange rates or price indices but, rather, reflects the rates and indices at the time of the last update.
Usage
{{INRConvert|rupee_value|currency_formatting|rounding digits|lk=|to=|year=}}
Parameters
A description of the template's parameters are listed below.
Field name | Usage | Description |
rupee_value |
mandatory | The value, in بھارتی روپیہs, that needs to be converted. The template will not accept pre-formatted values (i.e. 1,234). |
currency_formatting |
optional | Used to represent larger numbers. Available options are as follows.
|
rounding_digits |
optional | Used to round significant digits. Negative values (-2, -3) can be used to round values to the nearest hundred or thousand, etc. A value of "0" will drop paise or cent values from the converted number. By default the conversion will be rounded to two significant figures. Refer to the Examples section below for more examples. |
lk |
optional | This parameter gives you the option of internally linking currency names (rupees and paise) and/or number names (lakh and crore). By default, the parameter is set to "off" (i.e. it is set not to link). Available options are as follows.
|
year |
optional | This parameter allows for inflation. Historic rupee values will be inflated to current values then converted. |
to |
optional | This parameter allows for conversion to various different currencies (and some combinations). Currently, the US (default), Canadian, Australian and New Zealand dollars, the euro, the pound sterling, Pakistani rupee and the Bangladeshi taka are supported. |
mode |
optional | This parameter controls the output mode. Setting it to blank or omitting it results in the default mode. Setting it to historical allows conversion using historical exchange rates. The year parameter must be between 1970 and 2018 in historical mode.
|
Examples
INRConvert syntax | Results |
---|---|
{{INRConvert|1}} |
₹1 (1.4¢ امریکی) |
{{INRConvert|500}} |
₹500 (امریکی $7.00) |
{{INRConvert|0.05|lk=on}} |
5 پیساe (0.070¢ امریکی) |
{{INRConvert|0.01}} |
1 paisa (0.014¢ امریکی) |
{{INRConvert|0.86}} |
86 paise (1.2¢ امریکی) |
{{INRConvert|30|m}} |
₹30 million (امریکی $420,000) |
{{INRConvert|0.72|m}} |
₹0.72 million (امریکی $10,000) |
{{INRConvert|36|b}} |
₹36 بلین (امریکی $500 ملین) |
{{INRConvert|36|b|-2}} |
₹36 بلین (امریکی $500 ملین) |
{{INRConvert|80|b|lk=b}} |
₹80 بلین (امریکی $1.1 بلین) |
{{INRConvert|32|t|lk=r}} |
₹32 ٹریلین (امریکی $450 بلین) |
{{INRConvert|40000|c|lk=on}} |
₹40,000 کروڑ (امریکی $5.6 بلین) |
{{INRConvert|40000|c|0}} |
₹40,000 کروڑ (امریکی $6 بلین) |
{{INRConvert|19|k}} |
₹19,000 (امریکی $270) |
{{INRConvert|53|m|0}} |
₹53 million (امریکی $743,060) |
{{INRConvert|123|k|year=1990}} |
₹123,000 (برابر ہیں ₹ Formatting error: invalid input when rounding or امریکی $ Formatting error: invalid input when rounding میں 2018) |
{{INRConvert|319|to=GBP}} |
₹319 (سانچہ:INRConvert/GBP) |
{{INRConvert|753|m|year=2000|to=USD EUR}} |
₹753 million (برابر ہیں ₹ Formatting error: invalid input when roundingسانچہ:INRConvert/USD EUR میں 2018) |
{{INRConvert|324|c|year=2000|to=EUR|mode=historical}} |
₹324 کروڑ (سانچہ:INRConvert/HistoricalRate/Formatted) |
{{INRConvert|240|c|year=2001}} |
₹240 کروڑ (برابر ہیں ₹ Formatting error: invalid input when rounding or امریکی $ Formatting error: invalid input when rounding میں 2018) |
{{INRConvert|240|c|0|year=2001}} |
₹240 کروڑ (برابر ہیں ₹ Formatting error: invalid input when rounding or خطاء تعبیری: غیر متوقع < مشتغل۔ میں 2018) |
{{INRConvert|240|c|lk=on|year=2001}} |
₹240 کروڑ (برابر ہیں ₹ Formatting error: invalid input when rounding or امریکی $ Formatting error: invalid input when rounding میں 2018) |
{{INRConvert|240|c|0|lk=on|year=2001}} |
₹240 کروڑ (برابر ہیں ₹ Formatting error: invalid input when rounding or خطاء تعبیری: غیر متوقع < مشتغل۔ میں 2018) |
{{INRConvert|240|c|year=2001|0}} |
₹240 کروڑ (برابر ہیں ₹ Formatting error: invalid input when rounding or خطاء تعبیری: غیر متوقع < مشتغل۔ میں 2018) |
{{INRConvert|240|year=2001|c}} |
₹240 کروڑ (برابر ہیں ₹ Formatting error: invalid input when rounding or امریکی $ Formatting error: invalid input when rounding میں 2018) |
{{INRConvert|240|year=2001|c|0}} |
₹240 کروڑ (برابر ہیں ₹ Formatting error: invalid input when rounding or خطاء تعبیری: غیر متوقع < مشتغل۔ میں 2018) |
Precautions
Using the |year=
causes the calling page's Highest expansion depth to be very high, typically at least 33. The limit is 40. Take particular care using |year=
when calling this template from within other templates, as this will further increase the template expansion depth of Wikipedia pages that call templates that call this one.
Updating
It is important to keep the figures used in these conversions up to date. Data for current exchange rates is kept at {{INRConvert/CurrentRate}}. Data for historical exchange rates are kept at {{INRConvert/HistoricalRate}}. Data for the inflation rate is at {{Inflation/IN/dataset}} (see Template:Inflation#Developer documentation for details). Feel free to update these if you are able to.
اوپر دی گئی دستاویز صفحہ سانچہ:INRConvert/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین سانچہ کے تختہ مشق (تخلیق | آئینہ) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ براہ کرم /دستاویز کے ذیلی صفحہ پر زمرہ جات شامل فرمائیں۔ اس سانچہ کے ذیلی صفحات۔ |