வார்ப்புரு:இந்திய ரூபாய்/doc
{{Documentation subpage}}
 &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;
 
 This is a multifunction template. At its simplest, it adds the currency mark &quot;₹&quot;, as recommended by [[MOS:CURRENCY]] for many situations. The template can also link to the [[Indian rupee]] article and can even calculate inflation. &lt;em&gt;See warnings below.&lt;/em&gt;
 
 == Usage ==
 {{tlxi|₹|value}}
 
 Example:
 * {{tld|₹}} → {{₹}}
 * {{tld|₹|123.45}} → {{₹|123.45}}
 
 === Link ===
 The parameter {{para|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:
 * {{tld|₹|123.45|3=link=yes}} → {{₹|123.45|link=yes}}
 
 === Inflation calculation ===
 {{ombox |type= content |imageright= [[File:Emblem-money.svg|42px]] |text= This template is &lt;strong&gt;only capable&lt;/strong&gt; of inflating Consumer Price Index values: staples, workers' rent, small service bills (doctor's costs, train tickets). This template is &lt;strong&gt;incapable&lt;/strong&gt; of inflating capital expenses, government expenses, or the personal wealth and expenditure of the rich. &lt;strong&gt;Incorrect use of this template would constitute original research. If you do not have economic training, then please consult someone who does before using this template.&lt;/strong&gt;}}
 {{ombox |type= content |imageright= [[File:Current event warning.svg|42px]] |text= &lt;strong&gt;Do not assume that using this template will mean that a calculated value is &lt;em&gt;&quot;current&quot;&lt;/em&gt;&lt;/strong&gt;, &lt;em&gt;&quot;as of {{CURRENTYEAR}}&quot;&lt;/em&gt;, &lt;em&gt;&quot;as of {{#expr:{{CURRENTYEAR}}-1}}&quot;&lt;/em&gt; or even necessarily &lt;em&gt;&quot;recent&quot;&lt;/em&gt;. Do not use &lt;code&gt;&lt;nowiki&gt;{{CURRENTYEAR}}&lt;/nowiki&gt;&lt;/code&gt; to refer to calculated value, instead {{tlx|Inflation/year|IN}} may be used. See also [[MOS:REALTIME]].}}
 
 The template supports inflation calculation, by way of {{tlx|Inflation}}. If the second parameter is used, to specify a year, and this year is within a certain range of available inflation data (specifically, {{nowrap|if {{Inflation/IN/startyear}} ≤ &lt;code&gt;{{var|year}}&lt;/code&gt; &lt; {{Inflation/year|IN}}}}), the equivalent value represented in {{Inflation/year|IN}} rupees will be calculated in parentheses. However, this function should only be used in appropriate situations.
 
 * {{tlx|₹|{{var|value}}|{{var|year}}}}
 * {{tlx|₹|{{var|value}}|{{var|year}}|4=round={{var|round}}|5=about=yes}}
 
 Examples:
 * {{tld|₹|100|{{#expr:{{Inflation/IN/startyear}}-1}}}} → {{₹|100|{{#expr:{{Inflation/IN/startyear}}-1}}}}
 * {{tld|₹|100|{{Inflation/IN/startyear}}}} → {{₹|100|{{Inflation/IN/startyear}}}}
 * {{tld|₹|100|1990}} → {{₹|100|1990}}
 * {{tld|₹|100|1990|4=link=yes}} → {{₹|100|1990|link=yes}}
 * {{tld|₹|100|{{#expr:{{Inflation/year|IN}}-1}}}} → {{₹|100|{{#expr:{{Inflation/year|IN}}-1}}}}
 * {{tld|₹|100|{{Inflation/year|IN}}}} → {{₹|100|{{Inflation/year|IN}}}}
 * {{tld|₹|100|{{CURRENTYEAR}}}} → {{₹|100|{{CURRENTYEAR}}}}
 * {{tld|₹|100|{{#expr:{{CURRENTYEAR}}+1}}}} → {{₹|100|{{#expr:{{CURRENTYEAR}}+1}}}}
 
 Additional parameter {{para|about|yes}} will cause the template to calculate to the nearest rupee (instead of the nearest paisa), and prefix the calculated value with &quot;about&quot;. The rounding can be fine-tuned further by using {{para|round|{{var|integer}}}}. These parameters may be combined.
 
 Examples:
 * {{tld|₹|10|1990}} → {{₹|10|1990}}
 * {{tld|₹|10|1990|4=round=0}} → {{₹|10|1990|round=0}}
 * {{tld|₹|10|1990|4=about=yes}} → {{₹|10|1990|about=yes}}
 * {{tld|₹|1000|1990|4=round=2}} → {{₹|1000|1990|round=2}}
 * {{tld|₹|1000|1990|4=round=-2}} → {{₹|1000|1990|round=-2}}
 * {{tld|₹|1000|1990|4=round=-2|5=about=yes}} → {{₹|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 [[foreign currency|currency]] from [[Indian Rupee]]s (Rs.) to [[United States Dollar]]s. (US$) for use on [[India]]-related articles on Wikipedia or wherever appropriate.
 * [[Template:AUD]]
 * [[Template:BDT]]
 * [[Template:CAD]]
 * [[Template:CNY]]
 * [[Template:JPY]]
 * [[Template:US$]]
 
 &lt;includeonly&gt;
 &lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&gt;
 {{DEFAULTSORT:INR}}
 [[Category:Indian economy templates]]
 [[Category:Currency templates]]
 [[Category:Currencies of India|τ]]
 [[Category:Unit indicator templates]]
 
 [[fr:Modèle:Roupie indienne]]