ᱪᱷᱟᱸᱪ:INRConvert/doc
This is a documentation subpage for ᱪᱷᱟᱸᱪ:INRConvert. It contains usage information, categories and other content that is not part of the original ᱪᱷᱟᱸᱪ page. |
This is a documentation subpage for ᱪᱷᱟᱸᱪ:INRConvert. It contains usage information, categories and other content that is not part of the original ᱪᱷᱟᱸᱪ page. |
Please refer to /bugs for a list of known bugs. Alternatively, a list of resolved problems is detailed here. |
ᱡᱚᱥ
ᱥᱟᱯᱲᱟᱣTo automatically convert and format currency from Indian Rupees (Rs.) to United States Dollars. (US$) for use on India-related articles on Wikipedia or wherever appropriate. The actual Rupee-Dollar exchange rate is manually copied each week by a Wikipedia editor from the U.S. Federal Reserve reported data and posted into this template. The conversion is from the value posted by the Wikipedia editor into U.S. dollars. The output does not reflect the present exchange rate; rather, the output reflects the exchage rate posted by the Wikipedia editor at the time the template exchange multiplier is updated.
ᱵᱮᱵᱷᱟᱨ
ᱥᱟᱯᱲᱟᱣ{{INRConvert|rupee_value|currency_formatting|rounding digits|nolink=(yes/no)}}
Parameters
ᱥᱟᱯᱲᱟᱣA description of the template's parameters are listed below.
Field name | Usage | Description |
rupee_value |
mandatory | The value, in Indian Rupees, that needs to be converted. The template will not accept pre-formatted values (ie. 1,234) |
currency_formatting |
optional | Used to represent larger numbers. Available options include :
|
rounding_digits |
optional | Used to round significant digits. The default value for most numbers with currency formatting is "2" (representing the two digits of paise and cents. 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. Refer to the Examples section below for more examples. |
nolink |
optional | This parameter gives you the option of not internally linking currency names (Rupees and US$). By default, the parameter is set to "no" (ie. it is set to link Rupees and US$). Currency names will be displayed with no links when the parameter is set to "yes". |
- Foreign Exchange Data Source
- This template will always aim to convert Indian Rupees at current Dollar prices. Source data for INR > USD rates is obtained from the United States Federal Reserve online. Data sourced from the Federal Reserve is public domain.
ᱫᱟᱹᱭᱠᱟᱹ
ᱥᱟᱯᱲᱟᱣ
INRConvert syntax | Results |
---|---|
{{INRConvert|1}} | ᱑ (US$᱐.᱐᱑) |
{{INRConvert|500}} | ᱕᱐᱐ (US$᱖.᱙᱖) |
{{INRConvert|0.05}} | ᱕ ᱯᱩᱭᱥᱟᱹ (less than 1¢) |
{{INRConvert|0.86}} | ᱘᱖ ᱯᱩᱭᱥᱟᱹ (᱑¢) |
{{INRConvert|30|l}} | 30 ᱞᱟᱠᱷ (US$᱔᱑,᱗᱐᱐) |
{{INRConvert|30|m}} | 30 ᱢᱤᱞᱤᱭᱚᱱ (US$᱔᱑᱗,᱔᱓᱘) |
{{INRConvert|0.72|m}} | 0.72 ᱢᱤᱞᱤᱭᱚᱱ (US$᱑᱐,᱐᱑᱘.᱕᱑) |
{{INRConvert|36|b}} | 36 ᱵᱤᱞᱤᱭᱚᱱ (US$᱕᱐᱐.᱙᱓ ᱢᱤᱞᱤᱭᱚᱱ) |
{{INRConvert|36|b|-2}} | 36 ᱵᱤᱞᱤᱭᱚᱱ (US$᱕᱐᱐ ᱢᱤᱞᱤᱭᱚᱱ) |
{{INRConvert|80|B}} | 0.80 ᱵᱤᱞᱤᱭᱚᱱ (US$᱑᱑.᱑᱓ ᱢᱤᱞᱤᱭᱚᱱ) |
{{INRConvert|32|t}} | 32 ᱴᱨᱤᱞᱤᱭᱚᱱ (US$᱔᱔᱕.᱒᱗ ᱵᱤᱞᱤᱭᱚᱱ) |
{{INRConvert|400|c}} | ᱔᱐᱐ ᱠᱳᱴᱤ (US$᱕᱕.᱖᱖ ᱢᱤᱞᱤᱭᱚᱱ) |
{{INRConvert|400|c|0}} | ᱔᱐᱐ ᱠᱳᱴᱤ (US$᱕᱖ ᱢᱤᱞᱤᱭᱚᱱ) |
{{INRConvert|19|k}} | ᱑᱙,᱐᱐᱐ (US$᱒᱖᱔.᱓᱘) |
{{INRConvert|53|m|0|nolink=yes}} | ᱪᱷᱟᱸᱪ:INRConvert/nolinks |