Module:Currency/Presentation: Difference between revisions
Jump to navigation
Jump to search
(Changed CAD from unusual "Can$" to much more common "CA$", as per talk page.) |
m (1 revision imported) |
Latest revision as of 20:26, 8 April 2024
Documentation for this module may be created at Module:Currency/Presentation/doc
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 = 'Emirati dirham', plural = 's', position = 'bs', symbol = 'Dhs.'}, -- for the singular symbol 'Dh', use AED2
['AFN'] = {page = 'Afghan afghani', plural = 'afghanis', position = 'bs', symbol = 'Afs.'}, -- for the singular symbol 'Af', use AFN2
['ALL'] = {page = 'Albanian lek', plural = 'Albanian lekë', position = 'as', symbol = 'lek'},
['AMD'] = {page = 'Armenian dram', plural = 's', position = 'b', symbol = '֏'}, -- 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 = 'Arg$'},
['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 = 'Azeri manats', position = 'b', symbol = '₼'}, -- U+20BC ₼
['BAM'] = {page = 'Bosnia and Herzegovina convertible mark', plural = 'convertible marks', position = 'bs', symbol = 'KM'},
['BBD'] = {page = 'Barbadian dollar', plural = 's', position = 'b', symbol = 'Bds$'},
['BDT'] = {page = 'Bangladeshi taka', plural = '', position = 'bs', symbol = 'Tk.'},
['BGN'] = {page = 'Bulgarian lev', plural = 'Bulgarian leva', position = 'as', symbol = 'lev'},
['BHD'] = {page = 'Bahraini dinar', plural = 's', position = 'bs', symbol = 'BD'},
['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 = 'Bolivian 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 = '', position = 'bs', symbol = 'Nu.'},
['BWP'] = {page = 'Botswana pula', plural = '', position = 'bs', symbol = 'P'},
['BYN'] = {page = 'Belarusian ruble', plural = 's', position = 'bs', symbol = 'Rbls'}, -- for the singular symbol 'Rbl', use BYN2
['BZD'] = {page = 'Belize dollar', plural = 's', position = 'b', symbol = 'BZ$'},
['CAD'] = {page = 'Canadian dollar', plural = 's', position = 'b', symbol = 'CA$'},
['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 = 'SFr'},
-- ['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 = 'Ch$'},
['CNY'] = {page = 'Renminbi', plural = 'renminbi yuan', position = 'bs', symbol = 'RMB'},
['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 colón', plural = 'Costa Rican colónes', position = 'b', symbol = '₡'},
['CUC'] = {page = 'Cuban convertible peso', plural = 'convertible pesos', position = 'b', symbol = 'CUC$'},
['CUP'] = {page = 'Cuban peso', plural = 's', position = 'b', symbol = 'Cu$'},
['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 = 's', position = 'bs', symbol = 'Kč'},
['DJF'] = {page = 'Djiboutian franc', plural = 's', position = 'bs', symbol = 'Fdj'},
['DKK'] = {page = 'Danish krone', plural = 'Danish kroner', position = 'bs', symbol = 'DKr'},
['DOP'] = {page = 'Dominican peso', plural = 's', position = 'b', symbol = 'RD$'},
['DZD'] = {page = 'Algerian dinar', plural = 's', position = 'bs', symbol = 'DA'},
['EGP'] = {page = 'Egyptian pound', plural = 's', position = 'bs', symbol = 'LE'},
['ERN'] = {page = 'Eritrean nakfa', plural = '', position = 'bs', symbol = 'Nkf'},
['ETB'] = {page = 'Ethiopian birr', plural = '', position = 'bs', symbol = 'Br'},
['EUR'] = {page = 'Euro', plural = 'euros', position = 'b', symbol = '€'},
['FJD'] = {page = 'Fijian dollar', plural = 's', position = 'b', symbol = 'FJ$'},
['FKP'] = {page = 'Falkland Islands pound', plural = 'Falkland pounds', position = 'b', symbol = '£'},
['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 = '£'},
['GMD'] = {page = 'Gambian dalasi', plural = 's', 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 = 'G$'},
['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 = 's', position = 'bs', symbol = 'Ft'},
['IDR'] = {page = 'Indonesian rupiah', plural = '', position = 'bs', symbol = 'Rp'},
['ILS'] = {page = 'Israeli new shekel', plural = 'New Israeli shekels', position = 'bs', symbol = 'NIS'},
['INR'] = {page = 'Indian rupee', plural = 's', position = 'b', symbol = '\226\130\185'}, -- U+20B9 ₹
['IQD'] = {page = 'Iraqi dinar', plural = 's', position = 'bs', symbol = 'ID'},
['IRR'] = {page = 'Iranian rial', plural = 's', position = 'bs', symbol = 'Rls'},
['ISK'] = {page = 'Icelandic króna', plural = '', position = 'bs', symbol = 'IKr'},
['JMD'] = {page = 'Jamaican dollar', plural = 's', position = 'b', symbol = 'J$'},
['JOD'] = {page = 'Jordanian dinar', plural = 's', position = 'bs', symbol = 'JD'},
['JPY'] = {page = 'Japanese yen', plural = '', position = 'b', symbol = '¥'},
['KES'] = {page = 'Kenyan shilling', plural = 's', position = 'bs', symbol = 'KSh'},
['KGS'] = {page = 'Kyrgyzstani som', plural = 'Kyrgyz som', position = 'as', symbol = 'som'},
['KHR'] = {page = 'Cambodian riel', plural = 's', position = 'bs', symbol = 'CR'},
['KMF'] = {page = 'Comorian franc', plural = 's', position = 'bs', symbol = 'FC'},
['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 = 'KD'},
['KYD'] = {page = 'Cayman Islands dollar', plural = 's', position = 'b', symbol = 'CI$'},
['KZT'] = {page = 'Kazakhstani tenge', plural = 'Kazakh tenge', position = 'b', symbol = '\226\130\184'}, -- U+20B8 ₸
['LAK'] = {page = 'Lao kip', plural = 'Laos kip', position = 'b', symbol = '₭'},
['LBP'] = {page = 'Lebanese pound', plural = 's', position = 'bs', symbol = 'LL'},
['LKR'] = {page = 'Sri Lankan rupee', plural = 's', position = 'bs', symbol = 'SL Rs.'},
['LRD'] = {page = 'Liberian dollar', plural = 's', position = 'b', symbol = 'L$'},
['LSL'] = {page = 'Lesotho loti', plural = 'Lesotho maloti', position = 'bs', symbol = 'L'}, -- for the plural symbol 'M', use LSL2
['LYD'] = {page = 'Libyan dinar', plural = 's', position = 'bs', symbol = 'LD'},
['MAD'] = {page = 'Moroccan dirham', plural = 's', position = 'bs', symbol = 'DH'},
['MDL'] = {page = 'Moldovan leu', plural = 'Moldovan lei', position = 'as', symbol = 'lei'},
['MGA'] = {page = 'Malagasy ariary', plural = '', position = 'bs', symbol = 'Ar'},
['MKD'] = {page = 'Macedonian denar', plural = 's', position = 'bs', symbol = '<small>DEN</small>'},
['MMK'] = {page = 'Myanmar kyat', plural = 's', position = 'bs', symbol = 'Ks'},
['MNT'] = {page = 'Mongolian tögrög', plural = 's', position = 'b', symbol = '₮'},
['MOP'] = {page = 'Macanese pataca', plural = 's', position = 'bs', symbol = 'MOP'},
['MRU'] = {page = 'Mauritanian ouguiya', plural = '', position = 'bs', symbol = 'UM'},
['MUR'] = {page = 'Mauritian rupee', plural = 's', position = 'bs', symbol = 'MRs.'},
['MVR'] = {page = 'Maldivian rufiyaa', plural = '', position = 'bs', symbol = 'Rf.'},
['MWK'] = {page = 'Malawian kwacha', plural = '', position = 'bs', symbol = 'MK'},
['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 = 'bs', 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 = 'NKr'},
['NPR'] = {page = 'Nepalese rupee', plural = 's', position = 'bs', symbol = 'NRs.'},
['NZD'] = {page = 'New Zealand dollar', plural = 's', position = 'b', symbol = 'NZ$'},
['OMR'] = {page = 'Omani rial', plural = 's', position = 'bs', symbol = 'RO'},
['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 = 'bs', symbol = 'PRs.'},
['PLN'] = {page = 'Polish złoty', plural = '', position = 'bs', symbol = 'zł'},
['PYG'] = {page = 'Paraguayan guaraní', plural = 'Paraguayan guaraníes', position = 'b', symbol = '\226\130\178'}, -- U+20B2 ₲
['QAR'] = {page = 'Qatari riyal', plural = 's', position = 'bs', symbol = 'QR'},
['RON'] = {page = 'Romanian leu', plural = 'Romanian lei', position = 'as', symbol = 'lei'},
['RSD'] = {page = 'Serbian dinar', plural = 's', position = 'bs', symbol = '<small>DIN</small>'},
['RUB'] = {page = 'Russian ruble', plural = 's', position = 'a', 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 = 'SRls'},
['SBD'] = {page = 'Solomon Islands dollar', plural = 's', position = 'b', symbol = 'SI$'},
['SCR'] = {page = 'Seychellois rupee', plural = 's', position = 'bs', symbol = 'SRs'},
['SDG'] = {page = 'Sudanese pound', plural = 's', position = 'bs', symbol = 'LS'},
['SEK'] = {page = 'Swedish krona', plural = 'Swedish kronor', position = 'bs', symbol = 'SKr'},
['SGD'] = {page = 'Singapore dollar', plural = 's', position = 'b', symbol = 'S$'},
['SHP'] = {page = 'Saint Helena pound', plural = 's', position = 'b', symbol = '£'},
['SLE'] = {page = 'Sierra Leonean leone', plural = 's', position = 'bs', symbol = 'Le'}, -- new, redenominated 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 = 'Sur$'},
['SSP'] = {page = 'South Sudanese pound', plural = 's', position = 'bs', symbol = 'SSP'},
['STN'] = {page = 'São Tomé and Príncipe dobra', plural = 's', position = 'bs', symbol = 'Db'},
['SVC'] = {page = 'Salvadoran colón', plural = 'Salvadoran colónes', position = 'b', symbol = '₡'},
['SYP'] = {page = 'Syrian pound', plural = 's', position = 'bs', symbol = 'LS'},
['SZL'] = {page = 'Swazi lilangeni', plural = 'Swazi emalangeni', position = 'bs', symbol = 'L'}, -- for the plural symbol 'E', use SZL2
['THB'] = {page = 'Thai baht', plural = '', position = 'b', symbol = '฿'},
['TJS'] = {page = 'Tajikistani somoni', plural = 'Tajik somoni', position = 'bs', symbol = 'SM'},
['TMT'] = {page = 'Turkmenistani manat', plural = 'Turkmen manats', position = 'a', symbol = 'm'},
['TND'] = {page = 'Tunisian dinar', plural = 's', position = 'bs', symbol = 'DT'},
['TOP'] = {page = 'Tongan paʻanga', plural = '', position = 'b', symbol = 'T$'},
['TRY'] = {page = '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 shilling', 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 = 'US dollars', 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 soum', plural = 'Uzbek soum', position = 'as', symbol = 'soum'},
['VED'] = {page = 'Venezuelan digital bolívar', plural = 'digital bolívares', position = 'bs', symbol = 'Bs.D'},
['VES'] = {page = 'Venezuelan sovereign bolívar', plural = 'sovereign bolívares', position = 'bs', symbol = 'Bs.S'},
['VND'] = {page = 'Vietnamese đồng', plural = '', position = 'bs', symbol = 'VND'},
['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 = 'Central African francs', position = 'bs', symbol = 'F.CFA'},
-- ['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 = 'West African francs', position = 'bs', symbol = 'F.CFA'},
-- ['XPD'] = {page = '', plural = '', position = '', symbol = ''}, -- Palladium (one troy ounce)
['XPF'] = {page = 'CFP franc', plural = 's', position = 'bs', symbol = 'F.CFP'},
-- ['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 = 'bs', symbol = 'YRls'},
['ZAR'] = {page = 'South African rand', plural = '', position = 'bs', symbol = 'R'},
['ZMW'] = {page = 'Zambian kwacha', plural = '', position = 'bs', symbol = 'ZK'},
['ZWL'] = {page = 'Zimbabwean dollar', plural = 's', position = 'b', symbol = 'Z$'},
}
--[[--------------------------< 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 = {
['AED2'] = {page = 'Emirati dirham', plural = 'Emirati dirham', position = 'bs', symbol = 'Dh.'}, -- singular symbol version of AED (plural)
['AFN2'] = {page = 'Afghan afghani', plural = 'afghani', position = 'bs', symbol = 'Af.'}, -- singular symbol version of AFN (plural)
['BITCOIN'] = {page = 'bitcoin', plural = 's', position = 'bs', symbol = 'BTC'},
['BTC'] = {page = 'bitcoin', plural = 's', position = 'bs', symbol = 'BTC'},
['BYN2'] = {page = 'Belarusian ruble', plural = '', position = 'bs', symbol = 'Rbl'}, -- singular symbol version of BYN (plural)
['BYR'] = {page = 'Belarusian ruble', plural = 's', position = 'bs', symbol = 'Rbls'}, -- historical, former ISO 4217 code
['CHF2'] = {page = 'Swiss franc', plural = 's', position = 'as', symbol = 'CHF'}, -- use currency code instead of symbol
['DDM'] = {page = 'East German mark', plural = 's', position = 'bs', symbol = 'M'}, -- historical (1968-1990), former ISO 4217 code
['DDM2'] = {page = 'East German mark', plural = 's', position = 'as', symbol = 'DDM'}, -- historical (1968-1990), former ISO 4217 code, use currency code instead of symbol
['DEM'] = {page = 'Deutsche Mark', plural = 's', position = 'bs', symbol = 'DM'}, -- historical (1948-2001), former ISO 4217 code
['DEM2'] = {page = 'Deutsche Mark', plural = 's', position = 'as', symbol = 'DEM'}, -- historical (1948-2001), former ISO 4217 code, use currency code instead of symbol
['DKK2'] = {page = 'Danish krone', plural = 'Danish kroner', position = 'as', symbol = 'DKK'}, -- use currency code instead of symbol
['DM'] = {page = 'Deutsche Mark', plural = 's', position = 'bs', symbol = 'DM'}, -- historical (1948-2001)
['ESP'] = {page = 'Spanish peseta', plural = 's', position = 'as', symbol = 'Pts'}, -- historical, former ISO 4217 code
['FRF'] = {page = 'French franc', plural = 's', position = 'as', symbol = 'F'}, -- historical
['GRD'] = {page = 'Modern drachma', plural = 'Modern drachmae', position = 'bs', symbol = '₯'}, -- historical
['IEP'] = {page = 'Irish pound', plural = 's', position = 'b', symbol = '£'}, -- historical, former ISO 4217 code
['LKR2'] = {page = 'Sri Lankan rupee', plural = 's', position = 'as', symbol = 'LKR'}, -- use currency code instead of symbol
['LSL2'] = {page = 'Lesotho loti', plural = 'Lesotho maloti', position = 'bs', 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 = 's', 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 = 'as', symbol = 'NOK'}, -- use currency code instead of symbol
['PTE'] = {page = 'Portuguese escudo', plural = 's', position = 'd', symbol = '$'}, -- historical (1911-2001)
['RM'] = {page = 'reichsmark', plural = 's', position = 'as', symbol = 'ℛℳ'}, -- historical (1924-1948)
['SEK2'] = {page = 'Swedish krona', plural = 'Swedish kronor', position = 'as', symbol = 'SEK'}, -- use currency code instead of symbol
['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 = 'bs', 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 = 'bs', symbol = '₠'}, -- ECU U+20A0, historical (1979-1998), former ISO 4217 code
['XEU2'] = {page = 'European currency unit', plural = 's', position = 'as', 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}