Template:AircraftCost
Purpose
[edit]The purpose of this template is to abstract and format aircraft costs.
Currently configured so adjustments but no conversions are applied by default.
Usage
[edit]{{AircraftCost|country|value|currency_units|year=|origin=|r=|force=|lk=|exact=|qty=|tot=|suffix=|est=|ref=|mode=|convert=}}
Parameters
[edit]A description of the template's parameters are listed below.
Field name | Usage | Example | Description |
country_code |
mandatory | GBR | The country code of the currency, see the examples to find out what is currently supported. EUR for Euro (inflation adjustment would require using a country-specific code). |
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.
|
origin |
optional | origin=ESP | The country code of the factory's location, by default that corresponding to the currency is assumed (no country assumed for Euro). |
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}}.
|
qty |
optional | qty=first | This allows adding a phrase that indicates to how many or which units the cost applies to. |
tot |
optional | tot=yes | yes indicates that the cost includes technology transfer.
|
suffix |
optional | suffix=and training facilities | This allows appending an arbitrary wikitext to the output. |
est |
optional | est=yes | yes indicates that the cost is estimated.
|
ref |
optional | ref=<ref>some wikitext ref</ref> | This allows displaying one or more references. Each one must consist of a ref wikitext element. The placement of the references is normalized (currently after the year, but this might be changed in the future). |
mode |
optional | mode=historical | This parameter allows to disable adjustment even if the template is configured to enable it. |
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
[edit]AircraftCost syntax | Results |
---|---|
{{AircraftCost|ARG|3600000}} |
ARS 3.6 million |
{{AircraftCost|ARG|3600000|year=1992}} |
ARS 3.6 million (1992) |
{{AircraftCost|ARG|3600000|year=1991}} |
Year not supported |
{{AircraftCost|AUS|3.6|m}} |
A$3.6 million |
{{AircraftCost|AUS|3600000}} |
A$3.6 million |
{{AircraftCost|AUS|3654000|year=2002}} |
A$3.65 million (2002) (equivalent to A$6.05 million in 2022)[1] |
{{AircraftCost|AUS|3654000|year=2002|origin=AUS}} |
A$3.65 million (2002) (equivalent to A$6.05 million in 2022)[1] |
{{AircraftCost|AUS|3654000|year=2002|origin=ESP}} |
A$3.65 million (2002) |
{{AircraftCost|AUS|3654000|year=2002|r=3|ref=<ref name="qv">something1</ref>}} |
A$3.654 million (2002)[2] (equivalent to A$6.053 million in 2022)[1] |
{{AircraftCost|AUS|3.6|m|qty=}} |
A$3.6 million |
{{AircraftCost|AUS|3.6|m|qty=first}} |
A$3.6 million for the first unit |
{{AircraftCost|AUS|3.6|m|qty=1}} |
A$3.6 million per unit |
{{AircraftCost|AUS|3.6|m|qty=8}} |
A$3.6 million for 8 units |
{{AircraftCost|AUS|3650000|year=2002|exact=on|ref=<ref name="qv">something1</ref><ref name="s">something2</ref>}} |
A$3,650,000 (2002)[2][3] (equivalent to A$6,046,129.28 in 2022)[1] |
{{AircraftCost|AUS|3650000|year=2002|exact=on|qty=8|suffix= + [[Technology transfer|ToT]]|ref=<ref name="qv">something1</ref><ref name="s">something2</ref>}} |
A$3,650,000 (2002)[2][3] (equivalent to A$6,046,129.28 in 2022)[1] for 8 units + ToT |
{{AircraftCost|AUS|3650000|year=2002|exact=on|qty=8|tot=yes|ref=<ref name="qv">something1</ref><ref name="s">something2</ref>}} |
A$3,650,000 (2002)[2][3] (equivalent to A$6,046,129.28 in 2022)[1] for 8 units + ToT |
{{AircraftCost|AUS|3650000|year=2002|exact=on|qty=8|tot=yes|suffix=and training facilities|ref=<ref name="qv">something1</ref><ref name="s">something2</ref>}} |
A$3,650,000 (2002)[2][3] (equivalent to A$6,046,129.28 in 2022)[1] for 8 units + ToT and training facilities |
{{AircraftCost|AUS|3650000|year=2002|exact=on|qty=8|tot=yes|est=yes|suffix=and training facilities|ref=<ref name="qv">something1</ref><ref name="s">something2</ref>}} |
A$3,650,000 (2002)[2][3] (equivalent to A$6,046,129.28 in 2022)[1] for 8 units + ToT and training facilities (est.) |
{{AircraftCost|AUS|3650000|year=2002|exact=on|mode=historical|qty=8|tot=yes|est=yes|suffix=and training facilities|ref=<ref name="qv">something1</ref><ref name="s">something2</ref>}} |
A$3,650,000 (2002)[2][3] for 8 units + ToT and training facilities (est.) |
{{AircraftCost|BEL|3600000}} |
€3.6 million |
{{AircraftCost|BEL|3600000|year=1999}} |
€3.6 million (1999) |
{{AircraftCost|BEL|3600000|year=1998}} |
BEF 3.6 million (1998) |
{{AircraftCost|BEL|3600000|year=1947}} |
BEF 3.6 million (1947) |
{{AircraftCost|BEL|3600000|year=1946}} |
Year not supported |
{{AircraftCost|BRA|3600000}} |
R$3.6 million |
{{AircraftCost|BRA|3600000|year=1995}} |
R$3.6 million (1995) |
{{AircraftCost|BRA|3600000|year=1994}} |
Year not supported |
{{AircraftCost|CAN|3600000}} |
CA$3.6 million |
{{AircraftCost|CAN|3600000|year=1962}} |
CA$3.6 million (1962) (equivalent to CA$35.57 million in 2023)[4] |
{{AircraftCost|CHN|3600000}} |
CN¥3.6 million |
{{AircraftCost|CHN|3600000|year=1949}} |
CN¥3.6 million (1949) |
{{AircraftCost|CHN|3600000|year=1948}} |
Year not supported |
{{AircraftCost|GER|3600000}} |
Use DEU |
{{AircraftCost|GER|3600000|year=1999}} |
Use DEU |
{{AircraftCost|GER|3600000|year=1998}} |
Use DEU |
{{AircraftCost|GER|3600000|year=1949}} |
Use DEU |
{{AircraftCost|GER|3600000|year=1948}} |
Use DEU |
{{AircraftCost|DEU|3600000}} |
€3.6 million |
{{AircraftCost|DEU|3600000|year=1999}} |
€3.6 million (1999) (equivalent to €2.55 million in 2021)[5] |
{{AircraftCost|DEU|3600000|year=1998}} |
DM 3.6 million (1998) (equivalent to DM 2.57 million in 2021)[5] |
{{AircraftCost|DEU|3600000|year=1949}} |
DM 3.6 million (1949) (equivalent to DM 9.6 million in 2021)[5] |
{{AircraftCost|DEU|3600000|year=1948}} |
Year not supported |
{{AircraftCost|DNK|3600000}} |
DKK 3.6 million |
{{AircraftCost|DNK|3600000|year=1874}} |
DKK 3.6 million (1874) |
{{AircraftCost|DNK|3600000|year=1873}} |
Year not supported |
{{AircraftCost|ESP|3600000}} |
€3.6 million |
{{AircraftCost|ESP|3600000|year=1999}} |
€3.6 million (1999) |
{{AircraftCost|ESP|3600000|year=1998}} |
₧ 3.6 million (1998) |
{{AircraftCost|ESP|3600000|year=1869}} |
₧ 3.6 million (1869) |
{{AircraftCost|ESP|3600000|year=1868}} |
Year not supported |
{{AircraftCost|EUR|3600000}} |
€3.6 million |
{{AircraftCost|EUR|3600000|year=1999}} |
€3.6 million (1999) |
{{AircraftCost|FIN|3600000}} |
€3.6 million |
{{AircraftCost|FIN|3600000|year=1999}} |
€3.6 million (1999) |
{{AircraftCost|FIN|3600000|year=1998}} |
FIM 3.6 million (1998) |
{{AircraftCost|FIN|3600000|year=1861}} |
FIM 3.6 million (1861) |
{{AircraftCost|FIN|3600000|year=1860}} |
Year not supported |
{{AircraftCost|FRA|3600000}} |
€3.6 million |
{{AircraftCost|FRA|3600000|year=1999}} |
€3.6 million (1999) |
{{AircraftCost|FRA|3600000|year=1998}} |
FRF 3.6 million (1998) |
{{AircraftCost|FRA|3600000|year=1960}} |
FRF 3.6 million (1960) |
{{AircraftCost|FRA|3600000|year=1959}} |
FF 3.6 million (1959) |
{{AircraftCost|FRA|3600000|year=1796}} |
FF 3.6 million (1796) |
{{AircraftCost|FRA|3600000|year=1795}} |
Year not supported |
{{AircraftCost|GBR|3600000}} |
£3.6 million |
{{AircraftCost|GBR|3600000|year=1962}} |
£3.6 million (1962) (equivalent to £86.5 million in 2023)[6] |
{{AircraftCost|GRC|3600000}} |
€3.6 million |
{{AircraftCost|GRC|3600000|year=2001}} |
€3.6 million (2001) |
{{AircraftCost|GRC|3600000|year=2000}} |
Modern drachma3.6 million (2000) |
{{AircraftCost|GRC|3600000|year=1955}} |
Modern drachma3.6 million (1955) |
{{AircraftCost|GRC|3600000|year=1954}} |
Year not supported |
{{AircraftCost|HRV|3600000}} |
HRK 3.6 million |
{{AircraftCost|HRV|3600000|year=1995}} |
HRK 3.6 million (1995) |
{{AircraftCost|HRV|3600000|year=1994}} |
Year not supported |
{{AircraftCost|IRL|3600000}} |
€3.6 million |
{{AircraftCost|IRL|3600000|year=1999}} |
€3.6 million (1999) |
{{AircraftCost|IRL|3600000|year=1998}} |
IR£3.6 million (1998) |
{{AircraftCost|IRL|3600000|year=1939}} |
IR£3.6 million (1939) |
{{AircraftCost|IRL|3600000|year=1038}} |
Year not supported |
{{AircraftCost|ITA|3600000}} |
€3.6 million |
{{AircraftCost|ITA|3600000|year=1999}} |
€3.6 million (1999) |
{{AircraftCost|ITA|3600000|year=1998}} |
Lit. 3.6 million (1998) |
{{AircraftCost|ITA|3600000|year=1863}} |
Lit. 3.6 million (1863) |
{{AircraftCost|ITA|3600000|year=1862}} |
Year not supported |
{{AircraftCost|JPN|3600000}} |
¥3.6 million |
{{AircraftCost|JPN|3600000|year=1962}} |
¥3.6 million (1962) (equivalent to ¥18.25 million in 2019)[7] |
{{AircraftCost|KOR|3600000}} |
₩3.6 million |
{{AircraftCost|KOR|3600000|year=1962}} |
₩3.6 million (1962) (equivalent to ₩217.97 million in 2017)[8] |
{{AircraftCost|LUX|3600000}} |
€3.6 million |
{{AircraftCost|LUX|3600000|year=1999}} |
€3.6 million (1999) |
{{AircraftCost|LUX|3600000|year=1998}} |
LUF 3.6 million (1998) |
{{AircraftCost|LUX|3600000|year=1945}} |
LUF 3.6 million (1945) |
{{AircraftCost|LUX|3600000|year=1944}} |
Year not supported |
{{AircraftCost|MLT|3600000}} |
€3.6 million |
{{AircraftCost|MLT|3600000|year=2008}} |
€3.6 million (2008) |
{{AircraftCost|MLT|3600000|year=2007}} |
Lm 3.6 million (2007) |
{{AircraftCost|MLT|3600000|year=1973}} |
Lm 3.6 million (1973) |
{{AircraftCost|MLT|3600000|year=1972}} |
Year not supported |
{{AircraftCost|MYS|3600000}} |
RM 3.6 million |
{{AircraftCost|MYS|3600000|year=1976}} |
RM 3.6 million (1976) |
{{AircraftCost|MYS|3600000|year=1975}} |
Year not supported |
{{AircraftCost|NLD|3600000}} |
€3.6 million |
{{AircraftCost|NLD|3600000|year=1999}} |
€3.6 million (1999) |
{{AircraftCost|NLD|3600000|year=1998}} |
ƒ3.6 million (1998) |
{{AircraftCost|NLD|3600000|year=1815}} |
ƒ3.6 million (1815) |
{{AircraftCost|NLD|3600000|year=1814}} |
Year not supported |
{{AircraftCost|NOR|3600000}} |
NOK 3.6 million |
{{AircraftCost|NOR|3600000|year=1876}} |
NOK 3.6 million (1876) |
{{AircraftCost|NOR|3600000|year=1875}} |
Year not supported |
{{AircraftCost|NZL|3600000}} |
NZ$3.6 million |
{{AircraftCost|NZL|3600000|year=1968}} |
NZ$3.6 million (1968) |
{{AircraftCost|NZL|3600000|year=1967}} |
Year not supported |
{{AircraftCost|PHL|3600000}} |
₱3.6 million |
{{AircraftCost|PHL|3600000|year=1946}} |
₱3.6 million (1946) |
{{AircraftCost|PHL|3600000|year=1945}} |
Year not supported |
{{AircraftCost|POL|3600000}} |
PLN 3.6 million |
{{AircraftCost|POL|3600000|year=1995}} |
PLN 3.6 million (1995) |
{{AircraftCost|POL|3600000|year=1994}} |
PLZ 3.6 million (1994) |
{{AircraftCost|POL|3600000|year=1951}} |
PLZ 3.6 million (1951) |
{{AircraftCost|POL|3600000|year=1950}} |
Year not supported |
{{AircraftCost|PRT|3600000}} |
€3.6 million |
{{AircraftCost|PRT|3600000|year=1999}} |
€3.6 million (1999) |
{{AircraftCost|PRT|3600000|year=1998}} |
PTE 3.6 million (1998) |
{{AircraftCost|PRT|3600000|year=1912}} |
PTE 3.6 million (1912) |
{{AircraftCost|PRT|3600000|year=1911}} |
Year not supported |
{{AircraftCost|ROU|3600000}} |
RON 3.6 million |
{{AircraftCost|ROU|3600000|year=2006}} |
RON 3.6 million (2006) |
{{AircraftCost|ROU|3600000|year=2005}} |
Year not supported |
{{AircraftCost|ROU|3600000|year=2004}} |
ROL 3.6 million (2004) |
{{AircraftCost|ROU|3600000|year=1953}} |
ROL 3.6 million (1953) |
{{AircraftCost|ROU|3600000|year=1952}} |
Year not supported |
{{AircraftCost|ROU|3600000|year=1951}} |
Year not supported |
{{AircraftCost|SWE|3600000}} |
SEK 3.6 million |
{{AircraftCost|SWE|3600000|year=1874}} |
SEK 3.6 million (1874) |
{{AircraftCost|SWE|3600000|year=1873}} |
Year not supported |
{{AircraftCost|USA|3600}} |
US$3,600 |
{{AircraftCost|USA|3600|year=1790}} |
US$3,600 (1790) (equivalent to US$113,446.39 in 2023)[9] |
{{AircraftCost|ZAF|3600000}} |
R3.6 million |
{{AircraftCost|ZAF|3600000|year=1962}} |
R3.6 million (1962) (equivalent to R514.38 million in 2018)[10] |
- ^ a b c d e f g h AU = 1850-1901: McLean, I.W. (1999), Consumer Prices and Expenditure Patterns in Australia 1850–1914. Australian Economic History Review, 39: 1-28 (taken W6 series from Table A1, which represents the average inflation in all of Australian colonies). For later years, calculated using the pre-decimal inflation calculator provided by the Reserve Bank of Australia for each year, input: £94 8s (94.40 Australian pounds in decimal values), start year: 1901.
- ^ a b c d e f g something1
- ^ a b c d e f something2
- ^ 1688 to 1923: Geloso, Vincent, A Price Index for Canada, 1688 to 1850 (December 6, 2016). Afterwards, Canadian inflation numbers based on Statistics Canada tables 18-10-0005-01 (formerly CANSIM 326-0021) "Consumer Price Index, annual average, not seasonally adjusted". Statistics Canada. Retrieved April 17, 2021. and table 18-10-0004-13 "Consumer Price Index by product group, monthly, percentage change, not seasonally adjusted, Canada, provinces, Whitehorse, Yellowknife and Iqaluit". Statistics Canada. Retrieved 2024-05-08.
- ^ a b c 1500 to 1850: Ulrich Pfister, 2010. "Consumer prices and wages in Germany, 1500 - 1850," CQE Working Papers 1510, Center for Quantitative Economics (CQE), University of Münster. 1851-1882: Coos Santing, 2007, Inflation 1800-2000, data from OECD, Organisation for Economic Co-operation and Development, Economic Outlook. Historical Statistics and Mitchell, B. R. International Historical Statistics, Africa, Asia and Oceania 1750-1993 London : Macmillan ; New York : Stockton, 1998, International Historical Statistics, Europe 1750-1993 London : Macmillan ; New York : Stockton, 1998, and International Historical Statistics, The Americas 1750-1993 London : Macmillan ; New York : Stockton, 1998. After 1883, German inflation numbers based on data available from the Deutsches Statistisches Bundesamt archive and GENESIS database.
- ^ United Kingdom Gross Domestic Product deflator figures follow the MeasuringWorth "consistent series" supplied in Thomas, Ryland; Williamson, Samuel H. (2024). "What Was the U.K. GDP Then?". MeasuringWorth. Retrieved July 15, 2024.
- ^ 1868 to 1938: Williamson J., Nominal Wage, Cost of Living, Real Wage and Land Rent Data for Japan 1831-1938, 1939 to 1945: Bank of Japan Historical Statistics Afterwards, Japanese Historical Consumer Price Index numbers based on data available from the Japanese Statistics Bureau. Japan Historical Consumer Price Index (CPI) – 1970 to 2014 Retrieved 30 July 2014. For between 1946 and 1970, from "昭和戦後史". Retrieved 2015-01-24.
- ^ 1906 to 1911: Williamson J. (1999), Nominal Wage, Cost of Living, Real Wage and Land Rent Data for Korea 1906-1939 1912 to 1939: Mizoguchi, T. (1972). Consumer Prices and Real Wages in Taiwan and Korea Under Japanese Rule. Hitotsubashi Journal of Economics, 13(1), 40-56. Retrieved May 21, 2021. Afterwards, consumer price index from Statistics Korea. Consumer Price Index by year. Retrieved 3 April 2018
- ^ Johnston, Louis; Williamson, Samuel H. (2023). "What Was the U.S. GDP Then?". MeasuringWorth. Retrieved November 30, 2023. United States Gross Domestic Product deflator figures follow the MeasuringWorth series.
- ^ South Africa – Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dubious – discuss]
See also
[edit]- {{FXConvert}}: Inflates and converts a given currency to US dollars. It is used by {{AircraftCost}}.
TemplateData
[edit]TemplateData for AircraftCost
Template presents the cost of an aircraft item.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Currency country code | 1 | ISO 3166-1 alpha-3 country code of the currency, see the examples to find out what is currently supported. EUR for Euro (inflation adjustment would require using a country-specific code).
| Line | required |
Value | 2 | 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 | 3 | 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 |
Origin | origin | ISO 3166-1 alpha-3 country code of the shipyard's location, by default that corresponding to the currency is assumed (no country assumed for Euro).
| Line | 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 |
Quantity | qty | This allows adding a phrase that indicates to how many or which units the cost applies to.
| Line | optional |
Technology transfer | tot | yes indicates that the cost includes technology transfer
| Line | optional |
Suffix | suffix | This allows appending an arbitrary wikitext to the output.
| Line | optional |
Estimated | est | yes indicates that the cost is estimated
| Line | optional |
References | ref | This allows displaying one or more references. Each one must consist of a ref wikitext element. The placement of the references is normalized (currently after the year, but this might be changed in the future).
| Content | suggested |
Mode | mode | This parameter allows to disable the adjustment even if the template is enabling it.
| 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 |