틀:INRConvert/설명문서

__NOTOC__
인도 루피를 타국 통화 (기본값: 미국 달러)로 자동 환산하는 틀입니다. 
과거의 통화량을 인플레이션을 적용하여 환산할 수도 있습니다. 환율과 인플레이션율은 편집자가 수동으로 복사해야 아므로 실시간 수치를 반영한 것이 아니며, 가장 최근에 업데이트된 수치를 기반으로 합니다.

**사용법**

**변수**
이 틀의 변수는 다음과 같습니다.

**Examples**

**Precautions**
Using the year causes the calling page's Highest expansion depth to be very high, typically at least 33. The limit is 40. Take particular care using year when calling this template from within other templates, as this will further increase the template expansion depth of Wikipedia pages that call templates that call this one.

**Updating**
It is important to keep the figures used in these conversions up to date.  Data for current exchange rates is kept at INRConvert/CurrentRate. Data for historical exchange rates are kept at INRConvert/HistoricalRate. Data for the inflation rate is at Inflation/IN/dataset (see Template:Inflation#Developer documentation for details). Feel free to update these if you are able to.

**See also**
To USD leverages INRConvert/HistoricalRate.

**Summary**
{
	"params": {
		"1": {
			"label": "Rupee value",
			"description": "The value, in Indian Rupees, that needs to be converted.  The template will not accept pre-formatted values (i.e. 1,234).",
			"example": "500000000",
			"required": true,
			"type": "number"
		},
		"2": {
			"label": "Currency formatting",
			"description": "Use this to represent larger numbers such as crores, billions et al.",
			"example": "c, lc, b, m, k",
			"suggested": true,
			"type": "string",
			"suggestedvalues": 
				"b",
				"c",
				"k",
				"l",
				"lc",
				"m",
				"t"
			
		},
		"3": {
			"label": "Rounding digits",
			"description": "Used to round significant digits. 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.",
			"example": "0",
			"type": "number",
			"default": "2"
		},
		"lk": {
			"label": "Linking",
			"description": "Gives the option to whether link currency (Rupees, Paise) and/or number names (crores, lakhs)",
			"suggested": true,
			"example": "on, off, l, c, lc, b, t (Default: off)",
			"type": "string",
			"suggestedvalues": 
				"on",
				"off",
				"l",
				"c",
				"lc",
				"b",
				"t"
			
		},
		"year": {
			"description": "This parameter allows for inflation. Historic rupee values will be inflated to current values then converted.",
			"example": "2015",
			"label": "Year",
			"suggested": true,
			"type": "number"
		},
		"to": {
			"description": "This parameter allows for conversion to various different currencies (and some combinations).  The US (default), Canadian, NZ and Australian dollars, the euro, the UK pound and the Bangladeshi taka are supported.",
			"example": "USD, EUR",
			"default": "USD",
			"label": "To",
			"type": "string"
		},
		"mode": {
			"description": "This parameter allows for the control of the output mode. Currently, blank (default) and historical are supported. In historical mode, conversions are performed using a historical exchange rate, for the year supplied. Years between 1970 and 2018 are supported, for XDR, USD (default), GBP, JPY, DEM (until 1998) and EUR (from 1999).",
			"example": "historical",
			"default": "(blank)",
			"label": "Mode",
			"type": "string"
		}
	},
	"paramOrder": 
		"1",
		"2",
		"lk",
		"year",
		"to",
		"3",
		"mode"
	,
	"description": "Template calculates a value of Indian Rupees, which you can enter, to another currency and then presents the results.",
	"format": "inline"
}