Predloga:Indijska rupija

Iz Wikipedije, proste enciklopedije

INR

Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]
Ustrezna razprava naPogovor o predlogi:Valuta

This is a multifunction template. At its simplest, it adds the currency mark "₹", as recommended by MOS:CURRENCY for many situations. The template can also link to the Indian rupee article and can even calculate inflation. See warnings below.

Usage[uredi kodo]

{{|value}}

Example:

  • {{₹}}INR
  • {{₹|123.45}}INR123,45

Link[uredi kodo]

The parameter |link=yes may be used to link ₹ to the article Indian rupee. This is turned off by default, but may be appropriate for the first occurrence of the term in an article.

Example:

  • {{₹|123.45|link=yes}}INR123,45

Inflation calculation[uredi kodo]

The template supports inflation calculation, by way of {{Inflation}}. If the second parameter is used, to specify a year, and this year is within a certain range of available inflation data (specifically, if 1595 ≤ year < 2020), the equivalent value represented in 2020 rupees will be calculated in parentheses. However, this function should only be used in appropriate situations.

  • {{|value|year}}
  • {{|value|year|round=round|about=yes}}

Examples:

  • {{₹|100|1594}}INR100
  • {{₹|100|1595}}INR100 (equivalent to ₹132.224 in 2020)
  • {{₹|100|1990}}INR100 (equivalent to ₹83.314 in 2020)
  • {{₹|100|1990|link=yes}}INR100 (equivalent to ₹83.314 in 2020)
  • {{₹|100|2019}}INR100 (equivalent to ₹10.558 in 2020)
  • {{₹|100|2020}}INR100
  • {{₹|100|2024}}INR100
  • {{₹|100|2025}}INR100

Additional parameter |about=yes will cause the template to calculate to the nearest rupee (instead of the nearest paisa), and prefix the calculated value with "about". The rounding can be fine-tuned further by using |round=integer. These parameters may be combined.

Examples:

  • {{₹|10|1990}}INR10 (equivalent to ₹8.331 in 2020)
  • {{₹|10|1990|round=0}}INR10 (equivalent to ₹83 in 2020)
  • {{₹|10|1990|about=yes}}INR10 (equivalent to about ₹83 in 2020)
  • {{₹|1000|1990|round=2}}INR1.000 (equivalent to ₹833.142 in 2020)
  • {{₹|1000|1990|round=-2}}INR1.000 (equivalent to ₹8.300 in 2020)
  • {{₹|1000|1990|round=-2|about=yes}}INR1.000 (equivalent to about ₹8.300 in 2020)

Redirects here[uredi kodo]

See also[uredi kodo]

TemplateData[uredi kodo]

To je dokumentacija TemplateData za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Indijska rupija

Ni opisa.

Parametri predloge[Urejanje podatkov predloge]

ParameterOpisVrstaStanje
Rupee value1

brez opisa

Zgled
123.45
Številkaneobvezno
22

brez opisa

Neznanoneobvezno
Linklink

This param is used to link ₹ to the article [[Indian rupee]]

Predlagane vrednosti
yes
Privzeto
no
Nizneobvezno
yearyear

brez opisa

Neznanoneobvezno
Aboutabout

The parameter will cause the template to calculate to the nearest rupee (instead of the nearest paisa), and prefix the calculated value with "about".

Predlagane vrednosti
yes
Zgled
yes
Neznanoneobvezno
Roundinground

The rounding can be fine-tuned further by using this parameter

Zgled
2, -2
Številkaneobvezno