Template:Currency/doc


 * Description
 * This template is used to display consistent currency values throughout the wiki. It was primarily designed for use within other templates.


 * Related
 * Sub-template Currency/Type is used by for direct value to type icon replacement. It will return only the related currency icon, all numerical data is ignored.


 * Syntax


 * value: any style of currency input (ex: 123, BRL123, 123L, N$123) including non-cash currencies (RP, VC, LP).
 * icon=: prefix, suffix, icononly, off (default:prefix). Used to manipulate the placing and inclusion of the related currency icon.
 * formatnum=: yes, no (default:yes). Used to toggle number formatting (ex: 1234 -> 1,234).
 * Sample output

!width="400" align="left"|Syntax !width="100" align="left"|Output or or
 * US$1234
 * US$BRL$1234
 * US$BRL$1234
 * US$BRL$1234
 * US$BRL$1234
 * US$BRL$1234
 * US$BRL$1234
 * US$BRL$1234
 * US$BRL$1234
 * US$BRL$1234
 * US$BRL$1234
 * US$BRL$1234
 * null
 * US$35RP
 * }
 * US$35RP
 * }