Difference between revisions of "Template:Currency/Format/doc"

From blackwiki
Jump to navigation Jump to search
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...')
 
imported>SimonTrew
(tidy table)
Line 8: Line 8:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! scope="col" | Input !! scope="col" | Result !! scope="col" Expected !! scope=col Pass
+
! scope="col" | Input !! scope="col" | Result
 
|-
 
|-
| {{tlc|Currency/Format|b|1234.56|€}} || {{Currency/Format|b|€|1234.56|}} ||
+
| {{tlc|Currency/Format|b|1234.56|€}} || {{Currency/Format|b|€|1234.56|}}
 
|-
 
|-
 
| {{tlc|Currency/Format|bs|1234.56|EUR}} || {{Currency/Format|bs|EUR|1234.56}}
 
| {{tlc|Currency/Format|bs|1234.56|EUR}} || {{Currency/Format|bs|EUR|1234.56}}

Revision as of 09:51, 30 November 2015

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