قالب:INRConvert/شرح

من ويكيبيديا، الموسوعة الحرة


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.

الاستخدام[عدل]

{{INRConvert|rupee_value|currency_formatting|rounding digits|nolink=(yes/no)|to=|year=}}

المعلمات[عدل]

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 (ie. 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 عدد معنويs. 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" (ie. it is set to link). Currency and number names will be displayed with no links when the parameter is set to "yes". Per ويكيبيديا:دليل الأسلوب/وصلات 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.

أمثلة[عدل]

INRConvert syntax Results
{{INRConvert|1}} 1 روبية هندية (1٫7 ¢ US)
{{INRConvert|500}} 500 روبية هندية (8٫30 دولار أمريكي)
{{INRConvert|0.05}} 5 paise (0٫083 ¢ US)
{{INRConvert|0.01}} 1 paisa (0٫017 ¢ US)
{{INRConvert|0.86}} 86 paise (1٫4 ¢ US)
{{INRConvert|30|m}} 30 مليون روبية هندية (500٬000 دولار أمريكي)
{{INRConvert|0.72|m}} 0.72 مليون روبية هندية (12٬000 دولار أمريكي)
{{INRConvert|36|b}} 36 مليار روبية هندية (600 مليون دولار أمريكي)
{{INRConvert|36|b|-2}} 36 مليار روبية هندية (600 مليون دولار أمريكي)
{{INRConvert|80|B}} 0.80 مليار روبية هندية (13 مليون دولار أمريكي)
{{INRConvert|32|t}} 32 ترليون روبية هندية (530 مليار دولار أمريكي)
{{INRConvert|400|c}} 400 كرور روبية هندية (66 مليون دولار أمريكي)
{{INRConvert|400|c|0}} 400 كرور روبية هندية (66 مليون دولار أمريكي)
{{INRConvert|19|k}} 19٬000 روبية هندية (320 دولار أمريكي)
{{INRConvert|53|m|0|nolink=yes}} 53 مليون روبية هندية (879٬800 دولار أمريكي)
{{INRConvert|123|k|year=1990}} 123٬000 روبية هندية (تعادل INR620٬000 أو 10٬000 دولار أمريكي في 2024)
{{INRConvert|319|to=GBP}} 319 روبية هندية (3٫20 £)
{{INRConvert|753|m|year=2000|to=USD EUR}} 753 مليون روبية هندية (تعادل INR1٫8 مليار, 29 مليون دولار أمريكي أو 22 مليون € في 2024)

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 {{تضخم/الهند/بيانات}}. Feel free to up date these if you are able.