Template:CurrencyCode: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
update TM (Turkmenistan) to TMT |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch: {{{1}}} |
{{#switch: {{uc:{{{1}}}}} |
||
| |
| US = USD |
||
| |
| CA = CAD |
||
| |
| 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 |
|||
| SV = USD |
|||
| AE = AED |
| AE = AED |
||
| |
| AF = USD |
||
| |
| AG = XCD |
||
| |
| AN = ANG |
||
| |
| AO = USD |
||
| |
| AR = ARS |
||
| |
| AS = USD |
||
| AW = USD |
|||
| BB = BBD |
|||
| BD = BDT |
| BD = BDT |
||
| |
| BF = USD |
||
| BG = BGN |
|||
| BH = BHD |
| BH = BHD |
||
| BI = USD |
|||
| BJ = USD |
|||
| BM = BMD |
| BM = BMD |
||
| BN = USD |
|||
| BO = BOB |
| BO = BOB |
||
| BR = BRL |
| BR = BRL |
||
| BZ = BZD |
|||
| CA = CAD |
|||
| LI = CHF |
|||
| CH = CHF |
|||
| CL = CLP |
|||
| CN = CNY |
|||
| CO = COP |
|||
| CR = CRC |
|||
| CZ = CZK |
|||
| DK = DKK |
|||
| DZ = DZD |
|||
| EG = EGP |
|||
| MW = GBP |
|||
| SD = GBP |
|||
| GB = GBP |
|||
| GT = GTQ |
|||
| HK = HKD |
|||
| HN = HNL |
|||
| HR = HRK |
|||
| HU = HUF |
|||
| ID = IDR |
|||
| IL = ILS |
|||
| NP = INR |
|||
| IN = INR |
|||
| JM = JMD |
|||
| JO = JOD |
|||
| JP = JPY |
|||
| KE = KES |
|||
| KR = KRW |
|||
| KW = KWD |
|||
| KZ = KZT |
|||
| LB = LBP |
|||
| LK = LKR |
|||
| LT = LTL |
|||
| LV = LVL |
|||
| MA = MAD |
|||
| MO = USD |
|||
| MX = MXN |
|||
| MY = MYR |
|||
| NI = NIO |
|||
| NO = NOK |
|||
| NZ = NZD |
|||
| OM = OMR |
|||
| PA = PAB |
|||
| PE = PEN |
|||
| PH = PHP |
|||
| PK = PKR |
|||
| PL = PLN |
|||
| PY = PYG |
|||
| QA = QAR |
|||
| RO = RON |
|||
| TM = RUB |
|||
| UZ = RUB |
|||
| RU = RUB |
|||
| SA = SAR |
|||
| SE = SEK |
|||
| SG = SGD |
|||
| TH = THB |
|||
| TN = TND |
|||
| TR = TRY |
|||
| TT = TTD |
|||
| TW = TWD |
|||
| UA = UAH |
|||
| UY = UYU |
|||
| VN = VND |
|||
| ZA = ZAR |
|||
| PR = USD |
|||
| AF = USD |
|||
| AS = USD |
|||
| AO = USD |
|||
| AG = USD |
|||
| BS = USD |
| BS = USD |
||
| BB = USD |
|||
| BW = USD |
| BW = USD |
||
| |
| BZ = BZD |
||
| |
| CF = USD |
||
| KH = USD |
|||
| KM = USD |
|||
| CG = USD |
| CG = USD |
||
| |
| CH = CHF |
||
| CK = NZD |
|||
| CL = CLP |
|||
| CM = USD |
|||
| CN = CNY |
|||
| CO = COP |
|||
| CR = CRC |
|||
| CV = USD |
|||
| CZ = CZK |
|||
| DJ = USD |
| DJ = USD |
||
| |
| DK = DKK |
||
| DM = XCD |
|||
| DO = DOP |
|||
| DZ = DZD |
|||
| EC = USD |
|||
| EG = EGP |
|||
| ER = USD |
| ER = USD |
||
| ET = USD |
| ET = USD |
||
| FJ = |
| FJ = FJD |
||
| |
| FM = USD |
||
| FO = DKK |
|||
| GA = USD |
|||
| GD = XCD |
|||
| GE = USD |
| GE = USD |
||
| |
| GL = DKK |
||
| GM = USD |
|||
| GQ = USD |
| GQ = USD |
||
| GT = GTQ |
|||
| GU = USD |
| GU = USD |
||
| GW = USD |
| GW = USD |
||
| |
| HK = HKD |
||
| HN = HNL |
|||
| HU = HUF |
|||
| ID = IDR |
|||
| IL = ILS |
|||
| IN = INR |
|||
| IQ = USD |
| IQ = USD |
||
| IS = USD |
|||
| JM = JMD |
|||
| JO = JOD |
|||
| JP = JPY |
|||
| KE = KES |
|||
| KH = USD |
|||
| KI = AUD |
|||
| KM = USD |
|||
| KN = XCD |
|||
| KP = USD |
| KP = USD |
||
| KR = KRW |
|||
| KW = USD |
|||
| KZ = KZT |
|||
| LB = LBP |
|||
| LC = XCD |
|||
| LI = CHF |
|||
| LK = LKR |
|||
| LR = USD |
| LR = USD |
||
| |
| MA = MAD |
||
| MD = USD |
|||
| MH = USD |
| MH = USD |
||
| MK = MKD |
|||
| ML = USD |
|||
| MO = USD |
|||
| MP = USD |
|||
| MR = USD |
| MR = USD |
||
| |
| MU = USD |
||
| |
| MV = MVR |
||
| MW = GBP |
|||
| MX = MXN |
|||
| MY = MYR |
|||
| MZ = USD |
| MZ = USD |
||
| NA = USD |
| NA = USD |
||
| NE = USD |
|||
| NG = USD |
| NG = USD |
||
| |
| NI = NIO |
||
| |
| NO = NOK |
||
| NP = INR |
|||
| NR = AUD |
|||
| OM = OMR |
|||
| PA = PAB |
|||
| PE = PEN |
|||
| PG = AUD |
|||
| PH = PHP |
|||
| PK = PKR |
|||
| PL = PLN |
|||
| PR = USD |
|||
| PS = USD |
| PS = USD |
||
| |
| PW = USD |
||
| |
| PY = PYG |
||
| QA = QAR |
|||
| RO = RON |
|||
| RU = RUB |
|||
| SA = SAR |
|||
| SB = USD |
| SB = USD |
||
| |
| SC = USD |
||
| |
| SD = GBP |
||
| SE = SEK |
|||
| SG = SGD |
|||
| SN = USD |
|||
| SV = USD |
|||
| TD = USD |
|||
| TG = USD |
|||
| TH = THB |
|||
| TM = TMT |
|||
| TN = USD |
|||
| TO = USD |
| TO = USD |
||
| TP = USD |
|||
| TR = TRY |
|||
| TT = TTD |
|||
| TW = TWD |
|||
| TZ = USD |
|||
| UA = UAH |
|||
| UY = UYU |
|||
| UZ = UZS |
|||
| VC = USD |
|||
| VE = USD |
| VE = USD |
||
| VI = USD |
| VI = USD |
||
| VN = USD |
|||
| VU = AUD |
|||
| YE = USD |
| YE = USD |
||
| ZA = ZAR |
|||
| ZM = USD |
| ZM = USD |
||
| ZW = USD |
| ZW = USD |
||
| US = USD |
|||
| EC = USD |
|||
| RS = EUR |
|||
| AL = EUR |
|||
| AD = EUR |
|||
| CY = EUR |
|||
| LU = EUR |
|||
| MT = EUR |
|||
| GF = EUR |
|||
| AM = EUR |
|||
| AW = EUR |
|||
| AZ = EUR |
|||
| BY = EUR |
|||
| BJ = EUR |
|||
| BA = EUR |
|||
| BF = EUR |
|||
| CM = EUR |
|||
| CV = USD |
|||
| CF = EUR |
|||
| TD = EUR |
|||
| CI = EUR |
|||
| FO = EUR |
|||
| GA = EUR |
|||
| GL = EUR |
|||
| LY = EUR |
|||
| MG = EUR |
|||
| ML = EUR |
|||
| MC = EUR |
|||
| ME = EUR |
|||
| NE = EUR |
|||
| RE = EUR |
|||
| SM = EUR |
|||
| SN = EUR |
|||
| SC = EUR |
|||
| SR = EUR |
|||
| TG = 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 |
| USD = USD |
||
| EUR = EUR |
| EUR = EUR |
||
| #default = USD |
| #default = USD |
||
}}<noinclude> |
}}<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. |
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> |
</noinclude> |
Latest revision as of 20:49, 8 February 2023
USD Given an ISO 3166-1 two letter country code, returns the currency code (ISO 4217) to use for fundraiser. If none set e.g. because local currency is not supported, defaults to USD.