ढाँचा:INRConvert/कागजात
यस ढाँचामा अप्ठ्यारा सुविधाहरू रहेका छन्। कृपया यस ढाँचालाई सम्पादन गर्नु पूर्व यस ढाँचाको व्यवस्थापन तथा पार्सर प्रणालीहरूसँग परिचित हुनुपर्छ र पनि यदि तपाईँले गरेको सम्पादनबाट कुनै जटिल तथा अप्रत्याशित समस्या आएमा तत्कालै आफ्नो सम्पादन फर्काई दिनुहोला, किनकि यो ढाँचा अत्यधिक सङ्ख्याका लेख/पृष्ठहरूमा प्रयोग भइरहेको छ। स्मरण रहोस्: तपाईँ प्रयोग आदि गर्न सक्नुहुन्छ तर यहाँ कुनै पनि प्रयोग गर्नुपूर्व सबै प्रयोग सामान्य ढाँचा प्रयोगस्थलमा अथवा आफ्नो प्रयोगकर्ता प्रयोगस्थलमा गर्नुहोस्। |
Purpose
[सम्पादन गर्नुहोस्]The purpose of this template is to automatically convert and format currency from Indian Rupees to other currencies (United States Dollars 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 Indian Rupees, 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.
On by default. |
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}} |
₹१ (१.४¢ युएस) |
{{INRConvert|500}} |
₹५०० (युएस$७�००) |
{{INRConvert|0.05|lk=on}} |
५ पैसे (०.०७०¢ युएस) |
{{INRConvert|0.01}} |
१ पैसा (०.०१४¢ युएस) |
{{INRConvert|0.86}} |
८६ पैसे (१.२¢ युएस) |
{{INRConvert|30|m}} |
₹३० मिलियन (युएस$४२०,०००) |
{{INRConvert|0.72|m}} |
₹०.७२ मिलियन (युएस$१०,०००) |
{{INRConvert|36|b}} |
₹३६ बिलियन (युएस$५०० मिलियन) |
{{INRConvert|36|b|-2}} |
₹३६ बिलियन (युएस$५०० मिलियन) |
{{INRConvert|80|b|lk=b}} |
₹८० बिलियन (युएस$१.१ बिलियन) |
{{INRConvert|32|t|lk=r}} |
₹३२ ट्रिलियन (युएस$४५० बिलियन) |
{{INRConvert|400|c|lk=on}} |
₹४०० करोड (युएस$५६ मिलियन) |
{{INRConvert|400|c|0}} |
₹४०० करोड (युएस$५६ मिलियन) |
{{INRConvert|19|k}} |
₹१९,००० (युएस$२७०) |
{{INRConvert|53|m|0}} |
₹५३ मिलियन (युएस$७४३,०६०) |
{{INRConvert|123|k|year=1990}} |
₹१२३,००० (सन् २०१९मा ₹ Formatting error: invalid input when rounding अथवा युएस$ Formatting error: invalid input when rounding बराबर) |
{{INRConvert|319|to=GBP}} |
₹३१९ (£३.५०) |
{{INRConvert|753|m|year=2000|to=USD EUR}} |
₹७५३ मिलियन (सन् २०१९मा ₹ Formatting error: invalid input when rounding युएस$ Formatting error: invalid input when rounding अथवा € Formatting error: invalid input when rounding बराबर) |
{{INRConvert|324|c|year=2000|to=EUR|mode=historical}} |
₹३२४ करोड (€७८.०८ मिलियन) |
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.
Template calculates a value of Indian Rupees, which you can enter, to another currency and then presents the results.
मापदण्ड | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
Rupee value | 1 | The value, in Indian Rupees, that needs to be converted. The template will not accept pre-formatted values (i.e. 1,234).
| अज्ञात | आवश्यक |
Currency formatting | 2 | Use this to represent larger numbers such as crores, billions et al.
| अज्ञात | सुझावित |
Linking | lk | Gives option to whether link currency (Rupees, Paise) and/or number names (crores, lakhs)
| अज्ञात | सुझावित |
Year | year | This parameter allows for inflation. Historic rupee values will be inflated to current values then converted.
| अज्ञात | सुझावित |
To | to | This parameter allows for conversion to various different currencies (and some combinations). The US (default), Canadian, NZ and Australian dollars, the euro, the UK pound and the Bangladeshi taka are supported.
| अज्ञात | वैकल्पिक |
Rounding digits | 3 | 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.
| अज्ञात | वैकल्पिक |
Mode | mode | This parameter allows for the control of the output mode. Currently, blank (default) and historical are supported. In historical mode, conversions are performed using a historical exchange rate, for the year supplied. Years between 1970 and 2018 are supported, for XDR, USD (default), GBP, JPY, DEM (until 1998) and EUR (from 1999).
| अज्ञात | वैकल्पिक |