This testcases page compares the sub-template driven version against the Lua module driven version. Codes in the tables are taken from the table in [[ISO 4217].

The error messages are for the currencies that don't exist in a real world sense – they cannot be put into a pocket and used at the local shops. The Lua module supports all of the real-world currencies; the sub-templates do not.

short form edit

currency code test
code {{currency}} {{currency/sandbox}}
AED DH 1,000 DH 1,000
AFN ؋1,000 ؋1,000
ALL L1,000 L1,000
AMD ֏ 1,000 ֏ 1,000
ANG NAƒ1,000 NAƒ1,000
AOA Kz 1,000 Kz 1,000
ARS AR$1,000 AR$1,000
AUD A$1,000 A$1,000
AWG Afl. 1,000 Afl. 1,000
AZN 1,000 1,000
BAM KM 1,000 KM 1,000
BBD Bds$ 1,000 Bds$ 1,000
BDT 1,000 1,000
BGN лв. 1,000 лв. 1,000
BHD .د.ب 1,000 .د.ب 1,000
BIF FBu 1,000 FBu 1,000
BMD BD$1,000 BD$1,000
BND B$1,000 B$1,000
BOB Bs. 1,000 Bs. 1,000
BOV {{currency}} – invalid code (help) {{currency}} – invalid code (help)
BRL R$1,000 R$1,000
BSD B$1,000 B$1,000
BTN Nu. 1,000 Nu. 1,000
BWP P 1,000 P 1,000
BYR Br 1,000 Br 1,000
BZD BZ$1,000 BZ$1,000
CAD CA$1,000 CA$1,000
CDF FC 1,000 FC 1,000
CHE {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CHF CHF 1,000 CHF 1,000
CHW {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CLF {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CLP CL$1,000 CL$1,000
CNY CN¥ 1,000 CN¥ 1,000
COP COL$1,000 COL$1,000
COU {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CRC 1,000 1,000
CUC CUC$1,000 CUC$1,000
CUP $MN1,000 $MN1,000
CVE 1.000$00 1.000$00
CZK 1,000  1,000 
DJF Fdj1,000 Fdj1,000
DKK kr. 1,000 kr. 1,000
DOP RD$1,000 RD$1,000
DZD د.ج 1,000 د.ج 1,000
EGP 1,000 1,000
ERN Nfk 1,000 Nfk 1,000
ETB Br 1,000 Br 1,000
EUR 1,000 1,000
FJD FJ$1,000 FJ$1,000
FKP FK£1,000 FK£1,000
GBP £1,000 £1,000
GEL 1,000 1,000
GHS 1,000 1,000
GIP GI£1,000 GI£1,000
GMD D 1,000 D 1,000
GNF FG 1,000 FG 1,000
GTQ Q 1,000 Q 1,000
GYD GY$1,000 GY$1,000
HKD HK$1,000 HK$1,000
HNL L 1,000 L 1,000
HRK kn 1,000 kn 1,000
HTG G 1,000 G 1,000
HUF 1,000 Ft 1,000 Ft
IDR Rp 1,000 Rp 1,000
ILS 1,000 1,000
INR 1,000 1,000
IQD د.ع 1,000 د.ع 1,000
IRR 1,000 1,000
ISK ISK 1,000 ISK 1,000
JMD J$1,000 J$1,000
JOD JOD 1,000 JOD 1,000
JPY ¥1,000 ¥1,000
KES KSh 1,000 KSh 1,000
KGS KGS 1,000 KGS 1,000
KHR 1,000 1,000
KMF CF 1,000 CF 1,000
KPW 1,000 1,000
KRW 1,000 1,000
KWD د.ك 1,000 د.ك 1,000
KYD CI$1,000 CI$1,000
KZT 1,000 1,000
LAK 1,000 1,000
LBP ل.ل 1,000 ل.ل 1,000
LKR රු.1,000 රු.1,000
LRD L$1,000 L$1,000
LSL L1,000 L1,000
LYD ل.د 1,000 ل.د 1,000
MAD MAD 1,000 MAD 1,000
MDL MDL 1,000 MDL 1,000
MGA Ar 1,000 Ar 1,000
MKD ден 1,000 ден 1,000
MMK K 1,000 K 1,000
MNT 1,000 1,000
MOP MOP$1,000 MOP$1,000
MRO UM 1,000 UM 1,000
MUR  1,000  1,000
MVR Rf. 1,000 Rf. 1,000
MWK K1,000 K1,000
MXN Mex$1,000 Mex$1,000
MXV {{currency}} – invalid code (help) {{currency}} – invalid code (help)
MYR RM1,000 RM1,000
MZN MT 1,000 MT 1,000
NAD N$1,000 N$1,000
NGN 1,000 1,000
NIO C$1,000 C$1,000
NOK kr 1,000 kr 1,000
NPR रू 1,000 रू 1,000
NZD NZ$1,000 NZ$1,000
OMR ر.ع. 1,000 ر.ع. 1,000
PAB B/.1,000 B/.1,000
PEN S/.1,000 S/.1,000
PGK K 1,000 K 1,000
PHP 1,000 1,000
PKR 1,000 1,000
PLN 1,000 1,000
PYG 1,000  1,000 
QAR ر.ق 1,000 ر.ق 1,000
RON RON 1,000 RON 1,000
RSD din. 1,000 din. 1,000
RUB 1,000  1,000 
RWF FRw 1,000 FRw 1,000
SAR ر.س 1,000 ر.س 1,000
SBD SI$1,000 SI$1,000
SCR SR 1,000 SR 1,000
SDG ج.س. 1,000 ج.س. 1,000
SEK kr 1,000 kr 1,000
SGD S$1,000 S$1,000
SHP SH£1,000 SH£1,000
SLL Le 1,000 Le 1,000
SOS Sh.So. 1,000 Sh.So. 1,000
SRD SR$1,000 SR$1,000
SSP SSP 1,000 SSP 1,000
STD Db 1,000 Db 1,000
SYP £S 1,000 £S 1,000
SZL L1,000 L1,000
THB ฿1,000 ฿1,000
TJS TJS 1,000 TJS 1,000
TMT T 1,000 T 1,000
TND د.ت 1,000 د.ت 1,000
TOP T$1,000 T$1,000
TRY 1,000 1,000
TTD TT$1,000 TT$1,000
TWD NT$1,000 NT$1,000
TZS TSh 1,000 TSh 1,000
UAH 1,000 1,000
UGX USh 1,000 USh 1,000
USD US$1,000 US$1,000
USN {{currency}} – invalid code (help) {{currency}} – invalid code (help)
USS {{currency}} – invalid code (help) {{currency}} – invalid code (help)
UYI {{currency}} – invalid code (help) {{currency}} – invalid code (help)
UYU $U 1,000 $U 1,000
UZS UZS 1,000 UZS 1,000
VED Bs.S. 1,000 Bs.S. 1,000
VND 1,000 1,000
VUV VT 1,000 VT 1,000
WST WS$1,000 WS$1,000
XAF FCFA 1,000 FCFA 1,000
XAG {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XAU {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XBA {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XBB {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XBC {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XBD {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XCD EC$1,000 EC$1,000
XDR {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XFU {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XOF CFA 1,000 CFA 1,000
XPD {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XPF F 1,000 F 1,000
XPT {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XSU {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XTS {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XUA {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XXX ¤1,000 ¤1,000
YER 1,000 1,000
ZAR R 1,000 R 1,000
ZMW ZMW 1,000 ZMW 1,000

long form edit

currency code test
code {{currency}} {{currency/sandbox}}
AED 1,000 United Arab Emirates dirhams 1,000 United Arab Emirates dirhams
AFN 1,000 Afghan afghanis 1,000 Afghan afghanis
ALL 1,000 lekë 1,000 lekë
AMD 1,000 Armenian drams 1,000 Armenian drams
ANG 1,000 Netherlands Antillean guilders 1,000 Netherlands Antillean guilders
AOA 1,000 Angolan kwanzas 1,000 Angolan kwanzas
ARS 1,000 Argentine pesos 1,000 Argentine pesos
AUD 1,000 Australian dollars 1,000 Australian dollars
AWG 1,000 Aruban florins 1,000 Aruban florins
AZN 1,000 Azerbaijani manats 1,000 Azerbaijani manats
BAM 1,000 Bosnia and Herzegovina konvertibilna markas 1,000 Bosnia and Herzegovina konvertibilna markas
BBD 1,000 Barbados dollars 1,000 Barbados dollars
BDT 1,000 Bangladeshi taka 1,000 Bangladeshi taka
BGN 1,000 leva 1,000 leva
BHD 1,000 Bahraini dinars 1,000 Bahraini dinars
BIF 1,000 Burundian francs 1,000 Burundian francs
BMD 1,000 Bermudian dollars 1,000 Bermudian dollars
BND 1,000 Brunei dollars 1,000 Brunei dollars
BOB 1,000 Bolivian bolivianos 1,000 Bolivian bolivianos
BOV {{currency}} – invalid code (help) {{currency}} – invalid code (help)
BRL 1,000 Brazilian reals 1,000 Brazilian reals
BSD 1,000 Bahamian dollars 1,000 Bahamian dollars
BTN 1,000 Ngultrums 1,000 Ngultrums
BWP 1,000 Botswana pula 1,000 Botswana pula
BYR 1,000 Belarusian rubles 1,000 Belarusian rubles
BZD 1,000 Belize dollars 1,000 Belize dollars
CAD 1,000 Canadian dollars 1,000 Canadian dollars
CDF 1,000 Congolese francs 1,000 Congolese francs
CHE {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CHF 1,000 Swiss francs 1,000 Swiss francs
CHW {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CLF {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CLP 1,000 Chilean pesos 1,000 Chilean pesos
CNY 1,000 Renminbi 1,000 Renminbi
COP 1,000 Colombian pesos 1,000 Colombian pesos
COU {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CRC 1,000 Costa Rican colons 1,000 Costa Rican colons
CUC 1,000 Cuban convertible pesos 1,000 Cuban convertible pesos
CUP 1,000 Cuban pesos 1,000 Cuban pesos
CVE 1,000 Cape Verde escudos 1,000 Cape Verde escudos
CZK 1,000 Czech koruna 1,000 Czech koruna
DJF 1,000 Djiboutian francs 1,000 Djiboutian francs
DKK 1,000 Danish kroner 1,000 Danish kroner
DOP 1,000 Dominican pesos 1,000 Dominican pesos
DZD 1,000 Algerian dinars 1,000 Algerian dinars
EGP 1,000 Egyptian pounds 1,000 Egyptian pounds
ERN 1,000 Eritrean nakfa 1,000 Eritrean nakfa
ETB 1,000 Ethiopian birr 1,000 Ethiopian birr
EUR 1,000 Euros 1,000 Euros
FJD 1,000 Fijian dollars 1,000 Fijian dollars
FKP 1,000 Falkland Islands pounds 1,000 Falkland Islands pounds
GBP 1,000 pounds sterling 1,000 pounds sterling
GEL 1,000 Georgian lari 1,000 Georgian lari
GHS 1,000 Ghanaian cedi 1,000 Ghanaian cedi
GIP 1,000 Gibraltar pounds 1,000 Gibraltar pounds
GMD 1,000 Gambian dalasi 1,000 Gambian dalasi
GNF 1,000 Guinean francs 1,000 Guinean francs
GTQ 1,000 Guatemalan quetzales 1,000 Guatemalan quetzales
GYD 1,000 Guyanese dollars 1,000 Guyanese dollars
HKD 1,000 Hong Kong dollars 1,000 Hong Kong dollars
HNL 1,000 Honduran lempiras 1,000 Honduran lempiras
HRK 1,000 Croatian kuna 1,000 Croatian kuna
HTG 1,000 Haitian gourdes 1,000 Haitian gourdes
HUF 1,000 Hungarian forint 1,000 Hungarian forint
IDR 1,000 Indonesian rupiah 1,000 Indonesian rupiah
ILS 1,000 Israeli new shekels 1,000 Israeli new shekels
INR 1,000 Indian rupees 1,000 Indian rupees
IQD 1,000 Iraqi dinars 1,000 Iraqi dinars
IRR 1,000 Iranian rials 1,000 Iranian rials
ISK 1,000 Icelandic króna 1,000 Icelandic króna
JMD 1,000 Jamaican dollars 1,000 Jamaican dollars
JOD 1,000 Jordanian dinars 1,000 Jordanian dinars
JPY 1,000 Japanese yen 1,000 Japanese yen
KES 1,000 Kenyan shillings 1,000 Kenyan shillings
KGS 1,000 Kyrgyzstani som 1,000 Kyrgyzstani som
KHR 1,000 Cambodian riels 1,000 Cambodian riels
KMF 1,000 Comorian francs 1,000 Comorian francs
KPW 1,000 North Korean won 1,000 North Korean won
KRW 1,000 South Korean won 1,000 South Korean won
KWD 1,000 Kuwaiti dinars 1,000 Kuwaiti dinars
KYD 1,000 Cayman Islands dollars 1,000 Cayman Islands dollars
KZT 1,000 Kazakhstani tenge 1,000 Kazakhstani tenge
LAK 1,000 Lao kip 1,000 Lao kip
LBP 1,000 Lebanese pounds 1,000 Lebanese pounds
LKR 1,000 Sri Lankan rupees 1,000 Sri Lankan rupees
LRD 1,000 Liberian dollars 1,000 Liberian dollars
LSL 1,000 Lesotho maloti 1,000 Lesotho maloti
LYD 1,000 Libyan dinars 1,000 Libyan dinars
MAD 1,000 Moroccan dirhams 1,000 Moroccan dirhams
MDL 1,000 Moldovan lei 1,000 Moldovan lei
MGA 1,000 Malagasy ariary 1,000 Malagasy ariary
MKD 1,000 Macedonian denari 1,000 Macedonian denari
MMK 1,000 Burmese kyats 1,000 Burmese kyats
MNT 1,000 Mongolian tögrög 1,000 Mongolian tögrög
MOP 1,000 Macanese patacas 1,000 Macanese patacas
MRO 1,000 Mauritanian ouguiya 1,000 Mauritanian ouguiya
MUR 1,000 Mauritian rupees 1,000 Mauritian rupees
MVR 1,000 Maldivian rufiyaa 1,000 Maldivian rufiyaa
MWK 1,000 Malawian kwacha 1,000 Malawian kwacha
MXN 1,000 Mexican pesos 1,000 Mexican pesos
MXV {{currency}} – invalid code (help) {{currency}} – invalid code (help)
MYR 1,000 Malaysian ringgits 1,000 Malaysian ringgits
MZN 1,000 Mozambican meticais 1,000 Mozambican meticais
NAD 1,000 Namibian dollars 1,000 Namibian dollars
NGN 1,000 Nigerian naira 1,000 Nigerian naira
NIO 1,000 Nicaraguan córdobas 1,000 Nicaraguan córdobas
NOK 1,000 Norwegian kroner 1,000 Norwegian kroner
NPR 1,000 Nepalese rupees 1,000 Nepalese rupees
NZD 1,000 New Zealand dollars 1,000 New Zealand dollars
OMR 1,000 Omani rials 1,000 Omani rials
PAB 1,000 Panamanian balboas 1,000 Panamanian balboas
PEN 1,000 Peruvian soles 1,000 Peruvian soles
PGK 1,000 Papua New Guinean kina 1,000 Papua New Guinean kina
PHP 1,000 Philippine pesos 1,000 Philippine pesos
PKR 1,000 Pakistani rupees 1,000 Pakistani rupees
PLN 1,000 Polish złoty 1,000 Polish złoty
PYG 1,000 Paraguayan guaraníes 1,000 Paraguayan guaraníes
QAR 1,000 Qatari riyals 1,000 Qatari riyals
RON 1,000 Romanian lei 1,000 Romanian lei
RSD 1,000 Serbian dinar 1,000 Serbian dinar
RUB 1,000 Russian rubles 1,000 Russian rubles
RWF 1,000 Rwandan francs 1,000 Rwandan francs
SAR 1,000 Saudi riyals 1,000 Saudi riyals
SBD 1,000 Solomon Islands dollars 1,000 Solomon Islands dollars
SCR 1,000 Seychellois rupees 1,000 Seychellois rupees
SDG 1,000 Sudanese pounds 1,000 Sudanese pounds
SEK 1,000 Swedish kronor 1,000 Swedish kronor
SGD 1,000 Singapore dollars 1,000 Singapore dollars
SHP 1,000 Saint Helena pounds 1,000 Saint Helena pounds
SLL 1,000 Sierra Leonean leones 1,000 Sierra Leonean leones
SOS 1,000 Somali shillings 1,000 Somali shillings
SRD 1,000 Surinamese dollars 1,000 Surinamese dollars
SSP 1,000 South Sudanese pounds 1,000 South Sudanese pounds
STD 1,000 São Tomé and Príncipe dobras 1,000 São Tomé and Príncipe dobras
SYP 1,000 Syrian pounds 1,000 Syrian pounds
SZL 1,000 Swazi emalangeni 1,000 Swazi emalangeni
THB 1,000 Thai baht 1,000 Thai baht
TJS 1,000 Tajikistani somoni 1,000 Tajikistani somoni
TMT 1,000 Turkmenistan manat 1,000 Turkmenistan manat
TND 1,000 Tunisian dinars 1,000 Tunisian dinars
TOP 1,000 Tongan paʻanga 1,000 Tongan paʻanga
TRY 1,000 Second Turkish lira 1,000 Second Turkish lira
TTD 1,000 Trinidad and Tobago dollars 1,000 Trinidad and Tobago dollars
TWD 1,000 New Taiwan dollars 1,000 New Taiwan dollars
TZS 1,000 Tanzanian shilingis 1,000 Tanzanian shilingis
UAH 1,000 Ukrainian hryvnia 1,000 Ukrainian hryvnia
UGX 1,000 Ugandan shillings 1,000 Ugandan shillings
USD 1,000 United States dollars 1,000 United States dollars
USN {{currency}} – invalid code (help) {{currency}} – invalid code (help)
USS {{currency}} – invalid code (help) {{currency}} – invalid code (help)
UYI {{currency}} – invalid code (help) {{currency}} – invalid code (help)
UYU 1,000 Uruguayan pesos 1,000 Uruguayan pesos
UZS 1,000 Uzbekistani so'm 1,000 Uzbekistani so'm
VEF {{currency}} – invalid code (help) {{currency}} – invalid code (help)
VND 1,000 Vietnamese đồng 1,000 Vietnamese đồng
VUV 1,000 Vanuatu vatu 1,000 Vanuatu vatu
WST 1,000 Samoan tālā 1,000 Samoan tālā
XAF 1,000 Central African CFA francs 1,000 Central African CFA francs
XAG {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XAU {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XBA {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XBB {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XBC {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XBD {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XCD 1,000 East Caribbean dollars 1,000 East Caribbean dollars
XDR {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XFU {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XOF 1,000 West African CFA francs 1,000 West African CFA francs
XPD {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XPF 1,000 CFP francs 1,000 CFP francs
XPT {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XSU {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XTS {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XUA {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XXX 1,000 ¤ 1,000 ¤
YER 1,000 Yemeni rials 1,000 Yemeni rials
ZAR 1,000 South African rand 1,000 South African rand
ZMW 1,000 Zambian kwacha 1,000 Zambian kwacha

translated codes edit

Codes in this table were found in the sub-templates. A translation table in the Module code maps these non-standard codes to the standard ISO 4217 codes for rendering.

currency code translation test
code {{currency}} {{currency/sandbox}}
EGE 1,000 1,000
EU 1,000 1,000
EUMELN {{currency}} – invalid code (help) {{currency}} – invalid code (help)
EURO 1,000 1,000
FRW FRw 1,000 FRw 1,000
KNAAK {{currency}} – invalid code (help) {{currency}} – invalid code (help)
KSH KSh 1,000 KSh 1,000
NEP रू 1,000 रू 1,000
POUND £1,000 £1,000
POUND STERLING £1,000 £1,000
RMB CN¥ 1,000 CN¥ 1,000
TEURO {{currency}} – invalid code (help) {{currency}} – invalid code (help)
THE SINGLE CURRENCY {{currency}} – invalid code (help) {{currency}} – invalid code (help)
TSH TSh 1,000 TSh 1,000
UK £1,000 £1,000
UNITED STATES US$1,000 US$1,000
US US$1,000 US$1,000
U.S. US$1,000 US$1,000
USA US$1,000 US$1,000
USH USh 1,000 USh 1,000

non-standard codes edit

Codes in this table were found in the sub-templates. A separate table in the Module code allows rendering of currencies that do not conform to ISO 4217.

non-standard code test
code {{currency}} {{currency/sandbox}} notes
AED2 {{currency}} – invalid code (help) {{currency}} – invalid code (help) singular symbol version of AED (plural)
AFN2 {{currency}} – invalid code (help) {{currency}} – invalid code (help) singular symbol version of AFN (plural)
BITCOIN BTC 1,000 BTC 1,000
BTC BTC 1,000 BTC 1,000
BYN2 {{currency}} – invalid code (help) {{currency}} – invalid code (help) singular symbol version of BYN (plural)
CHF2 {{currency}} – invalid code (help) {{currency}} – invalid code (help) ISO code variant
DKK2 DKK 1,000 DKK 1,000 ISO code variant
LKR2 LKR 1,000 LKR 1,000 ISO code variant
LSL2 M1,000 M1,000 plural symbol version of LSL (singular)
NOK2 NOK 1,000 NOK 1,000 ISO code variant
SEK2 SEK 1,000 SEK 1,000 ISO code variant
SZL2 E1,000 E1,000 plural symbol version of SZL (singular)
XBT BTC 1,000 BTC 1,000

linked symbol and currency name edit

Uses |linked=no to turn off wikilinks

currency code test
code {{currency}} {{currency/sandbox}}
AED DH 1,000 DH 1,000
AED 1,000 United Arab Emirates dirhams 1,000 United Arab Emirates dirhams
AFN ؋1,000 ؋1,000
AFN 1,000 Afghan afghanis 1,000 Afghan afghanis
GBP £1,000 £1,000
GBP 1,000 pounds sterling 1,000 pounds sterling