Template:Exchange rate CFA
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 shows exchange rates for the CFA franc (ISO currency codes XAF and XOF), which is used in 14 West African and Central African countries. It should only be used in country articles for countries that use the CFA franc as their national currency, and should be placed in the "Buy" section of the article.
Template parameters edit
To use this template, invoke it with the following arguments:
- currencies (Optional)
- The currency codes to display. If not specified then this parameter defaults to "USD,EUR,GBP".
Example edit
To utilize this template with the default currency conversions:
{{exchange rate CFA}}
...which produces:
Exchange rates for CFA francs As of January 2024:
Exchange rates fluctuate. Current rates for these and other currencies are available from XE.com |
To utilize this template with custom currency conversions:
{{exchange rate CFA|currencies=USD,EUR,GBP,CAD,JPY,ZAR}}
...which produces:
Exchange rates for CFA francs As of January 2024:
Exchange rates fluctuate. Current rates for these and other currencies are available from XE.com |
Notes for template use edit
- The link to XE.com provides current exchange rates to make it easier to update the rates shown in the template - be sure to change the "as of" date too.
- To avoid clutter, only major currencies should be used.
- Exchange rates for other currencies than may be relevant to individual countries that use the CFA franc can be added to the text of the "Buy" section of the article.
See also edit
- {{exchange rates}} - Useful for displaying other currency conversions.