Template:ZAR/doc

From MOASSpedia
< Template:ZAR
Revision as of 20:36, 29 April 2020 by Wikipedia>Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

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.54) (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.54) (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