ᱪᱷᱟᱸᱪ:INR/doc
This is a documentation subpage for ᱪᱷᱟᱸᱪ:INR. It contains usage information, categories and other content that is not part of the original ᱪᱷᱟᱸᱪ page. |
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.
Usage
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]Example:
Link
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]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:
Inflation calculation
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]Do not assume that using this template will mean that a calculated value is "current", "as of ᱒᱐᱒᱔", "as of Expression error: ᱵᱟᱝ ᱧᱮᱞ ᱴᱷᱤᱠᱚᱜᱠᱟᱱ ᱪᱤᱱᱦᱟᱹ ᱠᱚ "᱒"." or even necessarily "recent". Do not use {{CURRENTYEAR}} to refer to calculated value, instead {{Inflation/year|IN}} may be used. See also . |
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/startyear ≤ year
< ᱪᱷᱟᱸᱪ: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.
Examples:
- {{₹|100|Expression error: ᱵᱟᱝ ᱧᱮᱞ ᱴᱷᱤᱠᱚᱜᱠᱟᱱ ᱪᱤᱱᱦᱟᱹ ᱠᱚ "[".}} →
- {{₹|100|ᱪᱷᱟᱸᱪ:Inflation/IN/startyear}} →
- {{₹|100|1990}} →
- {{₹|100|1990|link=yes}} →
- {{₹|100|Expression error: ᱵᱟᱝ ᱧᱮᱞ ᱴᱷᱤᱠᱚᱜᱠᱟᱱ ᱪᱤᱱᱦᱟᱹ ᱠᱚ "[".}} →
- {{₹|100|ᱪᱷᱟᱸᱪ:Inflation/year}} →
- {{₹|100|᱒᱐᱒᱔}} →
- {{₹|100|Expression error: ᱵᱟᱝ ᱧᱮᱞ ᱴᱷᱤᱠᱚᱜᱠᱟᱱ ᱪᱤᱱᱦᱟᱹ ᱠᱚ "᱒".}} →
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}} →
- {{₹|10|1990|round=0}} →
- {{₹|10|1990|about=yes}} →
- {{₹|1000|1990|round=2}} →
- {{₹|1000|1990|round=-2}} →
- {{₹|1000|1990|round=-2|about=yes}} →
Redirects here
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]- Template:₹
- Template:INR
- Template:India Rs
- Template:Indian Rupee symbol
- Template:Indian Rupees
- Template:Indian rupee
See also
[ᱯᱷᱮᱰᱟᱛ ᱥᱟᱯᱲᱟᱣ]- Template:INRConvert: To automatically convert and format currency from Indian Rupees (Rs.) to United States Dollars. (US$) for use on India-related articles on Wikipedia or wherever appropriate.
- Template:AUD
- Template:BDT
- Template:CAD
- Template:CNY
- Template:JPY
- Template:US$