틀:INRConvert/설명문서
이 문서는 틀:INRConvert에 대한 설명입니다. 여기에는 틀 사용법, 분류 등 원래의 틀 문서에는 포함되지 않는 내용을 담고 있습니다. |
이 틀은 구조가 복잡하고, 많은 기능을 포함하고 있습니다. 틀의 구조를 충분히 이해하기 전까지는 이 틀을 바꾸지 마시고, 편집 후 문제가 생기면 바로 되돌리기 해 주세요. 틀의 시험은 /시험장에서 해볼 수 있습니다. |
인도 루피를 타국 통화 (기본값: 미국 달러)로 자동 환산하는 틀입니다.
과거의 통화량을 인플레이션을 적용하여 환산할 수도 있습니다. 환율과 인플레이션율은 편집자가 수동으로 복사해야 아므로 실시간 수치를 반영한 것이 아니며, 가장 최근에 업데이트된 수치를 기반으로 합니다.
사용법
편집{{INRConvert|rupee_value|currency_formatting|rounding digits|lk=|to=|year=}}
변수
편집이 틀의 변수는 다음과 같습니다.
변수명 | 필수여부 | 설명 |
rupee_value |
필수 | 환산하려는 인도 루피화 수량을 입력해 주세요. 순수 숫자만 입력해야 하며, 다른 표기법 (예:. 1,234)은 작동하지 않습니다. |
currency_formatting |
선택 | 큰 단위의 수를 입력할 때 사용합니다. 다음 입력값 중에서 사용할 수 있습니다. |
rounding_digits |
선택 | 유효수를 반올림하는 데 사용합니다. 음수값 (-2, -3)으로 100, 1000단위로 반올림할 수 있습니다. 값을 '0'으로 두면 소수점 아래 파이스, 센트 단위가 사라집니다. 기본값은 유효수 2개로 반올림하는 것으로 설정되어 있습니다. 예시는 아래 #예시 항목 참조. |
lk |
optional | This parameter gives you the option of internally linking currency names (rupees and paise) and/or number names (lakh and crore). By default, the parameter is set to "off" (i.e. it is set not to link). Available options are as follows.
|
year |
optional | This parameter allows for inflation. Historic rupee values will be inflated to current values then converted. |
to |
optional | This parameter allows for conversion to various different currencies (and some combinations). Currently, the US (default), Canadian, Australian and New Zealand dollars, the euro, the pound sterling, Pakistani rupee and the Bangladeshi taka are supported. |
mode |
optional | This parameter controls the output mode. Setting it to blank or omitting it results in the default mode. Setting it to historical allows conversion using historical exchange rates. The year parameter must be between 1970 and 2018 in historical mode.
|
Examples
편집INRConvert syntax | Results |
---|---|
{{INRConvert|1}} |
₹1 (1.3센트) |
{{INRConvert|500}} |
₹500 (6.30 달러) |
{{INRConvert|0.05|lk=on}} |
5파이스 (0.063센트) |
{{INRConvert|0.01}} |
1파이사 (0.013센트) |
{{INRConvert|0.86}} |
86파이스 (1.1센트) |
{{INRConvert|30|m}} |
₹3000만 (380,000 달러) |
{{INRConvert|0.72|m}} |
₹0.7200만 (9,000 달러) |
{{INRConvert|36|b}} |
₹3600만 (45000만 달러) |
{{INRConvert|36|b|-2}} |
₹3600만 (미화 50000만 달러) |
{{INRConvert|80|b|lk=b}} |
₹8000만 (1.00억 달러) |
{{INRConvert|32|t|lk=r}} |
₹32조 (4000억 달러) |
{{INRConvert|40000|c|lk=on}} |
₹40,000크로르 (5.00억 달러) |
{{INRConvert|40000|c|0}} |
₹40,000크로르 (미화 50억 달러) |
{{INRConvert|19|k}} |
₹19,000 (240 달러) |
{{INRConvert|53|m|0}} |
₹5300만 (미화 663,738달러) |
{{INRConvert|123|k|year=1990}} |
₹123,000 (equivalent to ₹ Formatting error: invalid input when rounding or Formatting error: invalid input when rounding in 2020) |
{{INRConvert|319|to=GBP}} |
₹319 (3.30 £) |
{{INRConvert|753|m|year=2000|to=USD EUR}} |
₹75300만 (equivalent to ₹ Formatting error: invalid input when rounding, Formatting error: invalid input when rounding or Formatting error: invalid input when rounding in 2020) |
{{INRConvert|324|c|year=2000|to=EUR|mode=historical}} |
₹324크로르 (€78.08 million) |
{{INRConvert|240|c|year=2001}} |
₹240크로르 (equivalent to ₹ Formatting error: invalid input when rounding or Formatting error: invalid input when rounding in 2020) |
{{INRConvert|240|c|0|year=2001}} |
₹240크로르 (equivalent to ₹ Formatting error: invalid input when rounding or 수식 오류: 예상치 못한 < 연산자입니다. in 2020) |
{{INRConvert|240|c|lk=on|year=2001}} |
₹240크로르 (equivalent to ₹ Formatting error: invalid input when rounding or Formatting error: invalid input when rounding in 2020) |
{{INRConvert|240|c|0|lk=on|year=2001}} |
₹240크로르 (equivalent to ₹ Formatting error: invalid input when rounding or 수식 오류: 예상치 못한 < 연산자입니다. in 2020) |
{{INRConvert|240|c|year=2001|0}} |
₹240크로르 (equivalent to ₹ Formatting error: invalid input when rounding or 수식 오류: 예상치 못한 < 연산자입니다. in 2020) |
{{INRConvert|240|year=2001|c}} |
₹240크로르 (equivalent to ₹ Formatting error: invalid input when rounding or Formatting error: invalid input when rounding in 2020) |
{{INRConvert|240|year=2001|c|0}} |
₹240크로르 (equivalent to ₹ Formatting error: invalid input when rounding or 수식 오류: 예상치 못한 < 연산자입니다. in 2020) |
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
편집Template calculates a value of Indian Rupees, which you can enter, to another currency and then presents the results.
변수 | 설명 | 형식 | 상태 | |
---|---|---|---|---|
Rupee value | 1 | The value, in Indian Rupees, that needs to be converted. The template will not accept pre-formatted values (i.e. 1,234).
| 숫자 | 필수 |
Currency formatting | 2 | Use this to represent larger numbers such as crores, billions et al.
| 문자열 | 제안 |
Linking | lk | Gives the option to whether link currency (Rupees, Paise) and/or number names (crores, lakhs)
| 문자열 | 제안 |
Year | year | This parameter allows for inflation. Historic rupee values will be inflated to current values then converted.
| 숫자 | 제안 |
To | to | 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.
| 문자열 | 선택 사항 |
Rounding digits | 3 | 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.
| 숫자 | 선택 사항 |
Mode | mode | 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).
| 문자열 | 선택 사항 |