Template:Exchange rate CFA/doc
This is a documentation subpage for Template:Exchange rate CFA. It contains usage information, categories and other content that is not part of the original template page. |
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
editTo 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
editTo 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.