This is a documentation subpage for Template:AUDConvert. It contains usage information, categories and other content that is not part of the original template page. |
Purpose
The purpose of this template is to automatically convert and format Australian dollars applying adjustment for inflation where appropriate. Rates of exchange and inflation must be manually copied by editors in the supporting templates therefore this template's output does not necessarily reflect the present exchange rates or price indices but, rather, reflects the rates and indices at the time of the last update.
The default target currency (USD at present) may change in the future.
The possibility of converting to other target currencies in the future is left open, hence the general name of this template.
Usage
{{AUDConvert|value|currency_units|year=|to=|r=|force=|lk=|exact=|showdate=|ref=|mode=|convert=}}
Parameters
A description of the template's parameters are listed below.
Field name | Usage | Example | Description |
value |
mandatory | 10000.01 | The value, in the country_code currency, that needs to be converted. The template will not accept pre-formatted values (i.e. 1,234). |
currency_units |
optional | m | Used to represent smaller or larger numbers. Available options are as follows.
The Indian units can be applied to any currency. |
lk |
optional | lk=on | This parameter gives you the option of internally linking currency names (paise, which is generalized here to mean cents in the source currency) and/or number names (billion, trillion, lakh, crore). By default, the parameter is set to "off" (i.e. it is set not to link). Available options are as follows.
|
year |
optional | year=2002 | This parameter allows entering values from previous years. The year will be displayed and historic values will be inflated to the latest year available in {{Inflation}} if index is also provided then converted by {{ToUSD}}. If no index name is present, the conversion will be attempted for the year indicated (but see force ). If year is not provided, just a conversion will be performed at the most current rate available.
|
to |
optional | to=EUR | This parameter allows for conversion to various different currencies. Currently, the USD (default) and the euro are supported. |
r |
optional | r=3 | Sets the digits to which the results must be rounded. A negative value indicates rounding to an upper significant digit, and a positive value indicates a fractional digit including trailing zeros. Defaults to 2 .
|
force |
optional | force=yes | This parameter allows to force a conversion at the most current rate available when data is lacking for the provided year when its value is yes .
|
exact |
optional | exact=source | This provides some control over formatting. source requests to display the input value normally (in American fashion) after applying the units. on does this for both the input and result values. Otherwise all values will be displayed as per {{Format price}}.
|
showdate |
optional | showdate=no | This allows to disable displaying the original year. |
ref |
optional | ref=<ref>some wikitext ref</ref> | This allows displaying one or more references next to the original value. Each one must consist of a ref wikitext element. |
mode |
optional | mode=historical | 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.
|
convert |
optional | convert=no | This parameter controls the currency conversion. Setting it to blank or omitting it results in the default mode. Setting it to no disables it.
|
Examples
AUDConvert syntax | Results |
---|---|
{{AUDConvert|1|ct|lk=on}} |
A$0.01 (US$0.01) |
{{AUDConvert|10|ct}} |
A$0.1 (US$0.07) |
{{AUDConvert|1|ct|exact=source}} |
A$0.01 (US$0.01) |
{{AUDConvert|10|ct|exact=source}} |
A$0.1 (US$0.07) |
{{AUDConvert|1|ct|exact=on}} |
A$0.01 (US$0.01) |
{{AUDConvert|10|ct|exact=on}} |
A$0.1 (US$0.07) |
{{AUDConvert|1|ct|year=2002}} |
A$0.01 (2002) (equivalent to A$0.01 or US$0.01 in 2018)[1] |
{{AUDConvert|10|ct|year=2002}} |
A$0.1 (2002) (equivalent to A$0.15 or US$0.12 in 2018)[1] |
{{AUDConvert|1|ct|year=2002|mode=historical}} |
A$0.01 (2002) (US$0.01) |
{{AUDConvert|10|ct|year=2002|mode=historical}} |
A$0.1 (2002) (US$0.05) |
{{AUDConvert|1|ct|year=2002|lk=on}} |
A$0.01 (2002) (equivalent to A$0.01 or US$0.01 in 2018)[1] |
{{AUDConvert|10|ct|year=2002|lk=on}} |
A$0.1 (2002) (equivalent to A$0.15 or US$0.12 in 2018)[1] |
{{AUDConvert|1|ct|year=2002|exact=on}} |
A$0.01 (2002) (equivalent to A$0.01 or US$0.01 in 2018)[1] |
{{AUDConvert|10|ct|year=2002|exact=on}} |
A$0.1 (2002) (equivalent to A$0.15 or US$0.12 in 2018)[1] |
{{AUDConvert|1|ct|lk=on|convert=no}} |
A$0.01 |
{{AUDConvert|10|ct|convert=no}} |
A$0.1 |
{{AUDConvert|1|ct|exact=source|convert=no}} |
A$0.01 |
{{AUDConvert|10|ct|exact=source|convert=no}} |
A$0.1 |
{{AUDConvert|1|ct|exact=on|convert=no}} |
A$0.01 |
{{AUDConvert|10|ct|exact=on|convert=no}} |
A$0.1 |
{{AUDConvert|1|ct|year=2002|convert=no}} |
A$0.01 (2002) (equivalent to A$0.01 in 2018)[1] |
{{AUDConvert|10|ct|year=2002|convert=no}} |
A$0.1 (2002) (equivalent to A$0.15 in 2018)[1] |
{{AUDConvert|1|ct|year=2002|mode=historical|convert=no}} |
A$0.01 (2002) |
{{AUDConvert|10|ct|year=2002|mode=historical|convert=no}} |
A$0.1 (2002) |
{{AUDConvert|1|ct|year=2002|lk=on|convert=no}} |
A$0.01 (2002) (equivalent to A$0.01 in 2018)[1] |
{{AUDConvert|10|ct|year=2002|lk=on|convert=no}} |
A$0.1 (2002) (equivalent to A$0.15 in 2018)[1] |
{{AUDConvert|1|ct|year=2002|exact=on|convert=no}} |
A$0.01 (2002) (equivalent to A$0.01 in 2018)[1] |
{{AUDConvert|10|ct|year=2002|exact=on|convert=no}} |
A$0.1 (2002) (equivalent to A$0.15 in 2018)[1] |
{{AUDConvert|1}} |
A$1 (US$0.72) |
{{AUDConvert|1|k}} |
A$1,000 (US$715.21) |
{{AUDConvert|1|m}} |
A$1 million (US$715,205.26) |
{{AUDConvert|1|b|lk=on}} |
A$1 billion (US$715.21 million) |
{{AUDConvert|1|t|lk=on}} |
A$1 trillion (US$715.21 billion) |
{{AUDConvert|1|exact=source}} |
A$1 (US$0.72) |
{{AUDConvert|1|k|exact=source}} |
A$1,000 (US$715.21) |
{{AUDConvert|1|m|exact=source}} |
A$1,000,000 (US$715,205.26) |
{{AUDConvert|1|b|exact=source}} |
A$1,000,000,000 (US$715.21 million) |
{{AUDConvert|1|t|exact=source}} |
A$1,000,000,000,000 (US$715.21 billion) |
{{AUDConvert|1|exact=on}} |
A$1 (US$0.72) |
{{AUDConvert|1|k|exact=on}} |
A$1,000 (US$715.21) |
{{AUDConvert|1|m|exact=on}} |
A$1,000,000 (US$715,205.26) |
{{AUDConvert|1|b|exact=on}} |
A$1,000,000,000 (US$715,205,263.91) |
{{AUDConvert|1|t|exact=on}} |
A$1,000,000,000,000 (US$715,205,263,910.74) |
{{AUDConvert|1|year=2002}} |
A$1 (2002) (equivalent to A$1.47 or US$1.14 in 2018)[1] |
{{AUDConvert|1|k|year=2002}} |
A$1,000 (2002) (equivalent to A$1,474.41 or US$1,142.86 in 2018)[1] |
{{AUDConvert|1|m|year=2002}} |
A$1 million (2002) (equivalent to A$1.47 million or US$1.14 million in 2018)[1] |
{{AUDConvert|1|b|year=2002}} |
A$1 billion (2002) (equivalent to A$1.47 billion or US$1.14 billion in 2018)[1] |
{{AUDConvert|1|t|year=2002}} |
A$1 trillion (2002) (equivalent to A$1.47 trillion or US$1.14 trillion in 2018)[1] |
{{AUDConvert|1|year=2002|lk=on}} |
A$1 (2002) (equivalent to A$1.47 or US$1.14 in 2018)[1] |
{{AUDConvert|1|k|year=2002|lk=on}} |
A$1,000 (2002) (equivalent to A$1,474.41 or US$1,142.86 in 2018)[1] |
{{AUDConvert|1|m|year=2002|lk=on}} |
A$1 million (2002) (equivalent to A$1.47 million or US$1.14 million in 2018)[1] |
{{AUDConvert|1|b|year=2002|lk=on}} |
A$1 billion (2002) (equivalent to A$1.47 billion or US$1.14 billion in 2018)[1] |
{{AUDConvert|1|t|year=2002|lk=on}} |
A$1 trillion (2002) (equivalent to A$1.47 trillion or US$1.14 trillion in 2018)[1] |
{{AUDConvert|3.60}} |
A$3.6 (US$2.57) |
{{AUDConvert|360}} |
A$360 (US$257.47) |
{{AUDConvert|3600}} |
A$3,600 (US$2,574.74) |
{{AUDConvert|360000}} |
A$360,000 (US$257,473.9) |
{{AUDConvert|3600000}} |
A$3.6 million (US$2.57 million) |
{{AUDConvert|3.6|m}} |
A$3.6 million (US$2.57 million) |
{{AUDConvert|3650000}} |
A$3.65 million (US$2.61 million) |
{{AUDConvert|3.65|m}} |
A$3.65 million (US$2.61 million) |
{{AUDConvert|3650000|year=1914}} |
A$3.65 million (1914) (equivalent to A$217.2 million or US$168.36 million in 2018)[1] |
{{AUDConvert|3.65|m|year=1914}} |
A$3.65 million (1914) (equivalent to A$217.2 million or US$168.36 million in 2018)[1] |
{{AUDConvert|3650000|year=1914|exact=source}} |
A$3,650,000 (1914) (equivalent to A$217.2 million or US$168.36 million in 2018)[1] |
{{AUDConvert|3.65|m|year=1914|exact=source}} |
A$3,650,000 (1914) (equivalent to A$217.2 million or US$168.36 million in 2018)[1] |
{{AUDConvert|3650000|year=1914|force=yes}} |
A$3.65 million (1914) (equivalent to A$217.2 million or US$168.36 million in 2018)[1] |
{{AUDConvert|3.65|m|year=1914|force=yes}} |
A$3.65 million (1914) (equivalent to A$217.2 million or US$168.36 million in 2018)[1] |
{{AUDConvert|3650000|year=1914|force=yes|exact=on}} |
A$3,650,000 (1914) (equivalent to A$217,204,918.03 or US$168,362,854.07 in 2018)[1] |
{{AUDConvert|3.65|m|year=1914|force=yes|exact=on}} |
A$3,650,000 (1914) (equivalent to A$217,204,918.03 or US$168,362,854.07 in 2018)[1] |
{{AUDConvert|3650000|year=2002}} |
A$3.65 million (2002) (equivalent to A$5.38 million or US$4.17 million in 2018)[1] |
{{AUDConvert|3.65|m|year=2002}} |
A$3.65 million (2002) (equivalent to A$5.38 million or US$4.17 million in 2018)[1] |
{{AUDConvert|3650000|year=2002|exact=on}} |
A$3,650,000 (2002) (equivalent to A$5,381,600.32 or US$4,171,459.82 in 2018)[1] |
{{AUDConvert|3.65|m|year=2002|exact=on}} |
A$3,650,000 (2002) (equivalent to A$5,381,600.32 or US$4,171,459.82 in 2018)[1] |
{{AUDConvert|3650000|year=2002|exact=source}} |
A$3,650,000 (2002) (equivalent to A$5.38 million or US$4.17 million in 2018)[1] |
{{AUDConvert|3.65|m|year=2002|exact=source}} |
A$3,650,000 (2002) (equivalent to A$5.38 million or US$4.17 million in 2018)[1] |
{{AUDConvert|3650000|year=2002|exact=on}} |
A$3,650,000 (2002) (equivalent to A$5,381,600.32 or US$4,171,459.82 in 2018)[1] |
{{AUDConvert|3.65|m|year=2002|exact=on}} |
A$3,650,000 (2002) (equivalent to A$5,381,600.32 or US$4,171,459.82 in 2018)[1] |
{{AUDConvert|3600000|year=1962|ref=<ref name="qv">something1</ref>}} |
A$3.6 million (1962)[2] (equivalent to A$52.06 million or US$40.36 million in 2018)[1] |
{{AUDConvert|3600000|year=1962|ref=<ref name="qv">something1</ref><ref>something2</ref>}} |
A$3.6 million (1962)[2][3] (equivalent to A$52.06 million or US$40.36 million in 2018)[1] |
{{AUDConvert|3600000|year=2011|to=EUR|ref=<ref name="qv">something1</ref>}} |
A$3.6 million (2011)[2] (equivalent to A$4.11 million or €2.6 million in 2018)[1] |
{{AUDConvert|3600000|year=2011|to=EUR|showdate=no|ref=<ref name="qv">something1</ref>}} |
A$3.6 million[2] (equivalent to A$4.11 million or €2.6 million in 2018)[1] |
- ^ a b c d e f g h i j k l m n o p q r s t u v w x y z aa ab ac ad ae af ag ah ai aj ak al am an ao ap 1850-1899: McLean, I.W. (1999), Consumer Prices and Expenditure Patterns in Australia 1850–1914. Australian Economic History Review, 39: 1-28. For later years, Australian Consumer Price Inflation figures follow the Long Term Linked Series provided in Australian Bureau of Statistics (2011) 6461.0 – Consumer Price Index: Concepts, Sources and Methods, 2011 as explained at §§3.10–3.11; this series comprises "from 1901 to 1914, the A Series Retail Price Index; from 1914 to 1946–47, the C Series Retail Price Index; from 1946–47 to 1948–49, a combination of the C Series Index, excluding rent, and the housing group of the CPI; and from 1948–49 onwards, the CPI." (3.10). Retrieved May 4, 2015
- ^ a b c d something1
- ^ something2
See also
- {{FXConvert}}: Inflates and converts a given currency to US dollars or Euro. It is used by {{AUDConvert}}.
TemplateData
TemplateData for AUDConvert
Template calculates a value of Australian dollars, which you can enter, to US dollars and then presents the results.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Value | 1 | The value, in the source, that needs to be converted. The template will not accept pre-formatted values (i.e. 1,234).
| Number | required |
Currency units | 2 | Use this to represent larger numbers such as crores, billions et al.
| Line | suggested |
Linking | lk | Gives option to whether link currency names (paise, etc.) or number names (crores, lakhs, billions, trillions)
| Line | suggested |
Year | year | This parameter allows for inflation. Historic values will be inflated to the most current values available then converted.
| Number | suggested |
To | to | This parameter allows for conversion to various different currencies. The USD (default) and the euro are currently supported.
| Unknown | optional |
Rounding digits | r | Used to round significant digits. 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.
| Number | optional |
Force | force | This parameter allows to force a conversion at the most current rate available when data is lacking for the provided year when its value is "yes".
| Line | optional |
Exact | exact | This provides some control over formatting. "source" requests to display the input value normally (in American fashion) after applying the units. "on" does this for both the input and result values. Otherwise all values will be displayed as per Format price.
| Line | optional |
Show date | showdate | This allows to disable displaying the original year.
| Line | optional |
References | ref | This allows displaying one or more references next to the original value. Each one must consist of a ref wikitext element.
| Content | suggested |
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.
| Line | optional |
Convert | convert | This parameter controls the currency conversion. Setting it to blank or omitting it results in the default mode. Setting it to <code>no</code> disables it.
| Line | optional |