Template:A8box/doc

This is the A8Box template.

It contains data and image paths of Asphalt 8 Pro Kit Boxes. It can be used to display

Furthermore, A8Box can display a box in three different styles:
 * (+) "fixed" boxes (for example the Super Racer Kit Box) with all data such as description, box info percentages, and price,
 * (+) "half-custom" boxes (like championship and R&D boxes) that have the same names and images, but the content of which can vary from event to event,
 * (+) "custom" boxes where all parameters including image path can be freely specified.


 * (-) just a box image, for example in an article where just a picture is needed without additional data,
 * (+) as a compact data block that can be used on championship and R&D pages,
 * (-) as a table row so that box properties can be compared and sorted in general overviews and lists.

Please note that box data can change if bla. Bla reflects the current state bla. If you want a box to be constant, choose the custom variant, so the displayed data will not change if the data in this template is updated.

+++ Do we want this? Things like for  +++ Users may prefer the shorter "first-level" templates listed in the See also section below. +++

Syntax
The complete syntax is as follows:

Custom

 * Required. If the box name is omitted, the template displays nothing.
 * Text. Any of the following box names. Not case sensitive, i. e. bla instead of Bla is also valid. Template calls with an unknown box name will be displayed +++bla.
 * Super Racer Kit Box
 * Super Racer Kit Box
 * Super Racer Kit Box
 * Super Racer Kit Box

Adding future currencies
Currency can easily be expanded for currencies of other Asphalt versions or future events. For example, if an Asphalt 8 event introduces the currency "Newcoins", you can add it as follows:

Create a new color definition
Go to the Color template and add a new color definition with the same name as your new currency (a8newcoins in our example) by following the instructions in the "Adding new colors" section.

Upload a new currency icon
The filename should ideally be A8newcoins.png or something similar.

Edits in this template
Copy and insert the following line below the  comment in the template: INSERT NEW CURRENCIES BELOW THIS LINE --> | a8newcoins =


 * Name of the currency in lower case. Any upper case combinations will be detected automatically.
 * Filename of the currency icon you have uploaded.
 * Height of the currency icon. Can be left unchanged in most cases.
 * Make sure to edit only the digits between x and px.
 * Caption of the icon that is displayed if the mouse pointer moves over it.
 * Vertical alignment. Can be left unchanged in most cases.
 * Sometimes,  fits better.
 * Pagename the icon links to if clicked.
 * Usually, currencies other than Credits and Tokens don't have their own pages. In this case, the whole parameter can be omitted.

New first-level template
To make it easier for others to use the new currency, a new first-level template named "A8NewCoins" can be created by copying the following line into a new template:

US$

Users can now type  which behaves exactly like  or other currency templates.

Parameters:


 * Name of the currency. Everything else has to be left unchanged.