Difference between revisions of "Template:Currency/Format/doc"
< Template:Currency | Format
Jump to navigation
Jump to search
imported>SimonTrew (→top: repeat) |
imported>SimonTrew (→Examples: Examples with Type and Position calls) |
||
Line 21: | Line 21: | ||
|- | |- | ||
| {{tlc|Currency/Format|||1234.56}} || {{Currency/Format|||1234.56}} | | {{tlc|Currency/Format|||1234.56}} || {{Currency/Format|||1234.56}} | ||
+ | |- | ||
+ | | {{tlc|Currency/Format|{{tlc|Currency/Position|EUR}}|{{tlc|Currency/Type|EUR}}|1234.56}} || {{Currency/Format|{{Currency/Position|EUR}}|{{Currency/Type|EUR}}|1234.56}} | ||
+ | |- | ||
+ | | {{tlc|Currency/Format|{{tlc|Currency/Position|HUF}}|{{tlx|Currency/Type|HUF}}|1234.56}} || {{Currency/Format|{{Currency/Position|HUF}}|{{Currency/Type|HUF}}|1234.56}} | ||
|} | |} | ||
− | |||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
Revision as of 10:01, 30 November 2015
![]() | 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 |
---|---|
{{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| |
€1234.56 |
{{Currency/Format| |
1234.56 Ft |