Template:INRConvert/doc: Difference between revisions

m
1 revision
m (1 revision)
 
m (1 revision)
 
(3 intermediate revisions by the same user not shown)
Line 17: Line 17:


|-
|-
|<code>'''rupee_value'''</code> ||mandatory||The value, in [[Indian Rupee]]s, that needs to be converted.  The template will not accept pre-formatted values (ie. 1,234)
|<code>'''rupee_value'''</code> ||mandatory||The value, in [[Indian Rupee]]s, that needs to be converted.  The template will not accept pre-formatted values (i.e. 1,234)
|-
|-
|<code>'''currency_formatting'''</code>||optional ||Used to represent larger numbers.  Available options include :<br />
|<code>'''currency_formatting'''</code>||optional ||Used to represent larger numbers.  Available options include :
* <code>k</code> &ndash; to represent thousand(s)
* <code>k</code> &ndash; to represent thousand(s)
* <code>l</code> &ndash; to represent lakh(s)
* <code>l</code> &ndash; to represent lakh(s)
Line 32: Line 32:
|<code>'''rounding_digits'''</code> ||optional ||Used to round [[significant digit]]s.  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.<br />Refer to the [[Template:INRConvert#Examples|Examples section]] below for more examples.
|<code>'''rounding_digits'''</code> ||optional ||Used to round [[significant digit]]s.  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.<br />Refer to the [[Template:INRConvert#Examples|Examples section]] below for more examples.
|-
|-
|<code>'''nolink'''</code> ||optional ||This parameter gives you the option of not internally linking currency names (Rupees and paise) and number names (lakh and crore).  By default, the parameter is set to "no" (ie. it is set to link).  Currency and number names will be displayed with no links when the parameter is set to "yes".  Per [[WP:OVERLINK]] the currencies converted to are not linked.
|<code>'''nolink'''</code> ||optional ||This parameter gives you the option of not internally linking currency names (Rupees and paise) and number names (lakh and crore).  By default, the parameter is set to "no" (i.e. it is set to link).  Currency and number names will be displayed with no links when the parameter is set to "yes".  Per [[SV:OVERLINK]] the currencies converted to are not linked.
|-
|-
|<code>'''year'''</code> ||optional ||This parameter allows for inflation.  Historic rupee values will be inflated to current values then converted.   
|<code>'''year'''</code> ||optional ||This parameter allows for inflation.  Historic rupee values will be inflated to current values then converted.   
14,070

edits