Πρότυπο:Exchange rates
Εμφάνιση
This documentation is transcluded from Πρότυπο:Exchange rates/τεκμηρίωση. (edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
This template displays currency exchange rates for one or more currencies as shown in the example below. It should only be used on country articles, and should be placed in the "Buy" section of those articles.
Template parameters
[επεξεργασία]To use this template, invoke it with the following arguments:
- currency (Required)
- The name of the currency being converted. Example: "Belizean dollars".
- currencyCode or currencyCodeAfter (Required)
- The currency symbol for the currency being converted. Example: "BZ$".
- date (Required)
- The date on which the currency conversion values were obtained. Example: "January 2017".
- source (Required)
- The source where the currency conversion information was obtained from. Example: "[http://www.xe.com/currency/bzd-belizean-dollar XE.com]".
- USD (Optional)
- The conversion rate for one US dollar into the currency being converted. Example: "2".
- EUR (Optional)
- The conversion rate for one Euro into the currency being converted. Example: "2.5".
- GBP (Optional)
- The conversion rate for one British pound into the currency being converted. Example: "2.1".
- AUD (Optional)
- The conversion rate for one Australian dollar into the currency being converted. Example: "1.6".
- CAD (Optional)
- The conversion rate for one Canadian dollar into the currency being converted. Example: "1.5".
- CNY (Optional)
- The conversion rate for one Chinese yuan (reminbi) into the currency being converted. Example: "0.15".
- INR (Optional)
- The conversion rate for one Indian rupee into the currency being converted. Example: "0.15".
- JPY (Optional)
- The conversion rate for one hundred Japanese Yen into the currency being converted. Example: "1.70".
- ZAR (Optional)
- The conversion rate for one South African rand into the currency being converted. Example: "0.15".
Examples
[επεξεργασία]{{exchange rates | currency=Belizean dollars | currencyCode=BZ$ | date=January 2017 | USD=2 (fixed rate) | EUR=2.5 | GBP=2.1 | AUD=1.6 | CAD=1.5 | JPY=1.74 | ZAR=0.15 | source=[http://www.xe.com/currency/bzd-belizean-dollar XE.com] }} {{exchange rates/sandbox | currency=Croatian kuna | currencyCode= | currencyCodeAfter= kn | date=January 2018 | USD=6.2 | EUR=7.5 | GBP=8.4 | source=[http://www.xe.com/currency/hrk-croatian-kuna XE.com] }}
...which produces:
Ισοτιμία συναλλάγματος για Belizean dollars January 2017:
Οι ισοτιμίες μεταβάλλονται. Οι τρέχων ισοτιμίες για αυτά και άλλα νομίσματα είναι διαθέσιμες στο XE.com |
Notes for template use
[επεξεργασία]- It is easy to update this template: click on the XE.Com link in the template to go to a web page with current rates for the currency.
- Wikivoyage does not endorse XE.com—you can use another source for rates if you prefer, just be sure to identify your source in the template.
- When updating the rates shown in the template, be sure to change the "as of" date too.
- To avoid clutter, only major currencies should normally be used: US dollars, euros and British pounds.
- In some cases, it may be appropriate to add other currencies where a country may receive a lot of visitors from nearby countries, e.g.,
- Canadian tourists in Mexico and the Caribbean,
- Chinese in East Asia,
- Australians in Southeast Asia and New Zealand,
- Indians in South Asia, and
- South Africans in southern Africa.
See also
[επεξεργασία]{{exchange rate euros}}
– Shared template for Eurozone currency conversions.{{exchange rate CFA}}
– Shared template for West and Central African CFA franc currency conversions.{{exchange rate EC}}
– Shared template for East Caribbean dollar currency conversions.{{exchange rate US}}
– Shared template for US dollar currency conversions.{{Exchange rate GBP}}
– Shared template for British pound currency conversions.{{Exchange rate NZD}}
– Shared template for New Zealand dollar currency conversions (for various Pacific islands)