Exchangerate/doc
From Halal Explorer
< Template:ExchangerateTo see and edit exchange rates go to Template:Exchangerate/list and click on the link for the currency combination
Exchange rate templates used in currency exchange info boxes
To show exchange rate using {{Exchangerate|1|USD|EUR}} will give you Expression error: Unexpected < operator.–Expression error: Unexpected < operator., meaning $1 is this amount in €.
To display when exchange rate was last updated use {{Exchangerate/date|USD|EUR}} . This will give you - 12 August 2019.
To display exchange rate box use {{exchangerate/box| currencyCode=EUR| USD=1}}
To display currency name use {{Exchangerate/name|USD}} . This will give you - US dollar.
To display currency symbol use {{Exchangerate/symbol|USD}} . This will give you - $.
Individual currency display
Some currencies have templates to display specific prices
To display a monetary value and see in other currencies on mouseover
- {{USD|2}} will give you : === Currencies ===
1 USD$ | 3.75 SR | 4.67 M$ | 0.92 Euro | 26.05 Turkish Lira | 35.80 THB | 14,990 IDR
- {{EUR|2}} will give you : <abbr title=" €2 ≈ US$Expression error: Unexpected < operator.–Expression error: Unexpected < operator., JP¥Expression error: Unexpected < operator.–Expression error: Unexpected < operator., £Expression error: Unexpected < operator.–Expression error: Unexpected < operator.">€2
- {{ZAR|100}} will give you : <abbr title=" R100 ≈ US$Expression error: Unexpected < operator.–Expression error: Unexpected < operator., JP¥Expression error: Unexpected < operator.–Expression error: Unexpected < operator., £Expression error: Unexpected < operator.–Expression error: Unexpected < operator., €Expression error: Unexpected < operator.–Expression error: Unexpected < operator.">R100
To display symbol of currencies when no exchange rate available
- {{BDT|2}} will give you : ৳2