Jump to content

ထႅမ်းပလဵတ်ႉ:Currency/testcases

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး

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.

currency code test
code {{currency}} {{currency/sandbox}}
AED Dhs. 1,000 Dhs. 1,000
AFN Afs. 1,000 Afs. 1,000
ALL 1,000 lek 1,000 lek
AMD ֏1,000 ֏1,000
ANG NAƒ1,000 NAƒ1,000
AOA Kz 1,000 Kz 1,000
ARS Arg$1,000 Arg$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 Tk. 1,000 Tk. 1,000
BGN 1,000 lev 1,000 lev
BHD BD 1,000 BD 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 Rbls 1,000 Rbls 1,000
BZD BZ$1,000 BZ$1,000
CAD Can$1,000 Can$1,000
CDF FC 1,000 FC 1,000
CHE {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CHF SFr 1,000 SFr 1,000
CHW {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CLF {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CLP Ch$1,000 Ch$1,000
CNY RMB 1,000 RMB 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 Cu$1,000 Cu$1,000
CVE 1.000$00 1.000$00
CZK  1,000  1,000
DJF Fdj 1,000 Fdj 1,000
DKK DKr 1,000 DKr 1,000
DOP RD$1,000 RD$1,000
DZD DA 1,000 DA 1,000
EGP LE 1,000 LE 1,000
ERN Nkf 1,000 Nkf 1,000
ETB Br 1,000 Br 1,000
EUR 1,000 1,000
FJD FJ$1,000 FJ$1,000
FKP £1,000 £1,000
GBP £1,000 £1,000
GEL 1,000 1,000
GHS 1,000 1,000
GIP £1,000 £1,000
GMD D 1,000 D 1,000
GNF FG 1,000 FG 1,000
GTQ Q 1,000 Q 1,000
GYD G$1,000 G$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 Ft 1,000 Ft 1,000
IDR Rp 1,000 Rp 1,000
ILS NIS 1,000 NIS 1,000
INR 1,000 1,000
IQD ID 1,000 ID 1,000
IRR Rls 1,000 Rls 1,000
ISK IKr 1,000 IKr 1,000
JMD J$1,000 J$1,000
JOD JD 1,000 JD 1,000
JPY ¥1,000 ¥1,000
KES KSh 1,000 KSh 1,000
KGS 1,000 som 1,000 som
KHR CR 1,000 CR 1,000
KMF FC 1,000 FC 1,000
KPW 1,000 1,000
KRW 1,000 1,000
KWD KD 1,000 KD 1,000
KYD CI$1,000 CI$1,000
KZT 1,000 1,000
LAK 1,000 1,000
LBP LL 1,000 LL 1,000
LKR SL Rs. 1,000 SL Rs. 1,000
LRD L$1,000 L$1,000
LSL L 1,000 L 1,000
LYD LD 1,000 LD 1,000
MAD DH 1,000 DH 1,000
MDL 1,000 lei 1,000 lei
MGA Ar 1,000 Ar 1,000
MKD DEN 1,000 DEN 1,000
MMK Ks 1,000 Ks 1,000
MNT 1,000 1,000
MOP MOP 1,000 MOP 1,000
MRO UM 1,000 UM 1,000
MUR MRs. 1,000 MRs. 1,000
MVR Rf. 1,000 Rf. 1,000
MWK MK 1,000 MK 1,000
MXN Mex$1,000 Mex$1,000
MXV {{currency}} – invalid code (help) {{currency}} – invalid code (help)
MYR RM 1,000 RM 1,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 NKr 1,000 NKr 1,000
NPR NRs. 1,000 NRs. 1,000
NZD NZ$1,000 NZ$1,000
OMR RO 1,000 RO 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 PRs. 1,000 PRs. 1,000
PLN  1,000  1,000
PYG 1,000 1,000
QAR QR 1,000 QR 1,000
RON 1,000 lei 1,000 lei
RSD DIN 1,000 DIN 1,000
RUB 1,000 1,000
RWF FRw 1,000 FRw 1,000
SAR SRls 1,000 SRls 1,000
SBD SI$1,000 SI$1,000
SCR SRs 1,000 SRs 1,000
SDG LS 1,000 LS 1,000
SEK SKr 1,000 SKr 1,000
SGD S$1,000 S$1,000
SHP £1,000 £1,000
SLL Le 1,000 Le 1,000
SOS Sh.So. 1,000 Sh.So. 1,000
SRD Sur$1,000 Sur$1,000
SSP SSP 1,000 SSP 1,000
STD Db 1,000 Db 1,000
SYP LS 1,000 LS 1,000
SZL L 1,000 L 1,000
THB ฿1,000 ฿1,000
TJS SM 1,000 SM 1,000
TMT 1,000m 1,000m
TND DT 1,000 DT 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 1,000 soum 1,000 soum
VED Bs.D 1,000 Bs.D 1,000
VND VND 1,000 VND 1,000
VUV VT 1,000 VT 1,000
WST WS$1,000 WS$1,000
XAF F.CFA 1,000 F.CFA 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 F.CFA 1,000 F.CFA 1,000
XPD {{currency}} – invalid code (help) {{currency}} – invalid code (help)
XPF F.CFP 1,000 F.CFP 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 YRls 1,000 YRls 1,000
ZAR R 1,000 R 1,000
ZMW ZK 1,000 ZK 1,000
currency code test
code {{currency}} {{currency/sandbox}}
AED 1,000 Emirati dirhams 1,000 Emirati dirhams
AFN 1,000 afghanis 1,000 afghanis
ALL 1,000 Albanian lekë 1,000 Albanian 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 Azeri manats 1,000 Azeri manats
BAM 1,000 convertible marks 1,000 convertible marks
BBD 1,000 Barbadian dollars 1,000 Barbadian dollars
BDT 1,000 Bangladeshi taka 1,000 Bangladeshi taka
BGN 1,000 Bulgarian leva 1,000 Bulgarian 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 ngultrum 1,000 ngultrum
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 yuan 1,000 renminbi yuan
COP 1,000 Colombian pesos 1,000 Colombian pesos
COU {{currency}} – invalid code (help) {{currency}} – invalid code (help)
CRC 1,000 Costa Rican colónes 1,000 Costa Rican colónes
CUC 1,000 convertible pesos 1,000 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 korunas 1,000 Czech korunas
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 pounds 1,000 Falkland 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 dalasis 1,000 Gambian dalasis
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 forints 1,000 Hungarian forints
IDR 1,000 Indonesian rupiah 1,000 Indonesian rupiah
ILS 1,000 New Israeli shekels 1,000 New Israeli 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 Kyrgyz som 1,000 Kyrgyz 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 Kazakh tenge 1,000 Kazakh tenge
LAK 1,000 Laos kip 1,000 Laos 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 denars 1,000 Macedonian denars
MMK 1,000 Myanmar kyats 1,000 Myanmar kyats
MNT 1,000 Mongolian tögrögs 1,000 Mongolian tögrögs
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 dinars 1,000 Serbian dinars
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 Tajik somoni 1,000 Tajik somoni
TMT 1,000 Turkmen manats 1,000 Turkmen manats
TND 1,000 Tunisian dinars 1,000 Tunisian dinars
TOP 1,000 Tongan paʻanga 1,000 Tongan paʻanga
TRY 1,000 Turkish lira 1,000 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 shillings 1,000 Tanzanian shillings
UAH 1,000 Ukrainian hryvnia 1,000 Ukrainian hryvnia
UGX 1,000 Ugandan shillings 1,000 Ugandan shillings
USD 1,000 US dollars 1,000 US 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 Uzbek soum 1,000 Uzbek soum
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 francs 1,000 Central African 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 francs 1,000 West African 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

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 NRs. 1,000 NRs. 1,000
POUND £1,000 £1,000
POUND STERLING £1,000 £1,000
RMB RMB 1,000 RMB 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

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 Dh. 1 Dh. 1 singular symbol version of AED (plural)
AFN2 Af. 1 Af. 1 singular symbol version of AFN (plural)
BITCOIN BTC 1,000 BTC 1,000
BTC BTC 1,000 BTC 1,000
BYN2 Rbl 1 Rbl 1 singular symbol version of BYN (plural)
CHF2 1,000 CHF CHF ISO code variant
DKK2 1,000 DKK 1,000 DKK ISO code variant
LKR2 1,000 LKR 1,000 LKR ISO code variant
LSL2 M 1,000 M 1,000 plural symbol version of LSL (singular)
NOK2 1,000 NOK 1,000 NOK ISO code variant
SEK2 1,000 SEK 1,000 SEK ISO code variant
SZL2 E 1,000 E 1,000 plural symbol version of SZL (singular)
XBT BTC 1,000 BTC 1,000

linked symbol and currency name

[မႄးထတ်းငဝ်ႈငႃႇ]

Uses |linked=no to turn off wikilinks

currency code test
code {{currency}} {{currency/sandbox}}
AED Dhs. 1,000 Dhs. 1,000
AED 1,000 Emirati dirhams 1,000 Emirati dirhams
AFN Afs. 1,000 Afs. 1,000
AFN 1,000 afghanis 1,000 afghanis
GBP £1,000 £1,000
GBP 1,000 pounds sterling 1,000 pounds sterling