Template:AircraftCost/doc

From Wikipedia, the free encyclopedia


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.
  • ct – to represent cent(s)
  • p – to represent penny (pence)
  • pa – to represent paisa (paise) (generalized to mean cents)
  • po – to represent poysha (generalized to mean cents)
  • ba – to represent baisa(s) (generalized to mean 1/1000)
  • k – to represent thousand(s)
  • m – to represent million(s)
  • b – to represent short scale billion(s)
  • t – to represent short scale trillion(s)
  • l – to represent lakh(s)
  • c – to represent crore(s)
  • lc – to represent lakh crore(s)
  • Brackets in the sense may be singular (or) plural.

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.
  • on – to link all units
  • source – to link the source value
  • original – to link the values in the original currency
  • inflated – to link the inflated value in the original currency
  • result – to link the inflated and converted vales
  • converted – to link the converted value
  • source-converted – to link the source and converted values
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 £71.59 million in 2019)[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]
  1. ^ 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.
  2. ^ a b c d e f g something1
  3. ^ a b c d e f something2
  4. ^ 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.
  5. ^ 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 Muenster. 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.
  6. ^ United Kingdom Gross Domestic Product deflator figures follow the MeasuringWorth "consistent series" supplied in Thomas, Ryland; Williamson, Samuel H. (2018). "What Was the U.K. GDP Then?". MeasuringWorth. Retrieved February 2, 2020.
  7. ^ 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.
  8. ^ 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
  9. ^ 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.
  10. ^ South Africa – Consumer price index, International Monetary Fund, International Financial Statistics and data files.[dubious ]

See also[edit]

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:AircraftCost in articles based on its TemplateData.

TemplateData for AircraftCost

Template presents the cost of an aircraft item.

Template parameters

ParameterDescriptionTypeStatus
Currency country code1

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).

Example
GBR
Linerequired
Value2

The value, in the source, that needs to be converted. The template will not accept pre-formatted values (i.e. 1,234).

Example
500000000
Numberrequired
Currency units3

Use this to represent larger numbers such as crores, billions et al.

Example
c, lc, b, m, k, cr, p, pa, po, ba
Linesuggested
Linkinglk

Gives option to whether link currency names (paise, etc.) or number names (crores, lakhs, billions, trillions)

Example
on, off, source, original, inflated, result, converted, source-converted
Linesuggested
Yearyear

This parameter allows for inflation. Historic values will be inflated to the most current values available then converted.

Example
2015
Numbersuggested
Originorigin

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).

Example
ESP
Lineoptional
Rounding digitsr

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.

Example
0
Numberoptional
Forceforce

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".

Example
yes
Lineoptional
Exactexact

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.

Example
source, on
Lineoptional
Quantityqty

This allows adding a phrase that indicates to how many or which units the cost applies to.

Example
first, 1, 4
Lineoptional
Technology transfertot

yes indicates that the cost includes technology transfer

Example
yes
Lineoptional
Suffixsuffix

This allows appending an arbitrary wikitext to the output.

Example
and training facilities
Lineoptional
Estimatedest

yes indicates that the cost is estimated

Example
yes
Lineoptional
Referencesref

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).

Example
<ref>some wikitext ref</ref>
Contentsuggested
Modemode

This parameter allows to disable the adjustment even if the template is enabling it.

Default
(blank)
Example
historical
Lineoptional
Convertconvert

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.

Default
(blank)
Example
no
Lineoptional