پرش به محتوا

الگو:Exchange Rate/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

Instruction[ویرایش]

It is very easy to use this template. You will know right away when you see this example:

{{Exchange Rate|TWD}}

which produces

Additional currencies[ویرایش]

You may also specify up to 3 additional foreign currencies.

{{Exchange Rate|SGD|MYR|CNY|IDR}}

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.

{{Exchange Rate|EUR|style=h3}}

produces

معادل کنونی EUR

از یاهو! فاینانس: AUD CAD CHF GBP HKD JPY USD
از XE.com: AUD CAD CHF GBP HKD JPY USD
از OANDA.com: AUD CAD CHF GBP HKD JPY USD

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.

{{Exchange Rate|EUR|header = h3}}

produces

معادل کنونی EUR

از یاهو! فاینانس: AUD CAD CHF GBP HKD JPY USD
از XE.com: AUD CAD CHF GBP HKD JPY USD
از OANDA.com: AUD CAD CHF GBP HKD JPY USD

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 charts
  • Oanda : currency converter and 5 years charts
  • fxtop : exchange rates from central banks, daily historical rates and charts since 1953, currency converter (10 currencies at the same time), cross exchange rates and equivalency tab

Caveat[ویرایش]

  • "Current XYZ exchange rates" looks like a section title, but it's not. This was done to "remove" the edit buttons 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 IE6) if I enlarge or shrink my font size.

Choice of currencies[ویرایش]

Currently, the 8 default currencies listed here are Bloomberg's benchmark currencies [۱].

See also[ویرایش]