Template:Currency/testcases
| This is the template test cases page for the sandbox of Template:Currency. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
| Related pages |
|---|
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.
Contents
short form
| code | {{currency}} |
{{currency/new}}
|
|---|---|---|
| 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 | C$1,000 | C$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 |
| CVE | 1.000$00 | 1.000$00 |
| CVE | 1.000$00 | 1.000$00 |
| CVE | 1.000$00 | 1.000$01 |
| CZK | 1,000 Kč | 1,000 Kč |
| 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 | E£1,000 | E£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,000zł | 1,000zł |
| 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 |
| VEF | {{currency}} – invalid code (help) | {{currency}} – invalid code (help) |
| 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 | R1,000 | R1,000 |
| ZMW | ZMW 1,000 | ZMW 1,000 |
long form
translated codes
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.
| code | {{currency}} |
{{currency/new}}
|
|---|---|---|
| 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-statndard codes
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.
| code | {{currency}} |
{{currency/new}} |
notes |
|---|---|---|---|
| BITCOIN | BTC 1,000 | BTC 1,000 | |
| BTC | BTC 1,000 | BTC 1,000 | |
| DKK2 | DKK 1,000 | DKK 1,000 | to avoid kr symbol confusion |
| LKR2 | LKR 1,000 | LKR 1,000 | |
| LSL2 | M1,000 | M1,000 | plural symbol version of LSL (singular) |
| NOK2 | NOK 1,000 | NOK 1,000 | to avoid kr symbol confusion |
| SEK2 | SEK 1,000 | SEK 1,000 | to avoid kr symbol confusion |
| SZL2 | E1,000 | E1,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
| code | {{currency}} |
{{currency/new}}
|
|---|---|---|
| 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 |