Template:CurrencyFormat: Difference between revisions

Content deleted Content added
change EUR to be language dependent, match banners
sort, use fallthrough, fix CA-fr, fix EG-en
Line 1:
{{#switch: {{{2}}}
| USD = ${{{1}}}
| CAD = {{#switch: {{{4}}}
| fr = ${{{1}}} $
| #default = ${{{1}}}
}}
| AUD = ${{{1}}}
| NZD = ${{{1}}}
| GBP = £{{{1}}}
| EUR = {{#switch: {{{4}}}
| en | cy | ga | mt = €{{{1}}}
| cynl | lv | tr = € {{{1}}}
| ga = €{{{1}}}
| mt = €{{{1}}}
| nl = € {{{1}}}
| lv = € {{{1}}}
| tr = € {{{1}}}
| #default = {{{1}}} €
}}
Line 14 ⟶ 16:
| ANG = ƒ{{{1}}}
| ARS = ${{{1}}}
| AUD = ${{{1}}}
| BDT = {{{1}}} ৳
| BGN = лв{{{1}}}
Line 22 ⟶ 23:
| BRL = R${{{1}}}
| BZD = BZ${{{1}}}
| CAD = {{#switch: {{{4}}}
| fr = ${{{1}}}
| #default = ${{{1}}}
}}
| CHF = Fr. {{{1}}}
| CLP = ${{{1}}}
Line 36 ⟶ 33:
| DZD = د.ج{{{1}}}
| EEK = {{{1}}} kr
| EGP = {{#switch: {{{34}}}
| en = E£{{{1}}}
| #default = {{{1}}} جنيه
}}
| FJD = ${{{1}}}
| GBP = £{{{1}}}
| GTQ = Q{{{1}}}
| HKD = ${{{1}}}
Line 47 ⟶ 43:
| HRK = {{{1}}} kn
| HUF = {{{1}}} Ft
| IDR = Rp {{{1}}}
| ILS = ₪ {{{1}}}
| INR = Rs. {{{1}}}
Line 70 ⟶ 66:
| NIO = C${{{1}}}
| NOK = {{{1}}} kr
| NZD = ${{{1}}}
| OMR = ر.ع{{{1}}}
| PAB = {{{1}}} B/.