قالب:USDCY/doc
This template will automatically show current-year US dollar figures for any historical value you put in.
Usage: A bottle of Dr. Shart's Fundament Cleanser cost $6.66 in 1899 {{USDCY|6.66|1899}}
.
Displays as: A bottle of Dr. Shart's Fundament Cleanser cost $6.66 in 1899 ($186.00 in 2022).
The full code of the template is this:
{{#ifexpr:{{{1}}} > 1.01 |(${{formatprice|{{inflation|US|{{{1}}}|{{{2}}}|r=0}}}} in {{inflation/year|US}}) |(${{formatprice|{{inflation|US|{{{1}}}|{{{2}}}|r=2}}}} in {{inflation/year|US}}) }}
(What this means is that, if the input amount is a buck or less, it uses {{formatprice}} with two decimal places, not one).
There are some limitations:
- This only works for years that the inflation template has figures for.
- This usually doesn't go up to the current year (for example, if you add the template in 2023, it might give figures for 2020 or something). This is not a bug; see Template:Inflation/year. It takes some amount of time for inflation figures to be calculated and made public. It will try to give the current year, but in practice, it will usually just get as close as possible.
- This template is just a quick way to do a common task with other templates; if you need more specialized behavior, just take the bones out of this template and modify it to be appropriate.
- {{USDCY}} will always be formatted the same way, as "($1234 in 2022)".
- {{USDCY}} doesn't support doing anything weird with decimals, significant figures, or other input into the inflation templates (unless you can just pass it through with the two parameters in {{USDCY}}).
Year | then$100 |
---|---|
2022 | $100.00 |
2021 | $100.00 |
2020 | $100.00 |
2019 | $100.00 |
2018 | $100.00 |
2017 | $100.00 |
2016 | $100.00 |
2015 | $100.00 |
2014 | $100.00 |
2013 | $100.00 |
2012 | $100.00 |
2011 | $103.00 |
2010 | $107.00 |
2009 | $108.00 |
2008 | $108.00 |
2007 | $112.00 |
2006 | $115.00 |
2005 | $119.00 |
2004 | $123.00 |
2003 | $126.00 |
2002 | $129.00 |
2001 | $131.00 |
2000 | $135.00 |
1999 | $140.00 |
1998 | $143.00 |
1997 | $145.00 |
1996 | $148.00 |
1995 | $153.00 |
1994 | $157.00 |
1993 | $161.00 |
1992 | $166.00 |
1991 | $171.00 |
1990 | $178.00 |
1989 | $187.00 |
1988 | $197.00 |
1987 | $205.00 |
1986 | $212.00 |
1985 | $216.00 |
1984 | $224.00 |
1983 | $233.00 |
1982 | $241.00 |
1981 | $256.00 |
1980 | $282.00 |
1979 | $320.00 |
1978 | $356.00 |
1977 | $384.00 |
1976 | $408.00 |
1975 | $432.00 |
1974 | $471.00 |
1973 | $524.00 |
1972 | $556.00 |
1971 | $574.00 |
1970 | $598.00 |
1969 | $634.00 |
1968 | $668.00 |
1967 | $697.00 |
1966 | $716.00 |
1965 | $737.00 |
1964 | $749.00 |
1963 | $759.00 |
1962 | $768.00 |
1961 | $778.00 |
1960 | $786.00 |
1959 | $797.00 |
1958 | $806.00 |
1957 | $827.00 |
1956 | $855.00 |
1955 | $868.00 |
1954 | $865.00 |
1953 | $869.00 |
1952 | $875.00 |
1951 | $895.00 |
1950 | $966.00 |
1949 | $977.00 |
1948 | $967.00 |
1947 | $1٬041 |
1946 | $1٬192 |
1945 | $1٬291 |
1944 | $1٬320 |
1943 | $1٬343 |
1942 | $1٬422 |
1941 | $1٬580 |
1940 | $1٬659 |
1939 | $1٬671 |
1938 | $1٬651 |
1937 | $1٬617 |
1936 | $1٬675 |
1935 | $1٬695 |
1934 | $1٬737 |
1933 | $1٬795 |
1932 | $1٬703 |
1931 | $1٬528 |
1930 | $1٬391 |
1929 | $1٬353 |
1928 | $1٬353 |
1927 | $1٬338 |
1926 | $1٬313 |
1925 | $1٬325 |
1924 | $1٬356 |
1923 | $1٬364 |
1922 | $1٬388 |
1921 | $1٬303 |
1920 | $1٬160 |
1919 | $1٬340 |
1918 | $1٬545 |
1917 | $1٬814 |
1916 | $2٬136 |
1915 | $2٬297 |
1914 | $2٬320 |
1913 | $2٬352 |
1912 | $2٬408 |
1911 | $2٬494 |
1910 | $2٬494 |
1909 | $2٬587 |
1908 | $2٬587 |
1907 | $2٬494 |
1906 | $2٬587 |
1905 | $2٬587 |
1904 | $2٬587 |
1903 | $2٬587 |
1902 | $2٬686 |
1901 | $2٬794 |
1900 | $2٬794 |
1899 | $2٬794 |
1898 | $2٬794 |
1897 | $2٬794 |
1896 | $2٬794 |
1895 | $2٬794 |
1894 | $2٬686 |
1893 | $2٬587 |
1892 | $2٬587 |
1891 | $2٬587 |
1890 | $2٬587 |
1889 | $2٬587 |
1888 | $2٬587 |
1887 | $2٬587 |
1886 | $2٬587 |
1885 | $2٬587 |
1884 | $2٬587 |
1883 | $2٬494 |
1882 | $2٬408 |
1881 | $2٬408 |
1880 | $2٬408 |
1879 | $2٬494 |
1878 | $2٬408 |
1877 | $2٬183 |
1876 | $2٬183 |
1875 | $2٬116 |
1874 | $2٬054 |
1873 | $1٬940 |
1872 | $1٬940 |
1871 | $1٬940 |
1870 | $1٬838 |
1869 | $1٬746 |
1868 | $1٬746 |
1867 | $1٬663 |
1866 | $1٬587 |
1865 | $1٬518 |
1864 | $1٬486 |
1863 | $1٬888 |
1862 | $2٬328 |
1861 | $2٬587 |
1860 | $2٬587 |
1859 | $2٬587 |
1858 | $2٬686 |
1857 | $2٬494 |
1856 | $2٬587 |
1855 | $2٬494 |
1854 | $2٬587 |
1853 | $2٬794 |
1852 | $2٬794 |
1851 | $2٬794 |
1850 | $2٬794 |
1849 | $2٬794 |
1848 | $2٬686 |
1847 | $2٬494 |
1846 | $2٬587 |
1845 | $2٬494 |
1844 | $2٬494 |
1843 | $2٬494 |
1842 | $2٬408 |
1841 | $2٬253 |
1840 | $2٬328 |
1839 | $2٬183 |
1838 | $2٬183 |
1837 | $2٬054 |
1836 | $2٬116 |
1835 | $2٬253 |
1834 | $2٬328 |
1833 | $2٬408 |
1832 | $2٬328 |
1831 | $2٬183 |
1830 | $2٬183 |
1829 | $2٬183 |
1828 | $2٬116 |
1827 | $2٬054 |
1826 | $2٬054 |
1825 | $2٬054 |
1824 | $2٬116 |
1823 | $1٬940 |
1822 | $1٬746 |
1821 | $1٬746 |
1820 | $1٬663 |
1819 | $1٬518 |
1818 | $1٬518 |
1817 | $1٬455 |
1816 | $1٬369 |
1815 | $1٬270 |
1814 | $1٬109 |
1813 | $1٬204 |
1812 | $1٬369 |
1811 | $1٬397 |
1810 | $1٬486 |
1809 | $1٬486 |
1808 | $1٬455 |
1807 | $1٬587 |
1806 | $1٬486 |
1805 | $1٬552 |
1804 | $1٬552 |
1803 | $1٬552 |
1802 | $1٬624 |
1801 | $1٬397 |
1800 | $1٬369 |
1799 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1799 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1798 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1798 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1797 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1797 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1796 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1796 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1795 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1795 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1794 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1794 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1793 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1793 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1792 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1792 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1791 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1791 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1790 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1790 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1789 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1789 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1788 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1788 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1787 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1787 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1786 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1786 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1785 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1785 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1784 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1784 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1783 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1783 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1782 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1782 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1781 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1781 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1780 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1780 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1779 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1779 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1778 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1778 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1777 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1777 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1776 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1776 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1775 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1775 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1774 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1774 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1773 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1773 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1772 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1772 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1771 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1771 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1770 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1770 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1769 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1769 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1768 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1768 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1767 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1767 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1766 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1766 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1765 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1765 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1764 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1764 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1763 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1763 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1762 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1762 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1761 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1761 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1760 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1760 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1759 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1759 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1758 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1758 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1757 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1757 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1756 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1756 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1755 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1755 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1754 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1754 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1753 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1753 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1752 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1752 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1751 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1751 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1750 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1750 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1749 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1749 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1748 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1748 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1747 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1747 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1746 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1746 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1745 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1745 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1744 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1744 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1743 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1743 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1742 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1742 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1741 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1741 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1740 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1740 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1739 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1739 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1738 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1738 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1737 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1737 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1736 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1736 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1735 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1735 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1734 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1734 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1733 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1733 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1732 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1732 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1731 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1731 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1730 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1730 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1729 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1729 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1728 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1728 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1727 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1727 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1726 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1726 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1725 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1725 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1724 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1724 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1723 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1723 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1722 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1722 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1721 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1721 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1720 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1720 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1719 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1719 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1718 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1718 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1717 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1717 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1716 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1716 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1715 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1715 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1714 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1714 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1713 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1713 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1712 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1712 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1711 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1711 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1710 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1710 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1709 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1709 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1708 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1708 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1707 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1707 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1706 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1706 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1705 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1705 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1704 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1704 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1703 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1703 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1702 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1702 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1701 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1701 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|
1700 | $Format price error: cannot parse value "Error when using {{Inflation}}: |start_year=1700 (parameter 3) is lower than the earliest available year (1800) in index "US"."
|