Modul:Valuta/Presentation
Utseende
Dokumentationen för denna modul kan skapas på Modul:Valuta/Presentation/dok
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 = 'Emiratisk dirham', plural = 'Emiratiska dirhams', position = 'bs', symbol = 'DH'},
['AFN'] = {page = 'Afghansk afghani', plural = 'Afghanska afghanis', position = 'b', symbol = '\216\139'}, -- U+060B ؋
['ALL'] = {page = 'Albansk lek', plural = 'Albanska lekë', position = 'b', symbol = 'L'},
['AMD'] = {page = 'Armenisk dram', plural = 'Armeniska dramer', position = 'bs', symbol = '\214\143'}, -- U+058F ֏
['ANG'] = {page = 'Antillergulden', plural = '', position = 'b', symbol = 'NAƒ'},
['AOA'] = {page = 'Angolansk kwanza', plural = 'Angolanska kwanzas', position = 'bs', symbol = 'Kz'},
['ARS'] = {page = 'Argentinsk peso', plural = 'Argentinska pesos', position = 'b', symbol = 'AR$'},
['AUD'] = {page = 'Australisk dollar', plural = 'Australiska dollar', position = 'b', symbol = 'A$'},
['AWG'] = {page = 'Arubansk florin', plural = 'Arubanska floriner', position = 'bs', symbol = 'Afl.'},
['AZN'] = {page = 'Azerisk manat', plural = 'Azerisk manat', position = 'b', symbol = '\226\130\188'}, -- U+20BC
['BAM'] = {page = 'Konvertibilna marka', plural = '', position = 'bs', symbol = 'KM'},
['BBD'] = {page = 'Barbadisk dollar', plural = 'Barbadiska dollar', position = 'bs', symbol = 'Bds$'},
['BDT'] = {page = 'Bangladeshisk Taka', plural = 'Bangladeshiska Taka', position = 'b', symbol = '৳'},
['BGN'] = {page = 'Bulgarisk lev', plural = 'Bulgariska levar', position = 'bs', symbol = 'лв.'}, -- levove?
['BHD'] = {page = 'Bahrainsk dinar', plural = 'Bahrainska dinarer', position = 'bs', symbol = '<bdi lang="ar">.د.ب</bdi>'},
['BIF'] = {page = 'Burundiska franc', plural = 'Burundisk francer', position = 'bs', symbol = 'FBu'},
['BMD'] = {page = 'Bermudisk dollar', plural = 'Bermudiska dollar', position = 'b', symbol = 'BD$'},
['BND'] = {page = 'Bruneisk dollar', plural = 'Bruneiska dollar', position = 'b', symbol = 'B$'},
['BOB'] = {page = 'Boliviansk boliviano', plural = 'Bolivianska bolivianos', position = 'bs', symbol = 'Bs.'},
-- ['BOV'] = {page = '', plural = '', position = '', symbol = ''}, -- Bolivian Mvdol (funds code)
['BRL'] = {page = 'Brasiliansk real', plural = 'Brasilianska realer', position = 'b', symbol = 'R$'},
['BSD'] = {page = 'Bahamansk dollar', plural = 'Bahamanska dollar', position = 'b', symbol = 'B$'},
['BTN'] = {page = 'Bhutanesisk Ngultrum', plural = 'Bhutanesiska Ngultrum', position = 'bs', symbol = 'Nu.'},
['BWP'] = {page = 'Botswansk pula', plural = 'Botswanska pulas', position = 'bs', symbol = 'P'},
['BYN'] = {page = 'Belarusisk rubel', plural = '', position = 'bs', symbol = 'Br'},
['BZD'] = {page = 'Belizisk dollar', plural = 'Beliziska dollar', position = 'b', symbol = 'BZ$'},
['CAD'] = {page = 'Kanadensisk dollar', plural = 'Kanadensiska dollar', position = 'b', symbol = 'C$'},
['CDF'] = {page = 'Kongolesisk franc', plural = 'Kongolesiska francer', position = 'bs', symbol = 'FC'},
-- ['CHE'] = {page = '', plural = '', position = '', symbol = ''}, -- WIR Euro (complementary currency)
['CHF'] = {page = 'Schweizisk franc', plural = 'Schweiziska francer', 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 = 'Chilensk peso', plural = 'Chilenska pesos', position = 'b', symbol = 'CL$'},
['CNY'] = {page = 'Renminbi', plural = '', position = 'bs', symbol = 'CN¥'},
['COP'] = {page = 'Colombiansk peso', plural = 'Colombianska pesos', position = 'b', symbol = 'COL$'},
-- ['COU'] = {page = '', plural = '', position = '', symbol = ''}, -- Unidad de Valor Real (UVR) (funds code) (Columbia)
['CRC'] = {page = 'Costaricansk colón', plural = 'Costaricanska colóns', position = 'b', symbol = '₡'},
['CUC'] = {page = 'Cuban convertible peso', plural = 's', position = 'b', symbol = 'CUC$'},
['CUP'] = {page = 'Kubansk peso', plural = 'Kubanska pesos', position = 'b', symbol = '$MN'},
['CVE'] = {page = 'Kapverdisk escudo', plural = 'Kapverdiska escudo', position = 'd', symbol = '$'}, -- not yet supported position = 'd' replaces decimal with Cifrão ($)
['CZK'] = {page = 'Tjeckisk krona', plural = 'Tjeckiska kronor', position = 'as', symbol = 'Kč'},
['DJF'] = {page = 'Djiboutisk franc', plural = 'Djiboutiska francer', position = 'b', symbol = 'Fdj'},
['DKK'] = {page = 'Dansk krona', plural = 'Danish kroner', position = 'bs', symbol = 'kr.'},
['DOP'] = {page = 'Dominikansk peso', plural = 'Dominikanska pesos', position = 'b', symbol = 'RD$'},
['DZD'] = {page = 'Algerisk dinar', plural = 'Algerisk dinarer', position = 'bs', symbol = '<bdi lang="ar">د.ج</bdi>'},
['EGP'] = {page = 'Egyptiskt pund', plural = 'Egyptiska pund', position = 'b', symbol = 'E£'},
['ERN'] = {page = 'Eritreansk nakfa', plural = 'Eritreanska nakfa', position = 'bs', symbol = 'Nfk'},
['ETB'] = {page = 'Etiopisk Birr', plural = 'Etiopiska Birr', position = 'bs', symbol = 'Br'},
['EUR'] = {page = 'Euro', plural = '', position = 'b', symbol = '€'},
['FJD'] = {page = 'Fijidollar', plural = '', position = 'b', symbol = 'FJ$'},
['FKP'] = {page = 'Falklandspund', plural = '', position = 'b', symbol = 'FK£'},
['GBP'] = {page = 'Brittiskt pund', plural = 'Brittiskta pund', position = 'b', symbol = '£'},
['GEL'] = {page = 'Georgis lari', plural = 'Georgiska lari', position = 'b', symbol = '\226\130\190'}, -- U+20BE ₾
['GHS'] = {page = 'Ghana Cedi', plural = 'Ghana Cedi', position = 'b', symbol = '\226\130\181'}, -- U+20B5 ₵
['GIP'] = {page = 'Gibraltarpund', plural = '', position = 'b', symbol = 'GI£'},
['GMD'] = {page = 'Gambisk dalasi', plural = 'Gambiska dalasi', position = 'bs', symbol = 'D'},
['GNF'] = {page = 'Guinesisk franc', plural = 'Guinesisk francer', position = 'bs', symbol = 'FG'},
['GTQ'] = {page = 'Guatemalansk quetzal', plural = 'Guatemalanska quetzales', position = 'bs', symbol = 'Q'},
['GYD'] = {page = 'Guyansk dollar', plural = 'Guyanska dollar', position = 'b', symbol = 'GY$'},
['HKD'] = {page = 'Hongkongdollar', plural = 'Hongkongdollar', position = 'b', symbol = 'HK$'},
['HNL'] = {page = 'Honduransk lempira', plural = 'Honduranska lempira', position = 'bs', symbol = 'L'},
['HRK'] = {page = 'Kroatisk kuna', plural = 'Kroatiska kuna', position = 'bs', symbol = 'kn'},
['HTG'] = {page = 'Haitisk gourde', plural = 'Haitiska gourdes', position = 'bs', symbol = 'G'},
['HUF'] = {page = 'Ungersk forint', plural = 'Ungerska forinter', position = 'as', symbol = 'Ft'},
['IDR'] = {page = 'Indonesisk rupiah', plural = 'Indonesiska rupiah', position = 'bs', symbol = 'Rp'},
['ILS'] = {page = 'Israelisk ny shekel', plural = 'Israeliska nya shekel', position = 'b', symbol = '₪'},
['INR'] = {page = 'Indisk rupie', plural = 'Indiska rupier', position = 'b', symbol = '\226\130\185'}, -- U+20B9 ₹
['IQD'] = {page = 'Irakisk dinar', plural = 'Irakiska dinarer', position = 'bs', symbol = '<bdi lang="ar">د.ع</bdi>'},
['IRR'] = {page = 'Iransk rial', plural = 'Iranska rial', position = 'b', symbol = '\239\183\188'}, -- U+FDFC ﷼
['ISK'] = {page = 'Isländsk krona', plural = 'Isländska kronor', position = 'bs', symbol = 'ISK'},
['JMD'] = {page = 'Jamaicansk dollar', plural = 'Jamaicanska dollar', position = 'b', symbol = 'J$'},
['JOD'] = {page = 'Jordanian dinar', plural = 's', position = 'bs', symbol = 'JOD'}, -- what is this currency's symbol? Seems to be: د.أ
['JPY'] = {page = 'Japansk yen', plural = 'Japanska yen', position = 'b', symbol = '¥'},
['KES'] = {page = 'Kenyansk shilling', plural = 'Kenyanska shilling', position = 'bs', symbol = 'KSh'},
['KGS'] = {page = 'Kirgizistansk som', plural = 'Kirgizistanska som', position = 'bs', symbol = 'KGS'}, -- what is this currency's symbol?
['KHR'] = {page = 'Kambodjansk riel', plural = 'Kambodjanska riel', position = 'b', symbol = '\225\159\155'}, -- U+17DB ៛
['KMF'] = {page = 'Komoransk franc', plural = 'Komoranska francer', position = 'bs', symbol = 'CF'},
['KPW'] = {page = 'Nordkoreansk won', plural = 'Nordkoreanska won', position = 'b', symbol = '₩'},
['KRW'] = {page = 'Sydkoreansk won', plural = 'Sydkoreanska won', position = 'b', symbol = '₩'},
['KWD'] = {page = 'Kuwaitisk dinar', plural = 'Kuwaitiska dinarer', position = 'bs', symbol = '<bdi lang="ar">د.ك</bdi>'},
['KYD'] = {page = 'Caymansk dollar', plural = 'Caymanska dollar', position = 'b', symbol = 'CI$'},
['KZT'] = {page = 'Kazakstansk tenge', plural = 'Kazakstanska tenge', position = 'b', symbol = '\226\130\184'}, -- U+20B8 ₸
['LAK'] = {page = 'Laotisk Kip', plural = 'Laotiska Kip', position = 'b', symbol = '₭'},
['LBP'] = {page = 'Libanesiskt pund', plural = 'Libanesiska pund', position = 'bs', symbol = '<bdi lang="ar">ل.ل</bdi>'},
['LKR'] = {page = 'Lankesisk rupee', plural = 'Lankesiska rupier', position = 'b', symbol = 'රු.'},
['LRD'] = {page = 'Liberiansk dollar', plural = 'Liberianska dollar', position = 'b', symbol = 'L$'},
['LSL'] = {page = 'Lesothisk loti', plural = 'lesothisk maloti', position = 'b', symbol = 'L'}, -- for the plural symbol 'M', use LSL2
['LYD'] = {page = 'Libysk dinar', plural = 'Libyska dinarer', position = 'bs', symbol = '<bdi lang="ar">ل.د</bdi>'},
['MAD'] = {page = 'Marockansk dirham', plural = 'Marockanska dirham', position = 'bs', symbol = 'MAD'}, -- what is this currency's symbol?
['MDL'] = {page = 'Moldavisk leu', plural = 'Moldaviska lei', position = 'bs', symbol = 'MDL'}, -- what is this currency's symbol?
['MGA'] = {page = 'Madagaskisk ariary', plural = 'Madagaskiska ariary', position = 'bs', symbol = 'Ar'},
['MKD'] = {page = 'Makedonisk denar', plural = 'Makedoniska denarer', position = 'bs', symbol = 'ден'},
['MMK'] = {page = 'Burmesisk kyat', plural = 'Burmesiska kyat', position = 'bs', symbol = 'K'},
['MNT'] = {page = 'Mongolian tögrög', plural = '', position = 'b', symbol = '₮'},
['MOP'] = {page = 'Macaoisk pataca', plural = 'Macaoiska patacas', position = 'b', symbol = 'MOP$'},
['MRU'] = {page = 'Mauretansk ouguiya', plural = 'Mauretansk ouguiyas', position = 'bs', symbol = 'UM'},
['MUR'] = {page = 'Mauritisk rupie', plural = 'Mauritiska rupier', position = 'bs', symbol = '₨'},
['MVR'] = {page = 'Maldivian rufiyaa', plural = '', position = 'bs', symbol = 'Rf.'},
['MWK'] = {page = 'Malawisk kwacha', plural = 'Malawiska kwacha', position = 'b', symbol = 'K'},
['MXN'] = {page = 'Mexikansk peso', plural = 'Mexikanska pesos', position = 'b', symbol = 'Mex$'},
-- ['MXV'] = {page = '', plural = '', position = '', symbol = ''}, -- Mexican Unidad de Inversion (UDI) (funds code)
['MYR'] = {page = 'Malaysisk ringgit', plural = 'Malaysiska ringgit', position = 'b', symbol = 'RM'},
['MZN'] = {page = 'Mozambican metical', plural = 'Mozambican meticais', position = 'bs', symbol = 'MT'},
['NAD'] = {page = 'Namibisk dollar', plural = 'Namibiska dollar', position = 'b', symbol = 'N$'},
['NGN'] = {page = 'Nigerian naira', plural = '', position = 'b', symbol = '₦'},
['NIO'] = {page = 'Nicaraguansk córdoba', plural = 'Nicaraguanska córdobas', position = 'b', symbol = 'C$'},
['NOK'] = {page = 'Norsk krona', plural = 'Norska kronor', position = 'bs', symbol = 'kr'},
['NPR'] = {page = 'Nepalesisk rupie', plural = 'Nepalesiska rupier', position = 'bs', symbol = 'रू'},
['NZD'] = {page = 'Nyzeeländsk dollar', plural = 'Nyzeeländska dollar', position = 'b', symbol = 'NZ$'},
['OMR'] = {page = 'Omansk rial', plural = 'Omansk rial', position = 'bs', symbol = '<bdi lang="ar">ر.ع.</bdi>'},
['PAB'] = {page = 'Panamansk balboa', plural = 'Panamanska balboas', position = 'b', symbol = 'B/.'},
['PEN'] = {page = 'Peruansk sol', plural = 'Peruvian soles', position = 'b', symbol = 'S/.'},
['PGK'] = {page = 'Papuansk Kina', plural = 'Papuanska Kinas', position = 'bs', symbol = 'K'},
['PHP'] = {page = 'Filippinsk peso', plural = 'Filippinska pesos', position = 'b', symbol = '₱'},
['PKR'] = {page = 'Pakistansk rupie', plural = 's', position = 'b', symbol = '₨'},
['PLN'] = {page = 'Polsk złoty', plural = 'Polska złoty', position = 'a', symbol = 'zł'},
['PYG'] = {page = 'Paraguayansk guaraní', plural = 'Paraguayanska guaranís', position = 'as', symbol = '\226\130\178'}, -- U+20B2 ₲
['QAR'] = {page = 'Qatarisk rial', plural = 'Qatariska rial', position = 'bs', symbol = '<bdi lang="ar">ر.ق</bdi>'},
['RON'] = {page = 'Rumänsk leu', plural = 'Rumänska lei', position = 'bs', symbol = 'RON'}, -- what is this currency's symbol?
['RSD'] = {page = 'Serbisk dinar', plural = 'Serbiska dinarer', position = 'bs', symbol = 'din.'},
['RUB'] = {page = 'Rysk rubel', plural = 'Ryska rubel', position = 'as', symbol = '\226\130\189'}, -- U+20BD ₽ after August 1998 redenomination
['RWF'] = {page = 'Rwandisk franc', plural = 'Rwandiska francer', position = 'bs', symbol = 'FRw'},
['SAR'] = {page = 'Saudiarabisk rial', plural = 'Saudiarabiska rial', position = 'bs', symbol = '<bdi lang="ar">ر.س</bdi>'},
['SBD'] = {page = 'Salomondollar', plural = '', position = 'b', symbol = 'SI$'},
['SCR'] = {page = 'Seychellisk rupie', plural = 's', position = 'bs', symbol = 'SR'},
['SDG'] = {page = 'Sudanesiskt pund', plural = 'Sudanesiska pund', position = 'bs', symbol = '<bdi lang="ar">ج.س.</bdi>'},
['SEK'] = {page = 'Svensk krona', plural = 'Svenska kronor', position = 'as', symbol = 'kr'},
['SGD'] = {page = 'Singaporiansk dollar', plural = 'Singaporianska dollar', position = 'b', symbol = 'S$'},
['SHP'] = {page = 'Sankthelenskt pund', plural = 'Sankthelenska pund', position = 'b', symbol = 'SH£'},
['SLL'] = {page = 'Sierraleonsk Leone', plural = 'Sierraleonska Leone', position = 'bs', symbol = 'Le'},
['SOS'] = {page = 'Somalisk shilling', plural = 'Somaliska shilling', position = 'bs', symbol = 'Sh.So.'},
['SRD'] = {page = 'Surinamesisk dollar', plural = 'Surinamesiska dollar', position = 'b', symbol = 'SR$'},
['SSP'] = {page = 'Sydsudanesiskt pund', plural = 'Sydsudanesiska pund ', position = 'bs', symbol = 'SSP'}, -- what is this currency's symbol?
['STN'] = {page = 'Saotomeansk Dobra', plural = 'Saotomeanska Dobras', position = 'bs', symbol = 'Db'},
['SVC'] = {page = 'Salvadoransk colón', plural = 'Salvadoranska colón', position = 'b', symbol = '₡'},
['SYP'] = {page = 'Syriskt pund', plural = 'Syriska pund', position = 'bs', symbol = '£S'},
['SZL'] = {page = 'Swazisk lilangeni', plural = 'Swaziska lilangeni', position = 'b', symbol = 'L'}, -- for the plural symbol 'E', use SZL2
['THB'] = {page = 'Thailändsk baht', plural = 'Thailändska baht', position = 'b', symbol = '฿'},
['TJS'] = {page = 'Tadzjikistansk somoni', plural = 'Tadzjikistanska somoni', position = 'bs', symbol = 'TJS'}, -- what is this currency's symbol?
['TMT'] = {page = 'Turkmenistansk manat', plural = 'Turkmenistanska manat', position = 'bs', symbol = 'T'},
['TND'] = {page = 'Tunisisk dinar', plural = 'Tunisiska dinarer', position = 'bs', symbol = '<bdi lang="ar">د.ت</bdi>'},
['TOP'] = {page = 'Tongansk paʻanga', plural = 'Tonganska paʻangas', position = 'b', symbol = 'T$'},
['TRY'] = {page = 'Turkisk lira', plural = 'Turkiska lira', position = 'b', symbol = '\226\130\186'}, -- U+20BA ₺
['TTD'] = {page = 'Trinidaddollar', plural = '', position = 'b', symbol = 'TT$'},
['TWD'] = {page = 'Taiwanesisk dollar', plural = 'Taiwanesiska dollar', position = 'b', symbol = 'NT$'},
['TZS'] = {page = 'Tanzanisk shilling', plural = 'Tanzaniska shilling', position = 'bs', symbol = 'TSh'},
['UAH'] = {page = 'Ukrainsk hryvnia', plural = 'Ukrainska hryvnia', position = 'b', symbol = '₴'},
['UGX'] = {page = 'Ugandisk shilling', plural = 'Ugandiska shilling', position = 'bs', symbol = 'USh'},
['USD'] = {page = 'Amerikansk dollar', plural = 'Amerikanska dollar', 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 = 'Uruguayansk peso', plural = 'Uruguayanska pesos', position = 'bs', symbol = '$U'},
['UYW'] = {page = 'Unidad previsional', plural = '', position = 'bs', symbol = '$U'},
['UZS'] = {page = 'Uzbekistanski so\'m', plural = 'Uzbekistanska so\'m', position = 'bs', symbol = 'UZS'}, -- what is this currency's symbol?
['VES'] = {page = 'Venezuelan Bolívar Soberano', plural = 's', position = 'bs', symbol = 'Bs.S.'},
['VND'] = {page = 'Vietnamesisk dong', plural = 'Vietnamesiska dong', position = 'b', symbol = '₫'},
['VUV'] = {page = 'Vanuatu vatu', plural = '', position = 'bs', symbol = 'VT'},
['WST'] = {page = 'Samoan tālā', plural = '', position = 'b', symbol = 'WS$'},
['XAF'] = {page = 'Centralafrikansk CFA Franc', plural = 'Centralafrikanska CFA Francer', 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 = 'Östkaribisk dollar', plural = 'Östkaribiska dollar', position = 'b', symbol = 'EC$'},
-- ['XDR'] = {page = 'Speacial drawing rights', plural = '', position = '', symbol = ''}, -- Special drawing rights
['XOF'] = {page = 'Västafrikansk CFA franc', plural = 'Västafrikanska CFA francer', 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 = 'Jemenitisk rial', plural = 'Jemenitiska rial', position = 'b', symbol = '\239\183\188'}, -- U+FDFC ﷼
['ZAR'] = {page = 'Sydafrikansk rand', plural = 'Sydafrikanska rand', position = 'b', symbol = 'R'},
['ZMW'] = {page = 'Zambisk kwacha', plural = 'Zambiska kwacha', position = 'bs', symbol = 'ZMW'},
['ZWL'] = {page = 'Zimbabwisk dollar', plural = 'Zimbabwiska dollar', 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',
['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 = {
['ARA'] = {page = 'Argentinsk austral', plural = 'Argentinska austral', position = 'b', symbol = '₳'}, -- historical, former currency.
['BITCOIN'] = {page = 'bitcoin', plural = 's', position = 'bs', symbol = 'BTC'},
['BTC'] = {page = 'bitcoin', plural = 's', position = 'bs', symbol = '₿'}, -- U+20BF
['BYR'] = {page = 'Belarusisk rubel', plural = 'Belarusiska rubel', position = 'bs', symbol = 'Br'}, -- historical, former ISO 4217 code
['DDM'] = {page = 'Östtysk Mark', plural = 'Östtyska Mark', position = 'as', symbol = 'M'}, -- historical (1968-1990), former ISO 4217 code
['DDM2'] = {page = 'Östtysk Mark', plural = 'Östtyska Mark', position = 'as', symbol = 'DDM'}, -- historical (1968-1990), former ISO 4217 code, use currency code instead of symbol
['DEM'] = {page = 'D-mark', plural = '', position = 'as', symbol = 'DM'}, -- historical (1948-2001), former ISO 4217 code
['DEM2'] = {page = 'D-mark', plural = '', position = 'bs', symbol = 'DEM'}, -- historical (1948-2001), former ISO 4217 code, use currency code instead of symbol
['DKK2'] = {page = 'Dansk krona', plural = 'Danska kronor', position = 'bs', symbol = 'DKK'},
['DM'] = {page = 'D-mark', plural = '', position = 'as', symbol = 'DM'}, -- historical (1948-2001)
['ESP'] = {page = 'Spansk peseta', plural = 'Spanska pesetas', position = 'as', symbol = '₧'}, -- historical, former ISO 4217 code
['FRF'] = {page = 'Fransk franc', plural = 'Franska francer', position = 'as', symbol = 'F'}, -- historical. See U+20A3 ₣.
['GRD'] = {page = 'Grekisk drakma', plural = 'Grekiska drakma', position = 'as', symbol = 'Δρ.'}, -- historical. See also U+20AF.
['IEP'] = {page = 'Irländskt pund', plural = 'Irländska pund', position = 'b', symbol = '£'}, -- historical, former ISO 4217 code
['LKR2'] = {page = 'Lankesisk rupie', plural = 'Lankesiska rupier', position = 'bs', symbol = 'LKR'}, -- use currency code instead of symbol
['LSL2'] = {page = 'Lesothisk loti', plural = 'Lesothiska maloti', position = 'b', symbol = 'M'}, -- plural symbol version of LSL (singular)
['LTL'] = {page = 'Litauisk litas', plural = 'Litauisk litai', position = 'as', symbol = 'Lt'}, -- historical
['MARK'] = {page = 'Tysk Goldmark', plural = 'Tyska Goldmark', position = 'as', symbol = 'ℳ'}, -- historical (1871-1914)
['MRO'] = {page = 'Mauretansk ouguiya', plural = 'Mauretanska ouguiya', position = 'bs', symbol = 'UM'}, -- historical, former ISO 4217 code
['NLG'] = {page = 'Nederländsk Gulden', plural = 'Nederländska Gulden', position = 'b', symbol = 'ƒ'}, -- historical, former ISO 4217 code
['NOK2'] = {page = 'Norsk krona', plural = 'Norska kronor', position = 'bs', symbol = 'NOK'},
['RM'] = {page = 'Riksmark', plural = '', position = 'as', symbol = 'ℛℳ'}, -- historical (1924-1948)
['SEK2'] = {page = 'Svensk krona', plural = 'Svenska kronor', position = 'bs', symbol = 'SEK'},
['STD'] = {page = 'Saotomeansk Dobra', plural = 'Saotomeanska Dobras', position = 'bs', symbol = 'Db'}, -- historical, former ISO 4217 code
['SZL2'] = {page = 'Swazisk lilangeni', plural = 'Swaziska lilangeni', 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 = 'Europeisk valutaenhet', plural = 'Europeiska valutaenheter', position = 'as', symbol = '₠'}, -- ECU U+20A0, historical (1979-1998), former ISO 4217 code
['XEU2'] = {page = 'Europeisk valutaenhet', plural = 'Europeiska valutaenheter', 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}