Jump to content

ᱪᱷᱟᱸᱪ:INR/doc

ᱣᱤᱠᱤᱯᱤᱰᱤᱭᱟ, ᱨᱟᱲᱟ ᱜᱮᱭᱟᱱ ᱯᱩᱛᱷᱤ ᱠᱷᱚᱱ

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

ᱪᱷᱟᱸᱪ:Tlxi

Example:

  • {{₹}}Indian Rupee ₹
  • {{₹|123.45}}Indian Rupee ₹

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}}Indian Rupee ₹

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 ᱪᱷᱟᱸᱪ:Inflation/IN/startyearyear < ᱪᱷᱟᱸᱪ:Inflation/year), the equivalent value represented in ᱪᱷᱟᱸᱪ:Inflation/year 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|Expression error: ᱵᱟᱝ ᱧᱮᱞ ᱴᱷᱤᱠᱚᱜᱠᱟᱱ ᱪᱤᱱᱦᱟᱹ ᱠᱚ "[".}}Indian Rupee ₹
  • {{₹|100|ᱪᱷᱟᱸᱪ:Inflation/IN/startyear}}Indian Rupee ₹
  • {{₹|100|1990}}Indian Rupee ₹
  • {{₹|100|1990|link=yes}}Indian Rupee ₹
  • {{₹|100|Expression error: ᱵᱟᱝ ᱧᱮᱞ ᱴᱷᱤᱠᱚᱜᱠᱟᱱ ᱪᱤᱱᱦᱟᱹ ᱠᱚ "[".}}Indian Rupee ₹
  • {{₹|100|ᱪᱷᱟᱸᱪ:Inflation/year}}Indian Rupee ₹
  • {{₹|100|᱒᱐᱒᱔}}Indian Rupee ₹
  • {{₹|100|Expression error: ᱵᱟᱝ ᱧᱮᱞ ᱴᱷᱤᱠᱚᱜᱠᱟᱱ ᱪᱤᱱᱦᱟᱹ ᱠᱚ "᱒".}}Indian Rupee ₹

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}}Indian Rupee ₹
  • {{₹|10|1990|round=0}}Indian Rupee ₹
  • {{₹|10|1990|about=yes}}Indian Rupee ₹
  • {{₹|1000|1990|round=2}}Indian Rupee ₹
  • {{₹|1000|1990|round=-2}}Indian Rupee ₹
  • {{₹|1000|1990|round=-2|about=yes}}Indian Rupee ₹