Template:Currency/Format/doc

From blackwiki
< Template:Currency‎ | Format
Revision as of 10:03, 30 November 2015 by imported>SimonTrew (tlx not tlx)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

For a given result of {{Currency/Position}}, formats a currency symbol and amount. Pass the same value for the first parameter to {{Currency/Type}} to create a link to documentation on a given currency.

Examples

Input Result
{{Currency/Format|b|1234.56|€}} €1234.56
{{Currency/Format|bs|1234.56|EUR}} EUR 1234.56
{{Currency/Format|a|€|1234.56}} 1234.56€
{{Currency/Format|as|EUR|1234.56}} 1234.56 EUR
{{Currency/Format||EUR|1234.56}} EUR1234.56
{{Currency/Format|||1234.56}} 1234.56
{{Currency/Format|{{Currency/Position|EUR}}|{{Currency/Type|EUR}}|1234.56}} 1234.56
{{Currency/Format|{{Currency/Position|HUF}}|{{Currency/Type|HUF}}|1234.56}} 1234.56 Ft