Asphalt Wiki
Asphalt Wiki
[edit] Template-info.png Template documentation
Ambox content.png This template is used on 190+ pages.
To avoid any disruptions and to save server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. As a courtesy to other users, please discuss any changes at the talk page before implementing them.

This is the {{Axcredits-tokens}} template.

It displays prices that can be paid in either credits or tokens and renders the provided parameters according to the {{Axcredits}} and {{Axtokens}} templates. If no parameters are provided, only "Credits or Tokens" is displayed.


The car costs {{Axcredits-tokens|10,000|160}} to purchase.

Which renders this:

The car costs Credits 10,000 or Tokens 160 to purchase.


All parameters can be omitted. The first one represents credits, the second one tokens. If only one parameter is specified, the template behaves like {{Axcredits}} or {{Axtokens}}.

  • {{Axcredits-tokens|10,000|160}} produces: Credits 10,000 or Tokens 160
  • {{Axcredits-tokens}} produces: Credits or Tokens
  • {{Axcredits-tokens|10,000}} produces: Credits 10,000
    (same as {{Axcredits|10,000}})
  • {{Axcredits-tokens||160}} (with two | pipes) produces: Tokens 160
    (same as {{Axtokens|160}})

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:

{{Axcredits-tokens|1=2 + 2 = 4}}

Which renders this:

Credits 2 + 2 = 4

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

{{Axcredits-tokens|&#124;2&#124; < 3}}

Or like this:

{{Axcredits-tokens|{{!}}2{{!}} < 3}}

Which renders this:

Credits |2| < 3

See also

Asphalt 9 China:

Asphalt 9:

Asphalt Streetstorm:

Asphalt Xtreme:

  • Credits {{Axcredits}} for Credits
  • Tokens {{Axtokens}} for Tokens
  • Credits or Tokens {{Axcredits-tokens}} for Credits/Tokens combinations
  • Tickets {{Axtickets}} for Tickets
  • Blueprints {{Axbp}} for Blueprints (neutral)
  • Class-D Blueprints {{Axbpd}} for Class-D Blueprints
  • Class-C Blueprints {{Axbpc}} for Class-C Blueprints
  • Class-B Blueprints {{Axbpb}} for Class-B Blueprints
  • Class-A Blueprints {{Axbpa}} for Class-A Blueprints
  • Class-S Blueprints {{Axbps}} for Class-S Blueprints
  • Stars {{Axstars}} for Stars

Asphalt Nitro:

Asphalt Overdrive:

Asphalt 8:

Asphalt 7:


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