Template:Currency/Format/doc
< Template:Currency | Format
Jump to navigation
Jump to search
Revision as of 09:40, 30 November 2015 by imported>SimonTrew (←Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> Fo...')
| This is a documentation subpage for Template:Currency/Format. It contains usage information, categories and other content that is not part of the original template page. |
For a given result of {{Currency/Position}}, formats a currency symbol and amount.
Examples
| Input | Result | scope="col" Expected | scope=col Pass |
|---|---|---|---|
{{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 |