FANDOM


[edit] Template-info Template documentation

This is the {{A8BoxInfo}} template.

It displays box info percentages with a leading icon (A8BoxInfo, A8BoxInfoYellow or future info icons) and renders the content in the Asphalt 8 specific colors for common, uncommon, rare, epic and legendary items. If no parameters are specified, A8BoxInfo is displayed as a stand-alone icon.

Syntax

Five rarities (v5.0)

{{A8BoxInfo | i = | 8c = | 8u = | 8r = | 8e = | 8l = }}

Vehicle Kit rarities

{{A8BoxInfo | i = | 8extra = | 8prime = | 8superb = | 8festival = }}

Three rarities (pre v5.0)

{{A8BoxInfo | i = | c = | r = | l = }}

First generation Festival boxes

(for special events like 5th Anniversary or Halloween Festival which have different content displayed in their box infos):

{{A8BoxInfo | i = | bp = | pk = | tk = | cr = }}

Mixed

All parameters are optional and can be mixed, i. e. the following example is also valid:

{{A8BoxInfo | tk = | r = | 8e = }}

Parameters

The syntax does not require a specific parameter order, but the output will always be

Common → Uncommon → Rare → Epic → Legendary →
Extra → Prime → Superb → Festival →
Common (pre 5.0) → Rare (pre 5.0) → Legendary (pre 5.0) →
Blueprint Boxes → Pro Kit Boxes → Tokens → Credits.

Example:

  • {{A8BoxInfo|8l = 3|8c = 50|8r = 10|8u = 30|8e = 7}}
    A8BoxInfo Common: 50 % | Uncommon: 30 % | Rare: 10 % | Epic: 7 % | Legendary: 3 %.

i: Icon type

8c: Percentage of common items

8u: Percentage of uncommon items

  • {{A8BoxInfo|8u = 100}}A8BoxInfo Uncommon: 100 %

8r: Percentage of rare items

8e: Percentage of epic items

8l: Percentage of legendary items

  • {{A8BoxInfo|8l = 100}}A8BoxInfo Legendary: 100 %

8extra: Percentage of extra items

  • {{A8BoxInfo|8extra = 100}}A8BoxInfo Extra: 100 %

8prime: Percentage of prime items

  • {{A8BoxInfo|8prime = 100}}A8BoxInfo Prime: 100 %

8superb: Percentage of superb items

  • {{A8BoxInfo|8superb = 100}}A8BoxInfo Superb: 100 %

8festival: Percentage of festival items

  • {{A8BoxInfo|8festival = 100}}A8BoxInfo Festival: 100 %

c: Percentage of common items (pre 5.0)

r: Percentage of rare items (pre 5.0)

l: Percentage of legendary items (pre 5.0)

  • {{A8BoxInfo|l = 100}}A8BoxInfo Legendary: 100 %

bp: Percentage of Blueprint Boxes

  • {{A8BoxInfo|bp = 100}}A8BoxInfo Blueprint Boxes: 100 %

pk: Percentage of Pro Kit boxes

  • {{A8BoxInfo|pk = 100}}A8BoxInfo Pro Kit Boxes: 100 %

tk: Percentage of Tokens

cr: Percentage of Credits

  • {{A8BoxInfo|cr = 100}}A8BoxInfo Credits: 100 %

Display style

There is an additional parameter named style. When it's set to table, the template's output is rendered as part of a table row instead of a text line. Example:

{{A8BoxInfo|c = 52.23|r = 41.51|l = 6.26|style = table}}52.23||41.51||6.26

which renders like this when called from a Pro Kit Box template and combined with {{A8Box table header}}:

Name

Trials

C

Price

Price
/trial
Description

Com-
mon

Rare

Legen-
dary

A8Box Champion Kit Box Champion Kit Box 30 Grants 30 Cards, including one V8 Engine card guaranteed. At least 10 cards will be Rare or Legendary! 56.8738.534.6

See {{A8Box}} for further information.

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