Template:CurrencyCode: Difference between revisions

Content deleted Content added
Venezuela to VEF
update TM (Turkmenistan) to TMT
 
(10 intermediate revisions by the same user not shown)
Line 1:
{{#switch: {{uc:{{{1}}}}}
| MUUS = USD
| SVCA = USDCAD
| AU = AUD
| NZ = NZD
| GB = GBP
| AD | AL | AM | AT | AZ | BE | BY | CI | CY | DE | EE | ES | FI | FR | GF | GR | HR | IE | IT | LT | LU | LV | LY | MC | ME | MG | MT | NL | PT | RE | RS | SI | SK | SM | SR | VA = EUR
| AE = AED
| AGAF = XCD USD
| AG = XCD
| AN = ANG
| ARAO = ARS USD
| PGAR = AUDARS
| KIAS = AUDUSD
| NRAW = AUDUSD
| VU = AUD
| AU = AUD
| BB = BBD
| BD = BDT
| BF = USD
| BG = BGN
| BH = BHD
| BI = USD
| BJ = USD
| BM = BMD
| BN = USD
| BO = BOB
| BR = BRL
| BS = USD
| BW = USD
| BZ = BZD
| CA = CAD
| CF = USD
| LICG = CHFUSD
| CH = CHF
| CK = NZD
| CL = CLP
| CM = USD
| CN = CNY
| CO = COP
| CR = CRC
| CZCV = CZK USD
| CZ = CZK
| DJ = USD
| DK = DKK
| DM = XCD
| DO = DOP
| DZ = DZD
| EC = USD
| EG = EGP
| FOER = DKKUSD
| ET = USD
| FJ = FJD
| MWFM = GBPUSD
| SDFO = GBPDKK
| GA = USD
| GB = GBP
| GD = XCD
| GE = USD
| GL = DKK
| GM = USD
| GQ = USD
| GT = GTQ
| HKGU = HKD USD
| GW = USD
| HK = HKD
| HN = HNL
| HRHU = HRKHUF
| HUID = HUF IDR
| IDIL = IDR ILS
| ILIN = ILS INR
| NPIQ = INRUSD
| INIS = INR USD
| JM = JMD
| JO = JOD
| JP = JPY
| KE = KES
| KH = USD
| KI = AUD
| KM = USD
| KN = XCD
| KRKP = KRW USD
| KWKR = USD KRW
| KW = USD
| KZ = KZT
| LB = LBP
| LC = XCD
| LI = CHF
| LK = LKR
| LTLR = LTL USD
| LV = EUR
| MA = MAD
| MD = USD
| MH = USD
| MK = MKD
| ML = USD
| MO = USD
| MP = USD
| MR = USD
| MU = USD
| MV = MVR
| MXMW = MXN GBP
| MYMX = MYR MXN
| MY = MYR
| MZ = USD
| NA = USD
| NE = USD
| NG = USD
| NI = NIO
| NO = NOK
| NZNP = NZD INR
| OMNR = OMR AUD
| PAOM = PAB OMR
| PEPA = PEN PAB
| PE = PEN
| PG = AUD
| PH = PHP
| PK = PKR
| PL = PLN
| PR = USD
| PS = USD
| PW = USD
| PY = PYG
| QA = QAR
| RO = RON
| TMRU = RUB
| UZSA = RUBSAR
| RUSB = RUB USD
| SA = SAR
| SC = USD
| SESD = SEK GBP
| SE = SEK
| SG = SGD
| SN = USD
| TDSV = USD
| TD = USD
| TG = USD
| TH = THB
| TNTM = USD TMT
| TRTN = TRY USD
| TTTO = TTDUSD
| TW = TWD
| UA = UAH
| UY = UYU
| VE = VEF
| VN = USD
| ZA = ZAR
| PR = USD
| AF = USD
| AS = USD
| AO = USD
| BW = USD
| BN = USD
| BI = USD
| KH = USD
| KM = USD
| CG = USD
| CV = USD
| DJ = USD
| TP = USD
| ECTR = USD TRY
| ERTT = USDTTD
| ETTW = USDTWD
| GMTZ = USD
| GEUA = USDUAH
| GQUY = USDUYU
| GUUZ = USDUZS
| GW = USD
| IS = USD
| IQ = USD
| KP = USD
| LR = USD
| MH = USD
| MR = USD
| FM = USD
| MD = USD
| MZ = USD
| NA = USD
| NG = USD
| MP = USD
| PW = USD
| PS = USD
| SB = USD
| VC = USD
| TZVE = USD
| TO = USD
| VI = USD
| VN = USD
| VU = AUD
| YE = USD
| ZA = ZAR
| ZM = USD
| ZW = USD
| US = USD
| RS = EUR
| AL = EUR
| AD = EUR
| CY = EUR
| LU = EUR
| MT = EUR
| GF = EUR
| AM = EUR
| AW = EUR
| AZ = EUR
| BY = EUR
| BA = EUR
| CI = EUR
| LY = EUR
| MG = EUR
| MC = EUR
| ME = EUR
| RE = EUR
| SM = EUR
| SR = EUR
| VA = EUR
| DE = EUR
| FR = EUR
| NL = EUR
| AT = EUR
| IT = EUR
| ES = EUR
| BE = EUR
| FI = EUR
| IE = EUR
| GR = EUR
| PT = EUR
| SK = EUR
| SI = EUR
| EE = EUR
| USD = USD
| EUR = EUR
| #default = USD
}}<noinclude>[[Category:Utility templates]]
Given an [[w:ISO 3166-1 alpha-2|ISO 3166-1]] two letter country code, returns the currency code ([[w:ISO 4217|ISO 4217]]) to use for fundraiser. If none set e.g. because local currency is not supported, defaults to USD.
</noinclude>