Template:Currency/Position/doc
< Template:Currency | Position
Jump to navigation
Jump to search
Revision as of 09:27, 30 November 2015 by imported>SimonTrew (hoist)
![]() | This is a documentation subpage for Template:Currency/Position. It contains usage information, categories and other content that is not part of the original template page. |
For a given currency symbol as understood by {{Currency/Type}}
, returns a short string indicating the desired position and spacing required around the currency unit, as follows:
Use
Result | Intent |
---|---|
b | Symbol placed before amount, no space between them |
bs | Symbol placed before amount, no-break space ( ) between them |
a | Symbol placed after amount, no-space between them |
as | Symbol placed after amount, no-break space ( )between them |
This can be used as input to {{Currency/Format}}
to format a currency symbol and amount.