Module:Currency/Presentation
From The Goon Show Depository
Revision as of 17:02, 1 July 2022 by en>Drmccreedy (Add SLE per https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/amendments/dl_currency_iso_amendment_171.pdf)
local presentation = {}; -- table of tables that define presentation properties
--[=[-------------------------< C U R R E N C Y P R O P E R T I E S >----------------------------------------
this table is created from Template:Currency/Page, Template:Currency/Position, and Template:Currency/Symbol. The
individual currency codes are taken from the table at [[ISO 4217]]. The source templates have other codes not
conforming to 4217; those codes are not included here but are listed in the translation table or in the non-standard table.
This table is NOT for historical ISO 4217 codes. Add historical codes to the non-standard properties table.
Meanings of the table entries:
['???'] – ISO 4217 currency code; uppercase only
page = '' – Wikipedia article name approriate to the currency code
plural = '' – specifies how to make the currency page name plural:
if singular and plural forms are the same leave empty
if adding an 's' to the end of the singular name makes it plural then set plural = 's'
if the plural name is different, set the whole plural name (see GBP for example)
position = '' – identifies where the symbol is placed relative to the amount
'a' – <amount><symbol>
'as' – <amount>< ><symbol>
'b' – <symbol><amount>
'bs' – <symbol>< ><amount>
symbol = '' – the symbol associated with the currency code; generally not the currency code unless the symbol and
the currency code are the same; to display a currency code instead of a symbol, use the nonstandard table
]=]
local currency_properties = {
['AED'] = {page = 'United Arab Emirates dirham', plural = 's', position = 'bs', symbol = 'DH'},
['AFN'] = {page = 'Afghan afghani', plural = 's', position = 'b', symbol = '\216\139'}, -- U+060B ؋
['ALL'] = {page = 'Albanian lek', plural = 'lekë', position = 'b', symbol = 'L'},
['AMD'] = {page = 'Armenian dram', plural = 's', position = 'bs', symbol = '\214\143'}, -- U+058F ؋
['ANG'] = {page = 'Netherlands Antillean guilder', plural = 's', position = 'b', symbol = 'NAƒ'},
['AOA'] = {page = 'Angolan kwanza', plural = 's', position = 'bs', symbol = 'Kz'},
['ARS'] = {page = 'Argentine peso', plural = 's', position = 'b', symbol = 'AR$'},
['AUD'] = {page = 'Australian dollar', plural = 's', position = 'b', symbol = 'A$'},
['AWG'] = {page = 'Aruban florin', plural = 's', position = 'bs', symbol = 'Afl.'},
['AZN'] = {page = 'Azerbaijani manat', plural = 's', position = 'b', symbol = '\226\130\188'}, -- U+20BC
['BAM'] = {page = 'Bosnia and Herzegovina konvertibilna marka', plural = 's', position = 'bs', symbol = 'KM'},
['BBD'] = {page = 'Barbados dollar', plural = 's', position = 'bs', symbol = 'Bds$'},
['BDT'] = {page = 'Bangladeshi taka', plural = '', position = 'b', symbol = '৳'},
['BGN'] = {page = 'Bulgarian lev', plural = 'leva', position = 'bs', symbol = 'лв.'}, -- levove?
['BHD'] = {page = 'Bahraini dinar', plural = 's', position = 'bs', symbol = '<bdi lang="ar">.د.ب</bdi>'},
['BIF'] = {page = 'Burundian franc', plural = 's', position = 'bs', symbol = 'FBu'},
['BMD'] = {page = 'Bermudian dollar', plural = 's', position = 'b', symbol = 'BD$'},
['BND'] = {page = 'Brunei dollar', plural = 's', position = 'b', symbol = 'B$'},
['BOB'] = {page = 'Boliviano', plural = 's', position = 'bs', symbol = 'Bs.'},
-- ['BOV'] = {page = '', plural = '', position = '', symbol = ''}, -- Bolivian Mvdol (funds code)
['BRL'] = {page = 'Brazilian real', plural = 's', position = 'b', symbol = 'R$'},
['BSD'] = {page = 'Bahamian dollar', plural = 's', position = 'b', symbol = 'B$'},
['BTN'] = {page = 'Ngultrum', plural = 's', position = 'bs', symbol = 'Nu.'},
['BWP'] = {page = 'Botswana pula', plural = '', position = 'bs', symbol = 'P'},
['BYN'] = {page = 'Belarusian ruble', plural = 's', position = 'bs', symbol = 'Br'},
['BZD'] = {page = 'Belize dollar', plural = 's', position = 'b', symbol = 'BZ$'},
['CAD'] = {page = 'Canadian dollar', plural = 's', position = 'b', symbol = 'C$'},
['CDF'] = {page = 'Congolese franc', plural = 's', position = 'bs', symbol = 'FC'},
-- ['CHE'] = {page = '', plural = '', position = '', symbol = ''}, -- WIR Euro (complementary currency)
['CHF'] = {page = 'Swiss franc', plural = 's', position = 'bs', symbol = 'CHF'},
-- ['CHW'] = {page = '', plural = '', position = '', symbol = ''}, -- WIR Franc (complementary currency)
-- ['CLF'] = {page = '', plural = '', position = '', symbol = ''}, -- Unidad de Fomento (funds code) (Chile)
['CLP'] = {page = 'Chilean peso', plural = 's', position = 'b', symbol = 'CL$'},
['CNY'] = {page = 'Renminbi', plural = '', position = 'bs', symbol = 'CN¥'},
['COP'] = {page = 'Colombian peso', plural = 's', position = 'b', symbol = 'COL$'},
-- ['COU'] = {page = '', plural = '', position = '', symbol = ''}, -- Unidad de Valor Real (UVR) (funds code) (Columbia)
['CRC'] = {page = 'Costa Rican colon', plural = 's', position = 'b', symbol = '₡'},
['CUC'] = {page = 'Cuban convertible peso', plural = 's', position = 'b', symbol = 'CUC$'},
['CUP'] = {page = 'Cuban peso', plural = 's', position = 'b', symbol = '$MN'},
['CVE'] = {page = 'Cape Verde escudo', plural = 's', position = 'd', symbol = '$'}, -- not yet supported position = 'd' replaces decimal with Cifrão ($)
['CZK'] = {page = 'Czech koruna', plural = '', position = 'as', symbol = 'Kč'},
['DJF'] = {page = 'Djiboutian franc', plural = 's', position = 'b', symbol = 'Fdj'},
['DKK'] = {page = 'Danish krone', plural = 'Danish kroner', position = 'bs', symbol = 'kr.'},
['DOP'] = {page = 'Dominican peso', plural = 's', position = 'b', symbol = 'RD$'},
['DZD'] = {page = 'Algerian dinar', plural = 's', position = 'bs', symbol = '<bdi lang="ar">د.ج</bdi>'},
['EGP'] = {page = 'Egyptian pound', plural = 's', position = 'b', symbol = 'E£'},
['ERN'] = {page = 'Eritrean nakfa', plural = '', position = 'bs', symbol = 'Nfk'},
['ETB'] = {page = 'Ethiopian birr', plural = '', position = 'bs', symbol = 'Br'},
['EUR'] = {page = 'Euro', plural = 's', position = 'b', symbol = '€'},
['FJD'] = {page = 'Fijian dollar', plural = 's', position = 'b', symbol = 'FJ$'},
['FKP'] = {page = 'Falkland Islands pound', plural = 's', position = 'b', symbol = 'FK£'},
['GBP'] = {page = 'Pound sterling', plural = 'pounds sterling', position = 'b', symbol = '£'},
['GEL'] = {page = 'Georgian lari', plural = '', position = 'b', symbol = '\226\130\190'}, -- U+20BE ₾
['GHS'] = {page = 'Ghanaian cedi', plural = '', position = 'b', symbol = '\226\130\181'}, -- U+20B5 ₵
['GIP'] = {page = 'Gibraltar pound', plural = 's', position = 'b', symbol = 'GI£'},
['GMD'] = {page = 'Gambian dalasi', plural = '', position = 'bs', symbol = 'D'},
['GNF'] = {page = 'Guinean franc', plural = 's', position = 'bs', symbol = 'FG'},
['GTQ'] = {page = 'Guatemalan quetzal', plural = 'Guatemalan quetzales', position = 'bs', symbol = 'Q'},
['GYD'] = {page = 'Guyanese dollar', plural = 's', position = 'b', symbol = 'GY$'},
['HKD'] = {page = 'Hong Kong dollar', plural = 's', position = 'b', symbol = 'HK$'},
['HNL'] = {page = 'Honduran lempira', plural = 's', position = 'bs', symbol = 'L'},
['HRK'] = {page = 'Croatian kuna', plural = '', position = 'bs', symbol = 'kn'},
['HTG'] = {page = 'Haitian gourde', plural = 's', position = 'bs', symbol = 'G'},
['HUF'] = {page = 'Hungarian forint', plural = '', position = 'as', symbol = 'Ft'},
['IDR'] = {page = 'Indonesian rupiah', plural = '', position = 'bs', symbol = 'Rp'},
['ILS'] = {page = 'Israeli new shekel', plural = 's', position = 'b', symbol = '₪'},
['INR'] = {page = 'Indian rupee', plural = 's', position = 'b', symbol = '\226\130\185'}, -- U+20B9 ₹
['IQD'] = {page = 'Iraqi dinar', plural = 's', position = 'bs', symbol = '<bdi lang="ar">د.ع</bdi>'},
['IRR'] = {page = 'Iranian rial', plural = 's', position = 'b', symbol = '\239\183\188'}, -- U+FDFC ﷼
['ISK'] = {page = 'Icelandic króna', plural = '', position = 'bs', symbol = 'ISK'},
['JMD'] = {page = 'Jamaican dollar', plural = 's', position = 'b', symbol = 'J$'},
['JOD'] = {page = 'Jordanian dinar', plural = 's', position = 'bs', symbol = 'JOD'}, -- what is this currency's symbol?
['JPY'] = {page = 'Japanese yen', plural = '', position = 'b', symbol = '¥'},
['KES'] = {page = 'Kenyan shilling', plural = 's', position = 'bs', symbol = 'KSh'},
['KGS'] = {page = 'Kyrgyzstani som', plural = '', position = 'bs', symbol = 'KGS'}, -- what is this currency's symbol?
['KHR'] = {page = 'Cambodian riel', plural = 's', position = 'b', symbol = '\225\159\155'}, -- U+17DB ៛
['KMF'] = {page = 'Comorian franc', plural = 's', position = 'bs', symbol = 'CF'},
['KPW'] = {page = 'North Korean won', plural = '', position = 'b', symbol = '₩'},
['KRW'] = {page = 'South Korean won', plural = '', position = 'b', symbol = '₩'},
['KWD'] = {page = 'Kuwaiti dinar', plural = 's', position = 'bs', symbol = '<bdi lang="ar">د.ك</bdi>'},
['KYD'] = {page = 'Cayman Islands dollar', plural = 's', position = 'b', symbol = 'CI$'},
['KZT'] = {page = 'Kazakhstani tenge', plural = '', position = 'b', symbol = '\226\130\184'}, -- U+20B8 ₸
['LAK'] = {page = 'Lao kip', plural = '', position = 'b', symbol = '₭'},
['LBP'] = {page = 'Lebanese pound', plural = 's', position = 'bs', symbol = '<bdi lang="ar">ل.ل</bdi>'},
['LKR'] = {page = 'Sri Lankan rupee', plural = 's', position = 'b', symbol = 'රු.'},
['LRD'] = {page = 'Liberian dollar', plural = 's', position = 'b', symbol = 'L$'},
['LSL'] = {page = 'Lesotho loti', plural = 'Lesotho maloti', position = 'b', symbol = 'L'}, -- for the plural symbol 'M', use LSL2
['LYD'] = {page = 'Libyan dinar', plural = 's', position = 'bs', symbol = '<bdi lang="ar">ل.د</bdi>'},
['MAD'] = {page = 'Moroccan dirham', plural = 's', position = 'bs', symbol = 'MAD'}, -- what is this currency's symbol?
['MDL'] = {page = 'Moldovan leu', plural = 'Moldovan lei', position = 'bs', symbol = 'MDL'}, -- what is this currency's symbol?
['MGA'] = {page = 'Malagasy ariary', plural = '', position = 'bs', symbol = 'Ar'},
['MKD'] = {page = 'Macedonian denar', plural = 'Macedonian denari', position = 'bs', symbol = 'ден'},
['MMK'] = {page = 'Burmese kyat', plural = 's', position = 'bs', symbol = 'K'},
['MNT'] = {page = 'Mongolian tögrög', plural = '', position = 'b', symbol = '₮'},
['MOP'] = {page = 'Macanese pataca', plural = 's', position = 'b', symbol = 'MOP$'},
['MRU'] = {page = 'Mauritanian ouguiya', plural = '', position = 'bs', symbol = 'UM'},
['MUR'] = {page = 'Mauritian rupee', plural = 's', position = 'bs', symbol = '₨'},
['MVR'] = {page = 'Maldivian rufiyaa', plural = '', position = 'bs', symbol = 'Rf.'},
['MWK'] = {page = 'Malawian kwacha', plural = '', position = 'b', symbol = 'K'},
['MXN'] = {page = 'Mexican peso', plural = 's', position = 'b', symbol = 'Mex$'},
-- ['MXV'] = {page = '', plural = '', position = '', symbol = ''}, -- Mexican Unidad de Inversion (UDI) (funds code)
['MYR'] = {page = 'Malaysian ringgit', plural = 's', position = 'b', symbol = 'RM'},
['MZN'] = {page = 'Mozambican metical', plural = 'Mozambican meticais', position = 'bs', symbol = 'MT'},
['NAD'] = {page = 'Namibian dollar', plural = 's', position = 'b', symbol = 'N$'},
['NGN'] = {page = 'Nigerian naira', plural = '', position = 'b', symbol = '₦'},
['NIO'] = {page = 'Nicaraguan córdoba', plural = 's', position = 'b', symbol = 'C$'},
['NOK'] = {page = 'Norwegian krone', plural = 'Norwegian kroner', position = 'bs', symbol = 'kr'},
['NPR'] = {page = 'Nepalese rupee', plural = 's', position = 'bs', symbol = 'रू'},
['NZD'] = {page = 'New Zealand dollar', plural = 's', position = 'b', symbol = 'NZ$'},
['OMR'] = {page = 'Omani rial', plural = 's', position = 'bs', symbol = '<bdi lang="ar">ر.ع.</bdi>'},
['PAB'] = {page = 'Panamanian balboa', plural = 's', position = 'b', symbol = 'B/.'},
['PEN'] = {page = 'Peruvian sol', plural = 'Peruvian soles', position = 'b', symbol = 'S/.'},
['PGK'] = {page = 'Papua New Guinean kina', plural = '', position = 'bs', symbol = 'K'},
['PHP'] = {page = 'Philippine peso', plural = 's', position = 'b', symbol = '₱'},
['PKR'] = {page = 'Pakistani rupee', plural = 's', position = 'b', symbol = '₨'},
['PLN'] = {page = 'Polish złoty', plural = '', position = 'a', symbol = 'zł'},
['PYG'] = {page = 'Paraguayan guaraní', plural = 'Paraguayan guaraníes', position = 'as', symbol = '\226\130\178'}, -- U+20B2 ₲
['QAR'] = {page = 'Qatari riyal', plural = 's', position = 'bs', symbol = '<bdi lang="ar">ر.ق</bdi>'},
['RON'] = {page = 'Romanian leu', plural = 'Romanian lei', position = 'bs', symbol = 'RON'}, -- what is this currency's symbol?
['RSD'] = {page = 'Serbian dinar', plural = '', position = 'bs', symbol = 'din.'},
['RUB'] = {page = 'Russian ruble', plural = 's', position = 'as', symbol = '\226\130\189'}, -- U+20BD ₽ after August 1998 redenomination
['RWF'] = {page = 'Rwandan franc', plural = 's', position = 'bs', symbol = 'FRw'},
['SAR'] = {page = 'Saudi riyal', plural = 's', position = 'bs', symbol = '<bdi lang="ar">ر.س</bdi>'},
['SBD'] = {page = 'Solomon Islands dollar', plural = 's', position = 'b', symbol = 'SI$'},
['SCR'] = {page = 'Seychellois rupee', plural = 's', position = 'bs', symbol = 'SR'},
['SDG'] = {page = 'Sudanese pound', plural = 's', position = 'bs', symbol = '<bdi lang="ar">ج.س.</bdi>'},
['SEK'] = {page = 'Swedish krona', plural = 'Swedish kronor', position = 'bs', symbol = 'kr'},
['SGD'] = {page = 'Singapore dollar', plural = 's', position = 'b', symbol = 'S$'},
['SHP'] = {page = 'Saint Helena pound', plural = 's', position = 'b', symbol = 'SH£'},
['SLE'] = {page = 'Sierra Leonean leone', plural = 's', position = 'bs', symbol = 'Le'}, -- new, redenominited leone
['SLL'] = {page = 'Sierra Leonean leone', plural = 's', position = 'bs', symbol = 'Le'},
['SOS'] = {page = 'Somali shilling', plural = 's', position = 'bs', symbol = 'Sh.So.'},
['SRD'] = {page = 'Surinamese dollar', plural = 's', position = 'b', symbol = 'SR$'},
['SSP'] = {page = 'South Sudanese pound', plural = 's', position = 'bs', symbol = 'SSP'}, -- what is this currency's symbol?
['STN'] = {page = 'São Tomé and Príncipe dobra', plural = 's', position = 'bs', symbol = 'Db'},
['SVC'] = {page = 'Salvadoran colón', plural = 's', position = 'b', symbol = '₡'},
['SYP'] = {page = 'Syrian pound', plural = 's', position = 'bs', symbol = '£S'},
['SZL'] = {page = 'Swazi lilangeni', plural = 'Swazi emalangeni', position = 'b', symbol = 'L'}, -- for the plural symbol 'E', use SZL2
['THB'] = {page = 'Thai baht', plural = '', position = 'b', symbol = '฿'},
['TJS'] = {page = 'Tajikistani somoni', plural = '', position = 'bs', symbol = 'TJS'}, -- what is this currency's symbol?
['TMT'] = {page = 'Turkmenistan manat', plural = '', position = 'bs', symbol = 'T'},
['TND'] = {page = 'Tunisian dinar', plural = 's', position = 'bs', symbol = '<bdi lang="ar">د.ت</bdi>'},
['TOP'] = {page = 'Tongan paʻanga', plural = '', position = 'b', symbol = 'T$'},
['TRY'] = {page = 'Second Turkish lira', plural = '', position = 'b', symbol = '\226\130\186'}, -- U+20BA ₺
['TTD'] = {page = 'Trinidad and Tobago dollar', plural = 's', position = 'b', symbol = 'TT$'},
['TWD'] = {page = 'New Taiwan dollar', plural = 's', position = 'b', symbol = 'NT$'},
['TZS'] = {page = 'Tanzanian shilingi', plural = 's', position = 'bs', symbol = 'TSh'},
['UAH'] = {page = 'Ukrainian hryvnia', plural = '', position = 'b', symbol = '₴'},
['UGX'] = {page = 'Ugandan shilling', plural = 's', position = 'bs', symbol = 'USh'},
['USD'] = {page = 'United States dollar', plural = 's', position = 'b', symbol = 'US$'},
-- ['USN'] = {page = '', plural = '', position = '', symbol = ''}, -- United States dollar (next day) (funds code)
-- ['UYI'] = {page = '', plural = '', position = '', symbol = ''}, -- Uruguay Peso en Unidades Indexadas (URUIURUI) (funds code)
['UYU'] = {page = 'Uruguayan peso', plural = 's', position = 'bs', symbol = '$U'},
['UYW'] = {page = 'Unidad previsional', plural = '', position = 'bs', symbol = '$U'},
['UZS'] = {page = 'Uzbekistani so\'m', plural = '', position = 'bs', symbol = 'UZS'}, -- what is this currency's symbol?
['VED'] = {page = 'Venezuelan Bolívar Soberano', plural = 's', position = 'bs', symbol = 'Bs.S.'},
['VES'] = {page = 'Venezuelan Bolívar Soberano', plural = 's', position = 'bs', symbol = 'Bs.S.'},
['VND'] = {page = 'Vietnamese đồng', plural = '', position = 'b', symbol = '₫'},
['VUV'] = {page = 'Vanuatu vatu', plural = '', position = 'bs', symbol = 'VT'},
['WST'] = {page = 'Samoan tālā', plural = '', position = 'b', symbol = 'WS$'},
['XAF'] = {page = 'Central African CFA franc', plural = 's', position = 'bs', symbol = 'FCFA'},
-- ['XAG'] = {page = '', plural = '', position = '', symbol = ''}, -- Silver (one troy ounce)
-- ['XAU'] = {page = '', plural = '', position = '', symbol = ''}, -- Gold (one troy ounce)
-- ['XBA'] = {page = '', plural = '', position = '', symbol = ''}, -- European Composite Unit (EURCO) (bond market unit)
-- ['XBB'] = {page = '', plural = '', position = '', symbol = ''}, -- European Monetary Unit (E.M.U.-6) (bond market unit)
-- ['XBC'] = {page = '', plural = '', position = '', symbol = ''}, -- European Unit of Account 9 (E.U.A.-9) (bond market unit)
-- ['XBD'] = {page = '', plural = '', position = '', symbol = ''}, -- European Unit of Account 17 (E.U.A.-17) (bond market unit)
['XCD'] = {page = 'East Caribbean dollar', plural = 's', position = 'b', symbol = 'EC$'},
-- ['XDR'] = {page = 'Speacial drawing rights', plural = '', position = '', symbol = ''}, -- Special drawing rights
['XOF'] = {page = 'West African CFA franc', plural = 's', position = 'bs', symbol = 'CFA'},
-- ['XPD'] = {page = '', plural = '', position = '', symbol = ''}, -- Palladium (one troy ounce)
['XPF'] = {page = 'CFP franc', plural = 's', position = 'bs', symbol = 'F'},
-- ['XPT'] = {page = '', plural = '', position = '', symbol = ''}, -- Platinum (one troy ounce)
-- ['XSU'] = {page = '', plural = '', position = '', symbol = ''}, -- Unified System for Regional Compensation (SUCRE)
-- ['XTS'] = {page = '', plural = '', position = '', symbol = ''}, -- Code reserved for testing purposes
-- ['XUA'] = {page = '', plural = '', position = '', symbol = ''}, -- ADB Unit of Account
['XXX'] = {page = '¤', plural = '', position = 'b', symbol = '¤'}, -- No (specific) currency
['YER'] = {page = 'Yemeni rial', plural = 's', position = 'b', symbol = '\239\183\188'}, -- U+FDFC ﷼
['ZAR'] = {page = 'South African rand', plural = '', position = 'b', symbol = 'R'},
['ZMW'] = {page = 'Zambian kwacha', plural = '', position = 'bs', symbol = 'ZMW'},
['ZWL'] = {page = 'Zimbabwean dollar', plural = 's', position = 'bs', symbol = 'ZWL'},
}
--[[--------------------------< C O D E T R A N S L A T I O N >----------------------------------------------
This table lists some of the 'aliases' that refer to currencies listed in the properties table by their ISO 4217 codes
The form is:
['<non-standard code>'] = '<ISO 4217 code>'
]]
local code_translation = {
['EGE'] = 'EUR', -- where???
['EU'] = 'EUR',
['EURO'] = 'EUR',
['FRW'] = 'RWF',
['GB'] = 'GBP',
['KSH'] = 'KES',
['NEP'] = 'NPR',
['POUND'] = 'GBP',
['POUND STERLING'] = 'GBP',
['RMB'] = 'CNY',
['STERLING'] = 'GBP',
['STG'] = 'GBP',
['TSH'] = 'TZS',
['UK'] = 'GBP',
['UKP'] = 'GBP', -- non-standard
['UNITED STATES'] = 'USD',
['US'] = 'USD',
['U.S.'] = 'USD',
['USA'] = 'USD',
['USH'] = 'UGX',
['$'] = 'USD', -- U+0024, pass-through, default to US dollar
['¤'] = 'XXX', -- U+00A4, pass-through, default to no specific unit
['£'] = 'GBP', -- U+00A3, pass-through, default to UK pound
['¥'] = 'JPY', -- U+00A5, pass-through, default to JP yen
['€'] = 'EUR', -- U+20AC, pass-through
['(='] = 'EUR', -- non-standard (DR-DOS 7.02 COUNTRY.SYS, 1998)
}
--[[--------------------------< N O N _ S T A N D A R D _ P R O P E R T I E S >--------------------------------
Currencies from the source templates that are identified by non-standard codes and which for whatever reason don't translate well to an existing ISO 4217 currency. This list may include historical ISO 4217 codes.
Meanings of the table entries are the same as those described for currency_properties table except:
['???'] – currency codes that are non-standard or that cannot be translated to a standard code. Uppercase only,
these codes MUST be different from the codes in the main currency properties table and different from
the codes in the translation table (if they are not, they will not be found).
]]
local non_standard_properties = {
['BITCOIN'] = {page = 'bitcoin', plural = 's', position = 'bs', symbol = 'BTC'},
['BTC'] = {page = 'bitcoin', plural = 's', position = 'bs', symbol = 'BTC'},
['BYR'] = {page = 'Belarusian ruble', plural = 's', position = 'bs', symbol = 'Br'}, -- historical, former ISO 4217 code
['DDM'] = {page = 'East German mark', plural = '', position = 'as', symbol = 'M'}, -- historical (1968-1990), former ISO 4217 code
['DDM2'] = {page = 'East German mark', plural = '', position = 'as', symbol = 'DDM'}, -- historical (1968-1990), former ISO 4217 code, use currency code instead of symbol
['DEM'] = {page = 'German mark', plural = '', position = 'as', symbol = 'DM'}, -- historical (1948-2001), former ISO 4217 code
['DEM2'] = {page = 'German mark', plural = '', position = 'bs', symbol = 'DEM'}, -- historical (1948-2001), former ISO 4217 code, use currency code instead of symbol
['DKK2'] = {page = 'Danish krone', plural = 'Danish kroner', position = 'bs', symbol = 'DKK'},
['DM'] = {page = 'German mark', plural = '', position = 'as', symbol = 'DM'}, -- historical (1948-2001)
['ESP'] = {page = 'Spanish peseta', plural = '', position = 'as', symbol = '₧'}, -- historical, former ISO 4217 code
['FRF'] = {page = 'French franc', plural = 's', position = 'as', symbol = 'F'}, -- historical
['GRD'] = {page = 'Greek drachma', plural = 'Greek drachmae', position = 'as', symbol = 'Δρ.'}, -- historical
['IEP'] = {page = 'Irish pound', plural = 's', position = 'b', symbol = '£'}, -- historical, former ISO 4217 code
['LKR2'] = {page = 'Sri Lankan rupee', plural = 's', position = 'bs', symbol = 'LKR'}, -- use currency code instead of symbol
['LSL2'] = {page = 'Lesotho loti', plural = 'Lesotho maloti', position = 'b', symbol = 'M'}, -- plural symbol version of LSL (singular)
['LTL'] = {page = 'Lithuanian litas', plural = 'Lithuanian litai', position = 'as', symbol = 'Lt'}, -- historical
['MARK'] = {page = 'German gold mark', plural = '', position = 'as', symbol = 'ℳ'}, -- historical (1871-1914)
['MRO'] = {page = 'Mauritanian ouguiya', plural = '', position = 'bs', symbol = 'UM'}, -- historical, former ISO 4217 code
['NLG'] = {page = 'Dutch guilder', plural = 's', position = 'b', symbol = 'ƒ'}, -- historical, former ISO 4217 code
['NOK2'] = {page = 'Norwegian krone', plural = 'Norwegian kroner', position = 'bs', symbol = 'NOK'},
['RM'] = {page = 'reichsmark', plural = '', position = 'as', symbol = 'ℛℳ'}, -- historical (1924-1948)
['SEK2'] = {page = 'Swedish krona', plural = 'Swedish kronor', position = 'bs', symbol = 'SEK'},
['STD'] = {page = 'São Tomé and Príncipe dobra', plural = 's', position = 'bs', symbol = 'Db'}, -- historical, former ISO 4217 code
['SZL2'] = {page = 'Swazi lilangeni', plural = 'Swazi emalangeni', position = 'b', symbol = 'E'}, -- plural symbol version of SZL (singular)
-- ['USS'] = {page = '', plural = '', position = '', symbol = ''}, -- United States dollar (same day) (funds code), historical, former ISO 4217 code
['US$'] = {page = 'United States dollar', plural = 's', position = 'b', symbol = '$'}, -- special case: like "USD" and "$", but will display only the short form of the symbol "$" (useful for articles, where it is obvious enough not to display "US$" as a symbol, but still link to "United States dollar" (for foreign readers)
['XBT'] = {page = 'bitcoin', plural = 's', position = 'bs', symbol = 'BTC'},
['XEU'] = {page = 'European currency unit', plural = 's', position = 'as', symbol = '₠'}, -- ECU U+20A0, historical (1979-1998), former ISO 4217 code
['XEU2'] = {page = 'European currency unit', plural = 's', position = 'bs', symbol = 'XEU'}, -- ECU, historical (1979-1998), former ISO 4217 code, use currency code instead of symbol
-- ['XFU'] = {page = '', plural = '', position = '', symbol = ''}, -- UIC franc (special settlement currency), historical, former ISO 4217 code
}
return {currency_properties=currency_properties, code_translation=code_translation, non_standard_properties=non_standard_properties}