Jump to content

Template:South African rand/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template renders a South African currency value with a currency symbol, or optionally an ISO 4217 identifier (ZAR), linked to the South African rand article.

{{ZAR|123.45}} produces R 123.45 (with a non-breaking space between the R and the value)

{{ZAR}} produces R (simple currency article link)

{{ZAR|ISO=yes}} produces ZAR (simple currency article link use ISO 4217 identifier)

{{ZAR|123.45|USD=yes}} produces R 123.45 (US$8.35) (with a non-breaking space between the Z and showing the value in US$)

{{ZAR|123.45|iso=yes|usd=yes}} produces ZAR 123.45 (US$8.35) (with a non-breaking space between the ZAR and showing the value in US$)

 ToDo Import inflation functionality from {{Inflation}} and, for example, {{US$}}. Would require calculating a functional latest year intersection between available datasets.

See also

[edit]