Template:Exchange rate/doc

Usage
This template only requires the currency code. Place it in the first parameter, as in the following example:

which produces

Additional currencies
You may also specify up to three additional foreign currencies.

produces

Alternative layouts
If you don't like navbox style you can specify style = h3 or style = h2 which produces something more like standard text. Using header = h3 or header = h2 also have the same effect.

produces

The style parameter overrides the header parameter, but not vice versa. Thus, if the template is called with header = h3 but style = navbox, it will display as a navbox. If it is called with header = h3 and no specification for style, on the other hand, header will be used and it will show up as text instead of as a nabvox.

You may specify header = h3 or header = h2 so that the mock header looks like the level 3 header or level 2 header, respectively. By default, the template displays like a navbox. This template currently only supports an overridden mock headers 2 and 3, not level 4, 5, or 6.

produces

Sites managed

 * Google finance : live exchange rates with history since mid 2003
 * Yahoo! Finance : currency converter with pocket guide
 * XE : currency converter and 10 years history charts
 * OANDA : currency converter, pocket guide, live exchange rates, with history since 1990

Caveat

 * While "Current XYZ exchange rates" maintains the appearance of a section heading, it is not. This was done to avoid having a section-edit link on the right so that people won't accidentally change the template. However, the side effect of that is the font size won't change in IE (at least IE 6) when enlarging or shrinking the text size.

Choice of currencies
Currently, the list include 9 default currencies. They are the top 9 most traded currencies in the world, according to Bank for International Settlements. Most of them are also part of Bloomberg's benchmark currencies list. They also represent top 8 official foreign exchange reserve in the world according to International Monetary Fund.

Template data
{	"params": { "1": {			"label": "Currency code", "description": "The currency code to be used in this template.", "type": "string", "required": true },		"2": {			"label": "Additional currency", "description": "Additional currency that will have links to exchange rate, such as a currency of a neighboring country that are not among the default ones.", "type": "string" },		"3": {			"label": "Second additional currency", "description": "Additional currency that will have links to exchange rate, such as a currency of a neighboring country that are not among the default ones.", "type": "string" },		"4": {			"label": "Third additional currency", "description": "Additional currency that will have links to exchange rate, such as a currency of a neighboring country that are not among the default ones.", "type": "string" },		"style": { "aliases": [ "layout" ],			"label": "Layout", "description": "Specify an alternative layout to use instead of a navbox.", "type": "string" },		"header": { "label": "Header style", "description": "Specify a header level to use. An alternative layout will be automatically used unless \"Layout\" parameter is set to navbox.", "type": "string" },		"note": { "label": "Note", "description": "Add an additional note at the bottom of this template.", "type": "unknown" }	},	"description": "Display a table link to exchange rates between a currency to one of the top 9 most traded currencies in the world, and, optionally, three other currencies.", "paramOrder": [ "1",		"2",		"3",		"4",		"style", "header", "note" ],	"format": "inline" }