FANDOM


This is a documentation subpage for Template:New currency.
It contains usage information, categories and other content that is not part of the original template page.
This documentation is automatically generated for all currency templates. It shows all different styles of your template and the effect of your changes.

Note: Clicking the preview button does not display your changes. You have to publish the page and click the purge link at the top of this documentation. This will force the server to clear the cache of the page, parse it again and show the changes.

This is the {{New currency/doc}} template.

It adds a leading currency icon () to text and renders it bold and in the currency specific color. If no text is provided, is displayed as a stand-alone icon.

Usage

{{New currency/doc|350}}

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 1=. For example:

{{New currency/doc|1=2 + 2 = 4}}

Which renders this:


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

{{New currency/doc|&#124;2&#124; < 3}}

Or like this:

{{New currency/doc|{{!}}2{{!}} < 3}}

Which renders this:


See also

Asphalt 7:

Asphalt 8:

Asphalt 9:

Asphalt 9 China:

Asphalt Nitro:

Asphalt Overdrive:

Asphalt Streetstorm:

Asphalt Xtreme:

General:

  • {{Currency}}, the metatemplate called by all currency templates


Community content is available under CC-BY-SA unless otherwise noted.