Template:BDTConvert

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search


<templatedata> { "params": { "1": { "label": "Taka value", "description": "The value, in Bangladeshi takas, that needs to be converted. The template will not accept pre-formatted values", "type": "number", "required": true }, "2": { "label": "Currency formatting", "description": "Used to represent larger numbers. Available options are: 'k' to represent thousands, 'l' to represent lakhs, 'c' to represent crores, 'm' to represent millions, 'b' to represent billions, 't' to represent trillions.", "type": "string", "suggestedvalues": [ "k", "l", "c", "m", "b", "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.", "type": "number" }, "nolink": { "label": "No link", "description": "This parameter gives you the option of not internally linking currency names (taka and paise) and number names (lakh and crore)", "type": "boolean", "default": "no" }, "year": { "label": "Year", "description": "This parameter allows for inflation. Historic taka values will be inflated to current values then converted.", "type": "number" }, "to": { "label": "To", "description": "This parameter allows for conversion to various different currencies (and some combinations). The US, Canadian, NZ and Australian dollars, the euro, the UK pound and the Bangladeshi taka are supported.", "example": "USD EUR", "type": "string", "default": "USD" } } } </templatedata>