Template:CurrencyCode: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
m Pcoombe moved page Template:2012FR/Switch/Currency/Code to Template:CurrencyCode |
convert country to uppercase in case it isn't for some reason |
||
Line 1: | Line 1: | ||
{{#switch: {{{1}}} |
{{#switch: {{uc:{{{1}}}}} |
||
| US = USD |
| US = USD |
||
| CA = CAD |
| CA = CAD |
Revision as of 16:45, 16 May 2019
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.