आकृति:INRConvert

मैथिली विकिपिडियासँ, एक मुक्त विश्वकोश
Jump to navigation Jump to search


Template documentation[view] [edit] [history] [purge]


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|nolink=(yes/no)|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 include :
  • k – to represent thousand(s)
  • m – to represent million(s)
  • b – to represent billion(s)
  • t – to represent trillion(s)
  • l – to represent lakh(s)
  • c – to represent crore(s)
  • lc – to represent lakh crore(s)
  • Brackets in the sense may be singular (or) plural.
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.
nolink optional This parameter gives you the option of not internally linking currency names (Rupees and paise) and number names (lakh and crore). By default, the parameter is set to "no" (i.e. it is set to link). Currency and number names will be displayed with no links when the parameter is set to "yes". Per WP:OVERLINK the currencies converted to are not linked.
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). The US, Canadian, NZ and Australian dollars, the euro, the UK pound and the Bangladeshi taka are supported.

Examples[सम्पादन करी]

INRConvert syntax Results
{{INRConvert|1}} १ (युएस$०.०२)
{{INRConvert|500}} ५०० (युएस$७.५५)
{{INRConvert|0.05}} पैसा (less than 1¢)
{{INRConvert|0.01}} पैसा (less than 1¢)
{{INRConvert|0.86}} ८६
{{INRConvert|30|m}} 30 मिलियन (युएस$४,५२,८९८)
{{INRConvert|0.72|m}} 0.72 मिलियन (युएस$१०,८६९.५५)
{{INRConvert|36|b}} 36 बिलियन (युएस$५४३.४८ मिलियन)
{{INRConvert|36|b|-2}} 36 बिलियन (युएस$५०० मिलियन)
{{INRConvert|80|B}} 0.80 बिलियन (युएस$१२.०८ मिलियन)
{{INRConvert|32|t}} 32 ट्रिलियन (युएस$४८३.०९ बिलियन)
{{INRConvert|400|c}} ४०० करोड (युएस$६०.३९ मिलियन)
{{INRConvert|400|c|0}} ४०० करोड (युएस$६० मिलियन)
{{INRConvert|19|k}} १९,००० (युएस$२८६.८४)
{{INRConvert|53|m|0|nolink=yes}} Purge
INRConvert syntax Results Sandbox
{{INRConvert|1}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|500}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|0.01}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|0.05}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|0.86}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|375|m|to=GBP}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|30|m}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|0.72|m}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|36|b}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|36|b|-2}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|80|B}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|32|t}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|400|c}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|400|c|0}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|19|k}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|195|to=USD EUR GBP}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|53|m|0|nolink=yes}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|950|c|year=1997|nolink=yes}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|950|c|year=1997|to=CAD}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|950|k|year=1960|to=USD GBP}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|0.50|year=1955|to=USD NZD}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|1000|year=1955|to=USD EUR GBP AUD CAD NZD}} नमूना परिक्रम भेटल: आकृति:INRConvert आकृति:INRConvert/sandbox
{{INRConvert|123|k|year=1990}} १,२३,००० (युएस$१,८५६.८८)
{{INRConvert|319|to=GBP}} ३१९ (युएस$४.८२)
{{INRConvert|753|m|year=2000|to=USD EUR}} ७५३ मिलियन (युएस$११.३७ मिलियन)

Updating[सम्पादन करी]

It is important to keep the figures used in these conversions up to date. Data for the exchange rates is kept at {{INRConvert/CurrentRate}}. Data for the inflation rate is at {{Inflation/IN/dataset}}. Feel free to up date these if you are able.