Template:Currency/doc

This is the Currency template.

It adds a leading credit icon (US$) to text and renders it bold yellow. If no text is provided, US$ is displayed as a stand-alone icon.

Usage
Upgrades cost US$1,664,550.

Which renders this:

Upgrades cost US$1,664,550.

Handling interpreted characters
Templates have problems to handle parameter data that contains equal signs " " or vertical bars " ".

For text that includes an equal sign "=", precede the text with. For example:

Which renders this:
 * US$2 + 2 = 4

For text that includes a vertical bar "|", escape the bar(s) with  or. For instance like this:

Or like this:

Which renders this:
 * USUS{{Currency|&#124;2&#124; < 3}}#124;2&#124; < 3#124;2&#124; < 3